summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/AsmParser/X86/x86_32-encoding.s
diff options
context:
space:
mode:
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>2010-07-01 17:08:18 +0000
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>2010-07-01 17:08:18 +0000
commit886ee33a38715cc665ff18283cee0f72b517764c (patch)
tree80c1302a17892100ebc1d21e18940a4a92779b4b /llvm/test/MC/AsmParser/X86/x86_32-encoding.s
parenta5d24f6683fa716f8220e4f2d507a369c1847b4d (diff)
downloadbcm5719-llvm-886ee33a38715cc665ff18283cee0f72b517764c.tar.gz
bcm5719-llvm-886ee33a38715cc665ff18283cee0f72b517764c.zip
Add AVX SSE3 packed addsub instructions
llvm-svn: 107404
Diffstat (limited to 'llvm/test/MC/AsmParser/X86/x86_32-encoding.s')
-rw-r--r--llvm/test/MC/AsmParser/X86/x86_32-encoding.s16
1 files changed, 16 insertions, 0 deletions
diff --git a/llvm/test/MC/AsmParser/X86/x86_32-encoding.s b/llvm/test/MC/AsmParser/X86/x86_32-encoding.s
index aeb8a033a8b..9a797a0d792 100644
--- a/llvm/test/MC/AsmParser/X86/x86_32-encoding.s
+++ b/llvm/test/MC/AsmParser/X86/x86_32-encoding.s
@@ -11566,3 +11566,19 @@
// CHECK: encoding: [0xc5,0xfb,0x12,0x10]
vmovddup (%eax), %xmm2
+// CHECK: vaddsubps %xmm1, %xmm2, %xmm3
+// CHECK: encoding: [0xc5,0xeb,0xd0,0xd9]
+ vaddsubps %xmm1, %xmm2, %xmm3
+
+// CHECK: vaddsubps (%eax), %xmm1, %xmm2
+// CHECK: encoding: [0xc5,0xf3,0xd0,0x10]
+ vaddsubps (%eax), %xmm1, %xmm2
+
+// CHECK: vaddsubpd %xmm1, %xmm2, %xmm3
+// CHECK: encoding: [0xc5,0xe9,0xd0,0xd9]
+ vaddsubpd %xmm1, %xmm2, %xmm3
+
+// CHECK: vaddsubpd (%eax), %xmm1, %xmm2
+// CHECK: encoding: [0xc5,0xf1,0xd0,0x10]
+ vaddsubpd (%eax), %xmm1, %xmm2
+
OpenPOWER on IntegriCloud