diff options
author | David Woodhouse <dwmw2@infradead.org> | 2014-01-20 12:02:31 +0000 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2014-01-20 12:02:31 +0000 |
commit | 7dd218245cedbbc380225964356a0688bf18c2dd (patch) | |
tree | 9907a6cf147440710284c45eef6070bd3ba23576 /llvm/lib/Target/X86/Disassembler/X86DisassemblerDecoder.c | |
parent | 71d15edaf311c3fa05072e8731bb0b1437f00eec (diff) | |
download | bcm5719-llvm-7dd218245cedbbc380225964356a0688bf18c2dd.tar.gz bcm5719-llvm-7dd218245cedbbc380225964356a0688bf18c2dd.zip |
[x86] Infer disassembler mode from SubtargetInfo feature bits
Aside from cleaning up the code, this also adds support for the -code16
environment and actually enables the MODE_16BIT mode that was previously
not accessible.
There is no point adding any testing for 16-bit yet though; basically
nothing will work because we aren't handling the OpSize prefix correctly
for 16-bit mode.
llvm-svn: 199649
Diffstat (limited to 'llvm/lib/Target/X86/Disassembler/X86DisassemblerDecoder.c')
0 files changed, 0 insertions, 0 deletions