summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/Disassembler/X86DisassemblerDecoder.c
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2014-01-20 12:02:31 +0000
committerDavid Woodhouse <dwmw2@infradead.org>2014-01-20 12:02:31 +0000
commit7dd218245cedbbc380225964356a0688bf18c2dd (patch)
tree9907a6cf147440710284c45eef6070bd3ba23576 /llvm/lib/Target/X86/Disassembler/X86DisassemblerDecoder.c
parent71d15edaf311c3fa05072e8731bb0b1437f00eec (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud