diff options
author | Matheus Almeida <matheus.almeida@imgtec.com> | 2014-01-29 14:05:28 +0000 |
---|---|---|
committer | Matheus Almeida <matheus.almeida@imgtec.com> | 2014-01-29 14:05:28 +0000 |
commit | ba67c2a4ee21ec86a86df56c230819d2bd85451d (patch) | |
tree | 9403687230a799b12c302522711cc04d97aa7e59 /test/MC | |
parent | cf78698270967eb9e9fd44566674ee0a154bd210 (diff) | |
download | llvm-ba67c2a4ee21ec86a86df56c230819d2bd85451d.tar.gz llvm-ba67c2a4ee21ec86a86df56c230819d2bd85451d.tar.bz2 llvm-ba67c2a4ee21ec86a86df56c230819d2bd85451d.tar.xz |
[mips][msa] Add copy_{u,s}.d.
These instructions are only available on Mips64 cores
that implement the MSA ASE.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200398 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r-- | test/MC/Mips/msa/test_elm_msa64.s | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/MC/Mips/msa/test_elm_msa64.s b/test/MC/Mips/msa/test_elm_msa64.s new file mode 100644 index 0000000000..15bfcca247 --- /dev/null +++ b/test/MC/Mips/msa/test_elm_msa64.s @@ -0,0 +1,14 @@ +# RUN: llvm-mc %s -arch=mips64 -mcpu=mips64r2 -mattr=+msa -show-encoding | FileCheck %s +# +# RUN: llvm-mc %s -arch=mips64 -mcpu=mips64r2 -mattr=+msa -filetype=obj -o - | \ +# RUN: llvm-objdump -d -arch=mips64 -mattr=+msa - | \ +# RUN: FileCheck %s -check-prefix=CHECKOBJDUMP +# +# CHECK: copy_s.d $19, $w31[0] # encoding: [0x78,0xb8,0xfc,0xd9] +# CHECK: copy_u.d $18, $w29[1] # encoding: [0x78,0xf9,0xec,0x99] + +# CHECKOBJDUMP: copy_s.d $19, $w31[0] +# CHECKOBJDUMP: copy_u.d $18, $w29[1] + + copy_s.d $19, $w31[0] + copy_u.d $18, $w29[1] |