[PATCH] Extend sys::getHostCPUFeatures to work on AArch64 platforms

Tim Northover t.p.northover at gmail.com
Thu May 22 03:57:31 PDT 2014


Hi Bradley,

Just one comment here:

================
Comment at: lib/Support/Host.cpp:719-723
@@ +718,7 @@
+#if defined(__aarch64__)
+  // Keep track of which crypto features we have seen
+  // 0001 = aes
+  // 0010 = pmull
+  // 0100 = sha1
+  // 1000 = sha2
+  uint32_t crypto = 0;
----------------
Could we have a local enum for this?

http://reviews.llvm.org/D3869






More information about the llvm-commits mailing list