[PATCH] D62180: [AArch64] Armv8.2-A crypto extensions

Sjoerd Meijer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 21 02:56:53 PDT 2019


SjoerdMeijer created this revision.
SjoerdMeijer added reviewers: dmgreen, c-rhodes, rovka, samparker.
Herald added subscribers: kristof.beyls, javed.absar.

They should default to false, like all the other extensions.


https://reviews.llvm.org/D62180

Files:
  lib/Target/AArch64/AArch64Subtarget.h


Index: lib/Target/AArch64/AArch64Subtarget.h
===================================================================
--- lib/Target/AArch64/AArch64Subtarget.h
+++ lib/Target/AArch64/AArch64Subtarget.h
@@ -93,6 +93,12 @@
   bool HasPAN_RWV = false;
   bool HasCCPP = false;
 
+  // Armv8.2 Crypto extensions
+  bool HasSM4 = false;
+  bool HasSHA3 = false;
+  bool HasSHA2 = false;
+  bool HasAES = false;
+
   // ARMv8.3 extensions
   bool HasPA = false;
   bool HasJS = false;
@@ -110,12 +116,6 @@
   bool HasTLB_RMI = false;
   bool HasFMI = false;
   bool HasRCPC_IMMO = false;
-  // ARMv8.4 Crypto extensions
-  bool HasSM4 = true;
-  bool HasSHA3 = true;
-
-  bool HasSHA2 = true;
-  bool HasAES = true;
 
   bool HasLSLFast = false;
   bool HasSVE = false;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62180.200444.patch
Type: text/x-patch
Size: 759 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190521/5374b597/attachment.bin>


More information about the llvm-commits mailing list