From f9bcaad76d56bf4cc901ff1c5ed51aba97d6d786 Mon Sep 17 00:00:00 2001 From: Bruno Cardoso Lopes Date: Mon, 12 Jul 2010 20:06:32 +0000 Subject: Add AVX 256-bit MOVMSK forms llvm-svn: 108184 --- llvm/test/MC/AsmParser/X86/x86_32-encoding.s | 7 +++++++ llvm/test/MC/AsmParser/X86/x86_64-encoding.s | 8 ++++++++ 2 files changed, 15 insertions(+) (limited to 'llvm/test') diff --git a/llvm/test/MC/AsmParser/X86/x86_32-encoding.s b/llvm/test/MC/AsmParser/X86/x86_32-encoding.s index a9f63a44afa..e192dd09035 100644 --- a/llvm/test/MC/AsmParser/X86/x86_32-encoding.s +++ b/llvm/test/MC/AsmParser/X86/x86_32-encoding.s @@ -12398,4 +12398,11 @@ // CHECK: encoding: [0xc5,0xfc,0x2b,0x08] vmovntps %ymm1, (%eax) +// CHECK: vmovmskps %xmm2, %eax +// CHECK: encoding: [0xc5,0xf8,0x50,0xc2] + vmovmskps %xmm2, %eax + +// CHECK: vmovmskpd %xmm2, %eax +// CHECK: encoding: [0xc5,0xf9,0x50,0xc2] + vmovmskpd %xmm2, %eax diff --git a/llvm/test/MC/AsmParser/X86/x86_64-encoding.s b/llvm/test/MC/AsmParser/X86/x86_64-encoding.s index 2b8f78d9d0a..fa51b6562ed 100644 --- a/llvm/test/MC/AsmParser/X86/x86_64-encoding.s +++ b/llvm/test/MC/AsmParser/X86/x86_64-encoding.s @@ -2472,3 +2472,11 @@ pshufb CPI1_0(%rip), %xmm1 // CHECK: encoding: [0xc5,0x7c,0x2b,0x18] vmovntps %ymm11, (%rax) +// CHECK: vmovmskps %xmm12, %eax +// CHECK: encoding: [0xc4,0xc1,0x78,0x50,0xc4] + vmovmskps %xmm12, %eax + +// CHECK: vmovmskpd %xmm12, %eax +// CHECK: encoding: [0xc4,0xc1,0x79,0x50,0xc4] + vmovmskpd %xmm12, %eax + -- cgit v1.2.3