- Sep 11, 2011
-
-
Craig Topper authored
llvm-svn: 139485
-
Craig Topper authored
Fix disassembling of PAUSE instruction. Fixes PR10900. Also fixed NOP disassembling to ignore OpSize and REX.W. llvm-svn: 139484
-
- Sep 09, 2011
-
-
Douglas Gregor authored
llvm-svn: 139414
-
Jim Grosbach authored
llvm-svn: 139381
-
- Sep 08, 2011
-
-
Eli Friedman authored
llvm-svn: 139317
-
Caitlin Sadowski authored
This patch was written by DeLesley Hutchins. llvm-svn: 139300
-
James Molloy authored
llvm-svn: 139286
-
Andrew Trick authored
Speculatively try to fix our windows testers with a patch I found on the internet. llvm-svn: 139279
-
Andrew Trick authored
llvm-svn: 139278
-
Jim Grosbach authored
llvm-svn: 139267
-
- Sep 07, 2011
-
-
Jim Grosbach authored
The immediate offset of the non-writeback i8 form (encoding T4) allows negative offsets only. The positive offset form of the encoding is the LDRT instruction. Immediate offsets in the range [0,255] use encoding T3 instead. llvm-svn: 139254
-
James Molloy authored
Second of a three-patch series aiming to fix MSR/MRS on Cortex-M. This adds predicate checking to the Disassembler. llvm-svn: 139250
-
Joerg Sonnenberger authored
name. llvm-svn: 139220
-
- Sep 02, 2011
-
-
David Greene authored
Store a RecordVal's name as an Init to allow class-qualified Record members to reference Records that have Init names. We'll use this to provide more programmability in how we name defs and their associated members. llvm-svn: 139031
-
Kevin Enderby authored
llvm-svn: 139014
-
Craig Topper authored
Make IC_VEX* not inherit from IC_*. Prevents instructions with no VEX form from disassembling to their non-VEX form. Also prevents weak filter collisons that were keeping valid VEX instructions from decoding properly. Make VEX_L* not inherit from VEX_* because the VEX.L bit always important. This stops packed int VEX encodings from being disassembled when specified with VEX.L=1. Fixes PR10831 and PR10806. llvm-svn: 138997
-
- Sep 01, 2011
-
-
James Molloy authored
llvm-svn: 138948
-
- Aug 30, 2011
-
-
Evan Cheng authored
Add a instruction flag: hasPostISelHook which tells the pre-RA scheduler to call a target hook to adjust the instruction. For ARM, this is used to adjust instructions which may be setting the 's' flag. ADC, SBC, RSB, and RSC instructions have implicit def of CPSR (required since it now uses CPSR physical register dependency rather than "glue"). If the carry flag is used, then the target hook will *fill in* the optional operand with CPSR. Otherwise, the hook will remove the CPSR implicit def from the MachineInstr. llvm-svn: 138810
-
Craig Topper authored
Add vvvv support to disassembling of instructions with MRMDestMem and MRMDestReg form. Needed to support mem dest form of vmaskmovps/d. Fixes PR10807. llvm-svn: 138795
-
-
- Aug 27, 2011
-
-
Owen Anderson authored
Improve encoding support for BLX with immediat eoperands, and fix a BLX decoding bug this uncovered. llvm-svn: 138675
-
- Aug 25, 2011
-
-
Craig Topper authored
Give ATTR_VEX higher priority when generating the disassembler context table. Fixes disassembling of VEX instructions with 'pp'=00. Fixes subset of PR10678. llvm-svn: 138552
-
- Aug 24, 2011
-
-
Jim Grosbach authored
Fix the test FIXME and add parsing support for the ADD (SP plus immediate) and ADD (SP plus register) instruction forms. llvm-svn: 138488
-
Jim Grosbach authored
Add the predicate operand to the instructions. Update the back end accordingly where the instructions are used. Restrict the SP operands to actually only be SP, as otherwise these break assembly parsing for the normal instruction variants. llvm-svn: 138445
-
- Aug 23, 2011
-
-
Caitlin Sadowski authored
llvm-svn: 138351
-
Eric Christopher authored
Patch by Micah Villmow! llvm-svn: 138330
-
- Aug 19, 2011
-
-
Jim Grosbach authored
llvm-svn: 138073
-
Jim Grosbach authored
llvm-svn: 138067
-
- Aug 17, 2011
-
-
Owen Anderson authored
Allow the MCDisassembler to return a "soft fail" status code, indicating an instruction that is disassemblable, but invalid. Only used for ARM UNPREDICTABLE instructions at the moment. Patch by James Molloy. llvm-svn: 137830
-
- Aug 16, 2011
-
-
Jim Grosbach authored
llvm-svn: 137742
-
Bob Wilson authored
It turns out that the use of "__extension__" in these macros was disabling the expected "incompatible pointer" warnings, so these type checks were not doing anything anyway. They introduced a serious bug by evaluating some macro arguments twice, which is a big problem for arguments with side effects. I'll have to find another way to get the right type checking. Radar 9947657. llvm-svn: 137680
-
Jim Grosbach authored
Allow a target assembly parser to do context sensitive constraint checking on a potential instruction match. This will be used, for example, to handle Thumb2 IT block parsing. llvm-svn: 137675
-
- Aug 15, 2011
-
-
Jim Grosbach authored
No need for it to be redefined as part of every derived target asm parser class. llvm-svn: 137649
-
- Aug 10, 2011
-
-
David Greene authored
Use an Init (ultimately a StringInit) to represent the Record name. This allows the name to be composed by standard TableGen operators. This will enable us to get rid of the ugly #NAME# hack processing and naturally replace it with operators. It also increases flexibility and power of the TableGen language by allowing record identifiers to be computed dynamically. llvm-svn: 137232
-
David Greene authored
Add a method to return an Init as an unquoted string. This primarily affects StringInit where we return the value without surrounding it with quotes. This is in preparation for removing the ugly #NAME# hack and replacing it with standard TabelGen operators. llvm-svn: 137231
-
Owen Anderson authored
Fix an oversight in the FixedLenDecoderEmitter where we weren't correctly checking the success result of custom decoder hooks on singleton decodings. llvm-svn: 137171
-
Owen Anderson authored
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
-
- Aug 09, 2011
-
-
Owen Anderson authored
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
-
- Aug 08, 2011
-
-
Owen Anderson authored
Fix encodings for Thumb ASR and LSR immediate operands. They encode the range 1-32, with 32 encoded as 0. llvm-svn: 137062
-
- Aug 04, 2011
-
-
Owen Anderson authored
LDCL_POST and STCL_POST need one's-complement offsets, rather than two's complement offsets. Add an appropriate immediate type for them. llvm-svn: 136896
-