summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>2010-07-20 00:11:50 +0000
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>2010-07-20 00:11:50 +0000
commit7a2b701ef6a294170fb92a535d52bc533778acff (patch)
tree95151e63570859db19a2287a6e0c0a902e66302a /test
parent43945d99de0df592383e6e0a42694418c78dbdda (diff)
downloadllvm-7a2b701ef6a294170fb92a535d52bc533778acff.tar.gz
llvm-7a2b701ef6a294170fb92a535d52bc533778acff.tar.bz2
llvm-7a2b701ef6a294170fb92a535d52bc533778acff.tar.xz
x86_32 tests for vbroadcast
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108789 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/MC/AsmParser/X86/x86_32-encoding.s16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/MC/AsmParser/X86/x86_32-encoding.s b/test/MC/AsmParser/X86/x86_32-encoding.s
index 0423e67c4a..dec6078284 100644
--- a/test/MC/AsmParser/X86/x86_32-encoding.s
+++ b/test/MC/AsmParser/X86/x86_32-encoding.s
@@ -12998,3 +12998,19 @@
// CHECK: encoding: [0xc4,0xe3,0x55,0x40,0x08,0x03]
vdpps $3, (%eax), %ymm5, %ymm1
+// CHECK: vbroadcastf128 (%eax), %ymm2
+// CHECK: encoding: [0xc4,0xe2,0x7d,0x1a,0x10]
+ vbroadcastf128 (%eax), %ymm2
+
+// CHECK: vbroadcastsd (%eax), %ymm2
+// CHECK: encoding: [0xc4,0xe2,0x7d,0x19,0x10]
+ vbroadcastsd (%eax), %ymm2
+
+// CHECK: vbroadcastss (%eax), %xmm2
+// CHECK: encoding: [0xc4,0xe2,0x79,0x18,0x10]
+ vbroadcastss (%eax), %xmm2
+
+// CHECK: vbroadcastss (%eax), %ymm2
+// CHECK: encoding: [0xc4,0xe2,0x7d,0x18,0x10]
+ vbroadcastss (%eax), %ymm2
+