[PATCH] Fixed the Intel-syntax X86 disassembler to respect the option for hexadecimal immediates.

Richard Mitton richard at codersnotes.com
Tue Jul 30 17:21:53 PDT 2013


Fixed the Intel-syntax X86 disassembler to respect the (existing) option for hexadecimal immediates, to match AT&T syntax. This also brings a new option for C-vs-MASM-style hex.
(I didn't add the 'pascal' option the previous patch had, as it would be too hard for any future parser to work with)

Depends on D1242

http://llvm-reviews.chandlerc.com/D1243

Files:
  include/llvm/MC/MCInstPrinter.h
  lib/MC/MCInstPrinter.cpp
  lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp
  lib/Target/X86/InstPrinter/X86IntelInstPrinter.cpp
  lib/Target/X86/InstPrinter/X86IntelInstPrinter.h
  lib/Target/X86/X86InstrArithmetic.td
  lib/Target/X86/X86InstrFPStack.td
  lib/Target/X86/X86InstrInfo.td
  lib/Target/X86/X86InstrSSE.td
  lib/Target/X86/X86InstrSVM.td
  lib/Target/X86/X86InstrShiftRotate.td
  lib/Target/X86/X86InstrSystem.td
  test/CodeGen/X86/fast-cc-merge-stack-adj.ll
  test/CodeGen/X86/fast-cc-pass-in-regs.ll
  test/CodeGen/X86/fp_constant_op.ll
  test/CodeGen/X86/lea-2.ll
  test/CodeGen/X86/shift-coalesce.ll
  test/CodeGen/X86/store_op_load_fold2.ll
  test/MC/Disassembler/X86/intel-syntax.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1243.1.patch
Type: text/x-patch
Size: 68179 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130730/184c67d7/attachment.bin>


More information about the llvm-commits mailing list