[mips] Addition of the [d]rem and [d]remu instructions
authorStefan Maksimovic <stefan.maksimovic@mips.com>
Mon, 9 Jul 2018 13:06:44 +0000 (13:06 +0000)
committerStefan Maksimovic <stefan.maksimovic@mips.com>
Mon, 9 Jul 2018 13:06:44 +0000 (13:06 +0000)
commit0a23998fe75d10322968f9ee36bacaa1384be01e
tree22d889d3309cd011ae723caaad41dfe1e0efea62
parent54077dcfcb4567c83d704dde2c8d106e9f7dead0
[mips] Addition of the [d]rem and [d]remu instructions

Related to http://reviews.llvm.org/D15772
Depends on http://reviews.llvm.org/D16889
Adds [D]REM[U] instructions.

Patch By: Srdjan Obucina
Contributions from: Simon Dardis

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

llvm-svn: 336545
llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
llvm/lib/Target/Mips/Mips64InstrInfo.td
llvm/lib/Target/Mips/MipsInstrInfo.td
llvm/test/MC/Mips/macro-ddiv.s
llvm/test/MC/Mips/macro-drem.s [new file with mode: 0644]
llvm/test/MC/Mips/macro-dremu.s [new file with mode: 0644]
llvm/test/MC/Mips/macro-rem.s [new file with mode: 0644]
llvm/test/MC/Mips/macro-remu.s [new file with mode: 0644]