[PATCH] D18437: [mips] Range check simm16
Daniel Sanders via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 24 03:39:51 PDT 2016
dsanders created this revision.
dsanders added a reviewer: vkalintiris.
dsanders added a subscriber: llvm-commits.
dsanders added a dependency: D18436: [mips] Range check simm11 and mem_simm11..
Herald added a subscriber: dsanders.
There are too many instructions to exhaustively test so addiu and lwc2 are
used as representative examples.
It should be noted that many memory instructions that should have simm16
range checking do not because it is also necessary to support the macro
of the same name which accepts simm32. The range checks for these occur in
the macro expansion.
Depends on D18436
http://reviews.llvm.org/D18437
Files:
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
lib/Target/Mips/Disassembler/MipsDisassembler.cpp
lib/Target/Mips/Mips64r6InstrInfo.td
lib/Target/Mips/MipsInstrInfo.td
test/MC/Mips/mips1/invalid-mips2-wrong-error.s
test/MC/Mips/mips1/invalid-mips3-wrong-error.s
test/MC/Mips/mips1/invalid-mips4-wrong-error.s
test/MC/Mips/mips32r2/invalid.s
test/MC/Mips/mips64r6/valid.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18437.51531.patch
Type: text/x-patch
Size: 19553 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160324/14fbc4b6/attachment.bin>
More information about the llvm-commits
mailing list