BR 1834292: Fix multiple disassembler bugs
commita30cc07224154c101c1275c148bf60d3acd43015
authorH. Peter Anvin <hpa@zytor.com>
Mon, 19 Nov 2007 05:55:26 +0000 (18 21:55 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 19 Nov 2007 05:55:26 +0000 (18 21:55 -0800)
tree952e72a32d2ce3a990088095773c84ae1bb83f0d
parentd0378fb1ed67bfcde8ec88b65387e6e68bfedc41
BR 1834292: Fix multiple disassembler bugs

- Correct the building on the disassembler decision tree.
- Handle SSE instructions with F2 prefix (\332) correctly.
- Mark instructions which are now used as prefixes with ND.
  (In a future version when we have better CPU version handling,
  we should probably build the decision tree at runtime based on
  the selected CPU feature sets.)
- Sanitize the handling of \144-147 and \154-157 in both the assembler
  and disassembler.  They take an opcode byte as argument; don't
  pretend they don't.
assemble.c
disasm.c
insns.dat
insns.pl