[PATCH] ARM: use new modified-imm instructions for all MC-level purposes.

Tim Northover t.p.northover at gmail.com
Sat Aug 17 08:24:41 PDT 2013


Hi grosbach,

Hi,

This patch builds on Mihai Popa's steps towards supporting the edge cases of ARM's "modified immediate" format instructions. That patch should probably be committed first.

The instructions he added were actually much closer to the ideal MC representation of what's going on than the existing set, but it was decided that removing the originals in one massive patch would be too invasive, so this is a step in that direction.

It converts the instructions he added into the canonical assembly representation for these operations (with some slightly annoying accommodations for TableGen). The next step will be converting CodeGen to use these versions and eventually removing the legacy representation entirely.

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

Files:
  lib/Target/ARM/ARMCodeEmitter.cpp
  lib/Target/ARM/ARMInstrInfo.td
  lib/Target/ARM/AsmParser/ARMAsmParser.cpp
  lib/Target/ARM/Disassembler/ARMDisassembler.cpp
  lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp
  lib/Target/ARM/InstPrinter/ARMInstPrinter.h
  lib/Target/ARM/MCTargetDesc/ARMMCCodeEmitter.cpp
  test/MC/ARM/basic-arm-instructions.s
  test/MC/ARM/diagnostics.s
  test/MC/ARM/thumb-diagnostics.s
  test/MC/Disassembler/ARM/arm-tests.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1432.1.patch
Type: text/x-patch
Size: 47998 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130817/d8b66547/attachment.bin>


More information about the llvm-commits mailing list