summaryrefslogtreecommitdiffstats
path: root/test/MC/Mips/mips3
diff options
context:
space:
mode:
authorSimon Dardis <simon.dardis@imgtec.com>2016-08-17 14:45:09 +0000
committerSimon Dardis <simon.dardis@imgtec.com>2016-08-17 14:45:09 +0000
commit0ca6dc4466f61fa821df961bb9b3bbfbf03d1112 (patch)
tree22bcc529314fd5799dd347ea86675efa8d3bfd16 /test/MC/Mips/mips3
parentcab764a3206e66467f50858b25ef67a4e7e80a8d (diff)
[mips] Add l.[sd] and s.[sd] instruction aliases
Reviewers: dsanders, vkalintiris Differential Review: https://reviews.llvm.org/D23121 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@278930 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/Mips/mips3')
-rw-r--r--test/MC/Mips/mips3/valid.s4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/MC/Mips/mips3/valid.s b/test/MC/Mips/mips3/valid.s
index d781f852a610..8f0e29db4157 100644
--- a/test/MC/Mips/mips3/valid.s
+++ b/test/MC/Mips/mips3/valid.s
@@ -118,6 +118,8 @@ a:
# CHECK: # fixup A - offset: 0, value: a, kind: fixup_Mips_26
j 1328 # CHECK: j 1328 # encoding: [0x08,0x00,0x01,0x4c]
jal 21100 # CHECK: jal 21100 # encoding: [0x0c,0x00,0x14,0x9b]
+ l.s $f2, 8($3) # CHECK: lwc1 $f2, 8($3) # encoding: [0xc4,0x62,0x00,0x08]
+ l.d $f2, 8($3) # CHECK: ldc1 $f2, 8($3) # encoding: [0xd4,0x62,0x00,0x08]
lb $24,-14515($10)
lbu $8,30195($v1)
ld $sp,-28645($s1)
@@ -171,6 +173,8 @@ a:
round.l.s $f25,$f5
round.w.d $f6,$f4
round.w.s $f27,$f28
+ s.s $f2, 8($3) # CHECK: swc1 $f2, 8($3) # encoding: [0xe4,0x62,0x00,0x08]
+ s.d $f2, 8($3) # CHECK: sdc1 $f2, 8($3) # encoding: [0xf4,0x62,0x00,0x08]
sb $s6,-19857($14)
sc $15,18904($s3) # CHECK: sc $15, 18904($19) # encoding: [0xe2,0x6f,0x49,0xd8]
scd $15,-8243($sp) # CHECK: scd $15, -8243($sp) # encoding: [0xf3,0xaf,0xdf,0xcd]