#
3a850f28 |
| 11-Aug-2011 |
Owen Anderson <resistor@mac.com> |
Fix decoding for indexed STRB and LDRB. Fixes <rdar://problem/9926161>.
llvm-svn: 137347
|
#
60663403 |
| 11-Aug-2011 |
Owen Anderson <resistor@mac.com> |
Continue to tighten decoding by performing more operand validation.
llvm-svn: 137340
|
#
2a50260f |
| 11-Aug-2011 |
Jim Grosbach <grosbach@apple.com> |
ARM STRBT assembly parsing and encoding.
llvm-svn: 137337
|
#
3477f2ce |
| 11-Aug-2011 |
Owen Anderson <resistor@mac.com> |
Tighten decoding of addrmode2 instructions to reject more UNPREDICTABLE cases.
llvm-svn: 137325
|
#
0e15b48f |
| 11-Aug-2011 |
Owen Anderson <resistor@mac.com> |
Tighten operand decoding of addrmode2 instruction. The offset register cannot be PC.
llvm-svn: 137323
|
#
ed253852 |
| 11-Aug-2011 |
Owen Anderson <resistor@mac.com> |
Improve error checking in the new ARM disassembler. Patch by James Molloy.
llvm-svn: 137320
|
#
d5d63597 |
| 10-Aug-2011 |
Jim Grosbach <grosbach@apple.com> |
ARM LDRT assembly parsing and encoding.
llvm-svn: 137282
|
#
c86a5bd2 |
| 10-Aug-2011 |
Owen Anderson <resistor@mac.com> |
Add initial support for decoding NEON instructions in Thumb2 mode.
llvm-svn: 137236
|
#
5d69f63b |
| 10-Aug-2011 |
Owen Anderson <resistor@mac.com> |
Cleanups based on Nick Lewycky's feedback.
llvm-svn: 137224
|
#
8059f0cf |
| 10-Aug-2011 |
Owen Anderson <resistor@mac.com> |
Push GPRnopc through a large number of instruction definitions to tighten operand decoding.
llvm-svn: 137189
|
#
92b942b1 |
| 09-Aug-2011 |
Owen Anderson <resistor@mac.com> |
Tighten operand checking of register-shifted-register operands.
llvm-svn: 137180
|
#
e008931b |
| 09-Aug-2011 |
Owen Anderson <resistor@mac.com> |
Tighten operand checking on memory barrier instructions.
llvm-svn: 137176
|
#
3d2e0e9d |
| 09-Aug-2011 |
Owen Anderson <resistor@mac.com> |
Tighten operand checking on CPS instructions.
llvm-svn: 137172
|
#
042619f9 |
| 09-Aug-2011 |
Owen Anderson <resistor@mac.com> |
Create a new register class for the set of all GPRs except the PC. Use it to tighten our decoding of BFI.
llvm-svn: 137168
|
#
406dc175 |
| 09-Aug-2011 |
Benjamin Kramer <benny.kra@googlemail.com> |
ARM Disassembler: sign extend branch immediates.
Not sure about BLXi, but this is what the old disassembler did.
llvm-svn: 137156
|
#
d151b099 |
| 09-Aug-2011 |
Owen Anderson <resistor@mac.com> |
Silence an false-positive warning.
llvm-svn: 137154
|
#
7a2401db |
| 09-Aug-2011 |
Owen Anderson <resistor@mac.com> |
Tighten Thumb1 branch predicate decoding.
llvm-svn: 137146
|
#
e0152a73 |
| 09-Aug-2011 |
Owen Anderson <resistor@mac.com> |
Replace the existing ARM disassembler with a new one based on the FixedLenDecoderEmitter. This new disassembler can correctly decode all the testcases that the old one did, though some "expected fail
Replace the existing ARM disassembler with a new one based on the FixedLenDecoderEmitter. This new disassembler can correctly decode all the testcases that the old one did, though some "expected failure" testcases are XFAIL'd for now because it is not (yet) as strict in operand checking as the old one was.
llvm-svn: 137144
show more ...
|
#
d3595711 |
| 03-Aug-2011 |
Jim Grosbach <grosbach@apple.com> |
ARM refactoring assembly parsing of memory address operands.
Memory operand parsing is a bit haphazzard at the moment, in no small part due to the even more haphazzard representations of memory oper
ARM refactoring assembly parsing of memory address operands.
Memory operand parsing is a bit haphazzard at the moment, in no small part due to the even more haphazzard representations of memory operands in the .td files. Start cleaning that all up, at least a bit.
The addressing modes in the .td files will be being simplified to not be so monolithic, especially with regards to immediate vs. register offsets and post-indexed addressing. addrmode3 is on its way with this patch, for example.
This patch is foundational to enable going back to smaller incremental patches for the individual memory referencing instructions themselves. It does just enough to get the basics in place and handle the "make check" regression tests we already have.
Follow-up work will be fleshing out the details and adding more robust test cases for the individual instructions, starting with ARM mode and moving from there into Thumb and Thumb2.
llvm-svn: 136845
show more ...
|
#
dc62e597 |
| 19-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fix typo in the comment.
llvm-svn: 129837
|
#
9377a52c |
| 11-Apr-2011 |
Kevin Enderby <enderby@apple.com> |
Adding support for printing operands symbolically to llvm's public 'C' disassembler API. Hooked this up to the ARM target so such tools as Darwin's otool(1) can now print things like branch targets
Adding support for printing operands symbolically to llvm's public 'C' disassembler API. Hooked this up to the ARM target so such tools as Darwin's otool(1) can now print things like branch targets for example this: blx _puts instead of this: blx #-36 And even print the expression encoded in the Mach-O relocation entried for things like this: movt r0, :upper16:((_foo-_bar)+1234)
llvm-svn: 129284
show more ...
|
Revision tags: llvmorg-2.9.0, llvmorg-2.9.0-rc3 |
|
#
923f3dac |
| 26-Mar-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fixed the t2PLD and friends disassembly and add two test cases.
llvm-svn: 128322
|
Revision tags: llvmorg-2.9.0-rc2 |
|
#
02e59ad5 |
| 24-Mar-2011 |
Johnny Chen <johnny.chen@apple.com> |
Plug a leak by ThumbDisassembler::getInstruction(), thanks to Benjamin Kramer!
llvm-svn: 128241
|
#
dd9eb21c |
| 24-Mar-2011 |
Benjamin Kramer <benny.kra@googlemail.com> |
Plug a leak in the arm disassembler and put the tests back.
llvm-svn: 128238
|
#
7ca3ddc2 |
| 22-Mar-2011 |
Johnny Chen <johnny.chen@apple.com> |
For ARM Disassembler, start a newline to dump the opcode and friends for an instruction. Change inspired by llvm-bug 9530 submitted by Jyun-Yan You.
llvm-svn: 128122
|