================
@@ -0,0 +1,109 @@
+// RUN: llvm-mc -triple x86_64 -x86-asm-syntax=intel -output-asm-variant=1 
-mattr=+acev1 --show-encoding %s | FileCheck %s
+
+// CHECK: bsrinit bsr0
+// CHECK: encoding: [0xc4,0xe2,0xfb,0x49,0xc0]
+          bsrinit bsr0
+
+// CHECK: bsrmovf bsr0, zmm1, zmm2
+// CHECK: encoding: [0x62,0xf6,0xf4,0x48,0x95,0xc2]
+          bsrmovf bsr0, zmm1, zmm2
+
+// CHECK: bsrmovf bsr0, zmm1, zmmword ptr [rax]
+// CHECK: encoding: [0x62,0xf6,0xf4,0x48,0x95,0x00]
+          bsrmovf bsr0, zmm1, zmmword ptr [rax]
+
+// CHECK: bsrmovf bsr0, zmm1, zmmword ptr [rbp + 8*r14 + 268435456]
----------------
mahesh-attarde wrote:

 AT&T and Intel files are not in sync. 

https://github.com/llvm/llvm-project/pull/208408
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to