[mips] Implement sne pseudo instruction
authorSimon Atanasyan <simon@atanasyan.com>
Sun, 22 Mar 2020 17:10:00 +0000 (20:10 +0300)
committerSimon Atanasyan <simon@atanasyan.com>
Sun, 22 Mar 2020 20:34:31 +0000 (23:34 +0300)
commit9bbddfbeaabd44f90ab56bae35b6092b0a9818fa
treefe150b4b165b90b945b0678f0223b708826c9aaa
parentdca9e40c0cf8fdf154c4da50c45515a910583318
[mips] Implement sne pseudo instruction

The `sne Dst, Src1, Src2/Imm` pseudo instruction sets register `Dst` to
1 if register `Src1` is not equal to `Src2/Imm` and to 0 otherwise.
llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
llvm/lib/Target/Mips/MipsInstrInfo.td
llvm/test/MC/Mips/macro-sne.s [new file with mode: 0644]