[PATCH] [mips] Merge disassemblers into a single implementation.
Daniel Sanders
daniel.sanders at imgtec.com
Mon Feb 9 05:22:58 PST 2015
Hi vmedic,
Currently we have Mips32 and Mips64 disassemblers and this causes the target
triple to affect the disassembly despite all the relevant information being in
the ELF header. These implementations do not need to be separate.
This patch merges them together such that the appropriate tables are checked
for the subtarget (e.g. Mips64 is checked when GP64 is enabled).
http://reviews.llvm.org/D7498
Files:
lib/Target/Mips/Disassembler/MipsDisassembler.cpp
test/MC/Disassembler/Mips/mips32r2/valid-mips32r2-le.txt
test/MC/Disassembler/Mips/mips32r2/valid-mips32r2.txt
test/MC/Disassembler/Mips/mips64r2/valid-mips64r2-el.txt
test/MC/Disassembler/Mips/mips64r2/valid-mips64r2.txt
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7498.19575.patch
Type: text/x-patch
Size: 8466 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150209/d687bf89/attachment.bin>
More information about the llvm-commits
mailing list