summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/Mips/mips4
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
commitac96ec7906f614e24aee61f6c1048a0d4036d36e (patch)
tree895d4ac528fae3e6f14f4141cee0399338372605 /llvm/test/MC/Mips/mips4
parenta6822f64f333e7134670625b1bcfd2eebfd2faa6 (diff)
downloadbcm5719-llvm-ac96ec7906f614e24aee61f6c1048a0d4036d36e.tar.gz
bcm5719-llvm-ac96ec7906f614e24aee61f6c1048a0d4036d36e.zip
[mips] Add l.[sd] and s.[sd] instruction aliases
Reviewers: dsanders, vkalintiris Differential Review: https://reviews.llvm.org/D23121 llvm-svn: 278930
Diffstat (limited to 'llvm/test/MC/Mips/mips4')
-rw-r--r--llvm/test/MC/Mips/mips4/valid.s4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/MC/Mips/mips4/valid.s b/llvm/test/MC/Mips/mips4/valid.s
index 7a7259e8aea..18b02234a71 100644
--- a/llvm/test/MC/Mips/mips4/valid.s
+++ b/llvm/test/MC/Mips/mips4/valid.s
@@ -122,6 +122,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)
@@ -198,6 +200,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]
OpenPOWER on IntegriCloud