Second try of initial ARM/Thumb disassembler check-in. It consists of a tablgen
authorJohnny Chen <johnny.chen@apple.com>
Fri, 2 Apr 2010 22:27:38 +0000 (22:27 +0000)
committerJohnny Chen <johnny.chen@apple.com>
Fri, 2 Apr 2010 22:27:38 +0000 (22:27 +0000)
commitb68a3ee82a8a34f7bae1d68d76f574e76a5535ef
treee2d497f6b8dc8c2f031afbc3d5dd3ff4c7649dd3
parent762647673379dbcff6bbba6167b0b1b0d658ba9d
Second try of initial ARM/Thumb disassembler check-in.  It consists of a tablgen
backend (ARMDecoderEmitter) which emits the decoder functions for ARM and Thumb,
and the disassembler core which invokes the decoder function and builds up the
MCInst based on the decoded Opcode.

Reviewed by Chris Latter and Bob Wilson.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100233 91177308-0d34-0410-b5e6-96231b3b80d8
16 files changed:
Makefile.rules
include/llvm/Support/MathExtras.h
lib/Target/ARM/Disassembler/ARMDisassembler.cpp [new file with mode: 0644]
lib/Target/ARM/Disassembler/ARMDisassembler.h [new file with mode: 0644]
lib/Target/ARM/Disassembler/ARMDisassemblerCore.cpp [new file with mode: 0644]
lib/Target/ARM/Disassembler/ARMDisassemblerCore.h [new file with mode: 0644]
lib/Target/ARM/Disassembler/Makefile [new file with mode: 0644]
lib/Target/ARM/Disassembler/ThumbDisassemblerCore.h [new file with mode: 0644]
lib/Target/ARM/Makefile
test/MC/Disassembler/arm-tests.txt [new file with mode: 0644]
test/MC/Disassembler/neon-tests.txt [new file with mode: 0644]
test/MC/Disassembler/thumb-tests.txt [new file with mode: 0644]
utils/TableGen/ARMDecoderEmitter.cpp [new file with mode: 0644]
utils/TableGen/ARMDecoderEmitter.h [new file with mode: 0644]
utils/TableGen/DisassemblerEmitter.cpp
utils/TableGen/TableGen.cpp