OSDN Git Service

[mips] Implement sge/sgeu pseudo instructions
authorSimon Atanasyan <simon@atanasyan.com>
Tue, 9 Jul 2019 12:55:55 +0000 (12:55 +0000)
committerSimon Atanasyan <simon@atanasyan.com>
Tue, 9 Jul 2019 12:55:55 +0000 (12:55 +0000)
commita85370ecc21316d49ec28b1389f3213e3cc5a6f1
tree5b13e6d46ca81574582dc3ebdfe825b37bb2a786
parent570b6cf23b3a816d73e7318eb11c585599473e8d
[mips] Implement sge/sgeu pseudo instructions

The `sge/sgeu Dst, Src1, Src2/Imm` pseudo instructions set register
`Dst` to 1 if register `Src1` is greater than or equal `Src2/Imm` and
to 0 otherwise.

Differential Revision: https://reviews.llvm.org/D64314

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@365476 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
lib/Target/Mips/Mips64InstrInfo.td
lib/Target/Mips/MipsInstrInfo.td
test/MC/Mips/macro-sge.s [new file with mode: 0644]
test/MC/Mips/macro-sge64.s [new file with mode: 0644]