[mips] Added support for the div, divu, ddiv and ddivu macros which use traps and...
authorDaniel Sanders <daniel.sanders@imgtec.com>
Thu, 3 Sep 2015 12:31:22 +0000 (12:31 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Thu, 3 Sep 2015 12:31:22 +0000 (12:31 +0000)
commit4cf069b48d443a97cb33535120d33af5349290c8
tree0258787b298fbbda85fb67f8a06d98d5d6c79a3a
parentdeae4ec251bf05937d30db527d1de6685e3f453d
[mips] Added support for the div, divu, ddiv and ddivu macros which use traps and breaks in the integrated assembler.

Summary:

Patch by Scott Egerton

Reviewers: vkalintiris, dsanders

Subscribers: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@246763 91177308-0d34-0410-b5e6-96231b3b80d8
13 files changed:
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
lib/Target/Mips/Mips.td
lib/Target/Mips/MipsInstrInfo.td
lib/Target/Mips/MipsSubtarget.cpp
lib/Target/Mips/MipsSubtarget.h
test/MC/Mips/macro-ddiv-bad.s [new file with mode: 0644]
test/MC/Mips/macro-ddiv.s [new file with mode: 0644]
test/MC/Mips/macro-ddivu-bad.s [new file with mode: 0644]
test/MC/Mips/macro-ddivu.s [new file with mode: 0644]
test/MC/Mips/macro-div-bad.s [new file with mode: 0644]
test/MC/Mips/macro-div.s [new file with mode: 0644]
test/MC/Mips/macro-divu-bad.s [new file with mode: 0644]
test/MC/Mips/macro-divu.s [new file with mode: 0644]