diff options
author | Joey Gouly <joey.gouly@arm.com> | 2013-07-17 14:03:49 +0000 |
---|---|---|
committer | Joey Gouly <joey.gouly@arm.com> | 2013-07-17 14:03:49 +0000 |
commit | c88ac4a344bdb5b3ade5c24d67e1227c4d3a8978 (patch) | |
tree | b431fc6ee27c6595da86b616f89c9402577374fb /test/MC/ARM | |
parent | 19c14abf1c4ccebfa7d07bdd6ea8462a15c0b749 (diff) | |
download | llvm-c88ac4a344bdb5b3ade5c24d67e1227c4d3a8978.tar.gz llvm-c88ac4a344bdb5b3ade5c24d67e1227c4d3a8978.tar.bz2 llvm-c88ac4a344bdb5b3ade5c24d67e1227c4d3a8978.tar.xz |
Add the tests that I forgot to 'svn add' with my previous commit (r186504).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186506 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/ARM')
-rw-r--r-- | test/MC/ARM/neon-v8.s | 10 | ||||
-rw-r--r-- | test/MC/ARM/thumb-neon-v8.s | 10 |
2 files changed, 20 insertions, 0 deletions
diff --git a/test/MC/ARM/neon-v8.s b/test/MC/ARM/neon-v8.s new file mode 100644 index 0000000000..cc9fb3aebf --- /dev/null +++ b/test/MC/ARM/neon-v8.s @@ -0,0 +1,10 @@ +@ RUN: llvm-mc -triple armv8 -mattr=+neon -show-encoding < %s | FileCheck %s + +vmaxnm.f32 d4, d5, d1 +@ CHECK: vmaxnm.f32 d4, d5, d1 @ encoding: [0x11,0x4f,0x05,0xf3] +vmaxnm.f32 q2, q4, q6 +@ CHECK: vmaxnm.f32 q2, q4, q6 @ encoding: [0x5c,0x4f,0x08,0xf3] +vminnm.f32 d5, d4, d30 +@ CHECK: vminnm.f32 d5, d4, d30 @ encoding: [0x3e,0x5f,0x24,0xf3] +vminnm.f32 q0, q13, q2 +@ CHECK: vminnm.f32 q0, q13, q2 @ encoding: [0xd4,0x0f,0x2a,0xf3] diff --git a/test/MC/ARM/thumb-neon-v8.s b/test/MC/ARM/thumb-neon-v8.s new file mode 100644 index 0000000000..eafd271e64 --- /dev/null +++ b/test/MC/ARM/thumb-neon-v8.s @@ -0,0 +1,10 @@ +@ RUN: llvm-mc -triple thumbv8 -mattr=+neon -show-encoding < %s | FileCheck %s + +vmaxnm.f32 d4, d5, d1 +@ CHECK: vmaxnm.f32 d4, d5, d1 @ encoding: [0x05,0xff,0x11,0x4f] +vmaxnm.f32 q2, q4, q6 +@ CHECK: vmaxnm.f32 q2, q4, q6 @ encoding: [0x08,0xff,0x5c,0x4f] +vminnm.f32 d5, d4, d30 +@ CHECK: vminnm.f32 d5, d4, d30 @ encoding: [0x24,0xff,0x3e,0x5f] +vminnm.f32 q0, q13, q2 +@ CHECK: vminnm.f32 q0, q13, q2 @ encoding: [0x2a,0xff,0xd4,0x0f] |