summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2011-11-29 22:40:32 +0000
committerJim Grosbach <grosbach@apple.com>2011-11-29 22:40:32 +0000
commited1f83f9af83f71b04b2aef820195d8db5dab00a (patch)
treecc23df76b6826f882d0c3100ecc371fc09114088
parentd5ca201891d238ca2185831524a1e3f2670224df (diff)
downloadllvm-ed1f83f9af83f71b04b2aef820195d8db5dab00a.tar.gz
llvm-ed1f83f9af83f71b04b2aef820195d8db5dab00a.tar.bz2
llvm-ed1f83f9af83f71b04b2aef820195d8db5dab00a.tar.xz
Enable some VST1 tests and add a few more.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145443 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/MC/ARM/neon-vst-encoding.s34
1 files changed, 20 insertions, 14 deletions
diff --git a/test/MC/ARM/neon-vst-encoding.s b/test/MC/ARM/neon-vst-encoding.s
index bcfe8cf97f..b86b175c38 100644
--- a/test/MC/ARM/neon-vst-encoding.s
+++ b/test/MC/ARM/neon-vst-encoding.s
@@ -1,22 +1,28 @@
@ RUN: llvm-mc -mcpu=cortex-a8 -triple armv7-apple-darwin -show-encoding < %s | FileCheck %s
vst1.8 {d16}, [r0, :64]
-@ vst1.16 {d16}, [r0]
-@ vst1.32 {d16}, [r0]
-@ vst1.64 {d16}, [r0]
-@ vst1.8 {d16, d17}, [r0, :64]
-@ vst1.16 {d16, d17}, [r0, :128]
-@ vst1.32 {d16, d17}, [r0]
-@ vst1.64 {d16, d17}, [r0]
+ vst1.16 {d16}, [r0]
+ vst1.32 {d16}, [r0]
+ vst1.64 {d16}, [r0]
+ vst1.8 {d16, d17}, [r0, :64]
+ vst1.16 {d16, d17}, [r0, :128]
+ vst1.32 {d16, d17}, [r0]
+ vst1.64 {d16, d17}, [r0]
+ vst1.8 {d16, d17, d18}, [r0, :64]
+ vst1.8 {d16, d17, d18}, [r0, :64]!
+ vst1.8 {d16, d17, d18}, [r0], r3
@ CHECK: vst1.8 {d16}, [r0, :64] @ encoding: [0x1f,0x07,0x40,0xf4]
-@ FIXME: vst1.16 {d16}, [r0] @ encoding: [0x4f,0x07,0x40,0xf4]
-@ FIXME: vst1.32 {d16}, [r0] @ encoding: [0x8f,0x07,0x40,0xf4]
-@ FIXME: vst1.64 {d16}, [r0] @ encoding: [0xcf,0x07,0x40,0xf4]
-@ FIXME: vst1.8 {d16, d17}, [r0, :64] @ encoding: [0x1f,0x0a,0x40,0xf4]
-@ FIXME: vst1.16 {d16, d17}, [r0, :128] @ encoding: [0x6f,0x0a,0x40,0xf4]
-@ FIXME: vst1.32 {d16, d17}, [r0] @ encoding: [0x8f,0x0a,0x40,0xf4]
-@ FIXME: vst1.64 {d16, d17}, [r0] @ encoding: [0xcf,0x0a,0x40,0xf4]
+@ CHECK: vst1.16 {d16}, [r0] @ encoding: [0x4f,0x07,0x40,0xf4]
+@ CHECK: vst1.32 {d16}, [r0] @ encoding: [0x8f,0x07,0x40,0xf4]
+@ CHECK: vst1.64 {d16}, [r0] @ encoding: [0xcf,0x07,0x40,0xf4]
+@ CHECK: vst1.8 {d16, d17}, [r0, :64] @ encoding: [0x1f,0x0a,0x40,0xf4]
+@ CHECK: vst1.16 {d16, d17}, [r0, :128] @ encoding: [0x6f,0x0a,0x40,0xf4]
+@ CHECK: vst1.32 {d16, d17}, [r0] @ encoding: [0x8f,0x0a,0x40,0xf4]
+@ CHECK: vst1.64 {d16, d17}, [r0] @ encoding: [0xcf,0x0a,0x40,0xf4]
+@ CHECK: vst1.8 {d16, d17, d18}, [r0, :64] @ encoding: [0x1f,0x06,0x40,0xf4]
+@ CHECK: vst1.8 {d16, d17, d18}, [r0, :64]! @ encoding: [0x1d,0x06,0x40,0xf4]
+@ CHECK: vst1.8 {d16, d17, d18}, [r0], r3 @ encoding: [0x03,0x06,0x40,0xf4]
@ vst2.8 {d16, d17}, [r0, :64]