summaryrefslogtreecommitdiff
path: root/test/MC/Mips
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@mips.com>2013-07-22 18:52:22 +0000
committerAkira Hatanaka <ahatanaka@mips.com>2013-07-22 18:52:22 +0000
commit0b926427670de6e0ed855ef93f220a3f51ed1eab (patch)
tree3fd497533d84c9c3eb495407208106243b45bc0c /test/MC/Mips
parentdbbbccc3492aa7f91f21d8902cfb0b766dabb849 (diff)
downloadllvm-0b926427670de6e0ed855ef93f220a3f51ed1eab.tar.gz
llvm-0b926427670de6e0ed855ef93f220a3f51ed1eab.tar.bz2
llvm-0b926427670de6e0ed855ef93f220a3f51ed1eab.tar.xz
[mips] Use ADDu instead of OR to copy general purpose registers. Also, delete
the InstAlias pattern which maps "move" to OR to resolve ambiguity in MatchTable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186855 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/Mips')
-rw-r--r--test/MC/Mips/mips-alu-instructions.s2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/MC/Mips/mips-alu-instructions.s b/test/MC/Mips/mips-alu-instructions.s
index eccc2880d4..b3dba8654c 100644
--- a/test/MC/Mips/mips-alu-instructions.s
+++ b/test/MC/Mips/mips-alu-instructions.s
@@ -13,6 +13,7 @@
# CHECK: ins $19, $9, 6, 7 # encoding: [0x84,0x61,0x33,0x7d]
# CHECK: nor $9, $6, $7 # encoding: [0x27,0x48,0xc7,0x00]
# CHECK: or $3, $3, $5 # encoding: [0x25,0x18,0x65,0x00]
+# CHECK: or $3, $2, $zero # encoding: [0x25,0x18,0x40,0x00]
# CHECK: ori $4, $5, 17767 # encoding: [0x67,0x45,0xa4,0x34]
# CHECK: ori $9, $6, 17767 # encoding: [0x67,0x45,0xc9,0x34]
# CHECK: ori $11, $11, 128 # encoding: [0x80,0x00,0x6b,0x35]
@@ -44,6 +45,7 @@
ins $19, $9, 6,7
nor $9, $6, $7
or $3, $3, $5
+ or $3, $2, $zero
or $4, $5, 17767
ori $9, $6, 17767
ori $11, 128