[mips][microMIPSr6] Implement SELEQZ and SELNEZ instructions

This patch implements SELEQZ and SELNEZ instructions using mapping.

Differential Revision: http://reviews.llvm.org/D8497


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237158 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jozef Kolek
2015-05-12 17:39:32 +00:00
parent 99ffa5b711
commit 043da74b89
5 changed files with 42 additions and 3 deletions

View File

@@ -41,6 +41,10 @@
# CHECK: pref 1, 8($5)
0x60 0x25 0x20 0x08
0x00 0x83 0x11 0x40 # CHECK: seleqz $2, $3, $4
0x00 0x83 0x11 0x80 # CHECK: selnez $2, $3, $4
0x00 0xa4 0x19 0x90 # CHECK: sub $3, $4, $5
0x00 0xa4 0x19 0xd0 # CHECK: subu $3, $4, $5