History log of /llvm-project/llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp (Results 301 – 325 of 396)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 7db8d697 08-Sep-2011 Jim Grosbach <grosbach@apple.com>

Thumb2 assembly parsing and encoding for LDRD(immediate).

Refactor operand handling for STRD as well. Tests for that forthcoming.

llvm-svn: 139322


# f1749592 08-Sep-2011 Owen Anderson <resistor@mac.com>

Remove the "common" set of instructions shared between ARM and Thumb2 modes. This is no longer needed now that Thumb2 has its own copy of the STC/LDC instructions.

llvm-svn: 139268


# 18d17aa6 07-Sep-2011 Owen Anderson <resistor@mac.com>

Create Thumb2 versions of STC/LDC, and reenable the relevant tests.

llvm-svn: 139256


# 8067df95 07-Sep-2011 James Molloy <james.molloy@arm.com>

Second of a three-patch series aiming to fix MSR/MRS on Cortex-M. This adds predicate checking to the Disassembler.

llvm-svn: 139250


# cd5612d3 07-Sep-2011 Owen Anderson <resistor@mac.com>

Port more assembler tests over to disassembler tests, and fix a minor logic error that exposed.

llvm-svn: 139240


# 4c493e80 07-Sep-2011 James Molloy <james.molloy@arm.com>

Refactor instprinter and mcdisassembler to take a SubtargetInfo. Add -mattr= handling to llvm-mc. Reviewed by Owen Anderson.

llvm-svn: 139237


# ed96b58b 01-Sep-2011 Owen Anderson <resistor@mac.com>

Merge the ARM disassembler header into the implementation file, since it is not externally exposed.

llvm-svn: 138982


# 03aadae0 01-Sep-2011 Owen Anderson <resistor@mac.com>

Fix 80 columns violations.

llvm-svn: 138980


# db4ce603 01-Sep-2011 James Molloy <james.molloy@arm.com>

Fix up r137380 based on post-commit review by Jim Grosbach.

llvm-svn: 138948


# 4af0aa98 31-Aug-2011 Owen Anderson <resistor@mac.com>

The asm parser currently selects the wrong encoding for non-conditional Thumb2 branches. However, this exposed a number of situations where the decoder was too permissive in allowing invalid instruc

The asm parser currently selects the wrong encoding for non-conditional Thumb2 branches. However, this exposed a number of situations where the decoder was too permissive in allowing invalid instructions to decode successful. Specify additional fixed bits to close those gaps.

llvm-svn: 138910

show more ...


# 2fa06a72 30-Aug-2011 Owen Anderson <resistor@mac.com>

Fix issues with disassembly of IT instructions involving condition codes other the EQ/NE. Discovered by roundtrip testing.

llvm-svn: 138840


# b205c029 26-Aug-2011 Owen Anderson <resistor@mac.com>

Improve encoding support for BLX with immediat eoperands, and fix a BLX decoding bug this uncovered.

llvm-svn: 138675


# 240d20af 26-Aug-2011 Owen Anderson <resistor@mac.com>

Spelling fail.

llvm-svn: 138667


# 16d33f36 26-Aug-2011 Owen Anderson <resistor@mac.com>

invalid-LDR_PRE-arm.txt was already passing, but for the wrong reasons. We were failing to specify enough fixed bits of LDR_PRE/LDRB_PRE, resulting in decoding conflicts. Separate them into immedia

invalid-LDR_PRE-arm.txt was already passing, but for the wrong reasons. We were failing to specify enough fixed bits of LDR_PRE/LDRB_PRE, resulting in decoding conflicts. Separate them into immediate vs. register versions, allowing us to specify the necessary fixed bits. This in turn results in the test being decoded properly, and being rejected as UNPREDICTABLE rather than a hard failure.

llvm-svn: 138653

show more ...


# 5658b49f 26-Aug-2011 Owen Anderson <resistor@mac.com>

Update for feedback from Jim.

llvm-svn: 138642


# aa38dbad 26-Aug-2011 Benjamin Kramer <benny.kra@googlemail.com>

ARMDisassembler: Always return a size, even when disassembling fails.

This should fix PR10772.

llvm-svn: 138636


# a01bcbfc 26-Aug-2011 Owen Anderson <resistor@mac.com>

Support an extension of ARM asm syntax to allow immediate operands to ADR instructions. This is helpful for disassembler testing, and indeed exposed a disassembler bug that is also fixed here.

llvm

Support an extension of ARM asm syntax to allow immediate operands to ADR instructions. This is helpful for disassembler testing, and indeed exposed a disassembler bug that is also fixed here.

llvm-svn: 138635

show more ...


# 14969562 26-Aug-2011 Owen Anderson <resistor@mac.com>

Fix PR10755 by checking for invalid predicate codes from UNPREDICTABLE t2IT instructions when decoding their successors.
This is the last disassembly crash detected by exhaustive Thumb2 instruction s

Fix PR10755 by checking for invalid predicate codes from UNPREDICTABLE t2IT instructions when decoding their successors.
This is the last disassembly crash detected by exhaustive Thumb2 instruction space. Major thanks to Chandler Carruth for making this kind of exhaustive testing possible.

llvm-svn: 138625

show more ...


# 5e30972c 25-Aug-2011 Owen Anderson <resistor@mac.com>

Port over additional encoding tests to decoding tests, and fix an operand ordering bug this exposed.

llvm-svn: 138575


# 37612a3d 24-Aug-2011 Owen Anderson <resistor@mac.com>

Perform more thorough checking of t2IT mask parameters, which fixes all remaining crashers when disassembling the entire 16-bit instruction space.

llvm-svn: 138507


# 216cfaa8 24-Aug-2011 Owen Anderson <resistor@mac.com>

Be careful not to walk off the end of the operand info list while updating VFP predicates.

llvm-svn: 138492


# 2bb40357 24-Aug-2011 Evan Cheng <evan.cheng@apple.com>

Move TargetRegistry and TargetSelect from Target to Support where they belong.
These are strictly utilities for registering targets and components.

llvm-svn: 138450


# 52300414 24-Aug-2011 Owen Anderson <resistor@mac.com>

Be stricter in enforcing IT instruction predicate values, so that we don't end up trying to print out an illegal predicate.

llvm-svn: 138443


# 924bcfc9 23-Aug-2011 Owen Anderson <resistor@mac.com>

Fix decoding of Thumb2 prefetch instructions, which account for all the remaining Thumb2 decoding failures found by randomized testing so far.

llvm-svn: 138341


# 9b7bd15d 23-Aug-2011 Owen Anderson <resistor@mac.com>

Fix Thumb2 decoding of CPS instructions to mirror ARM decoding of the same instructions.

llvm-svn: 138339


1...<<111213141516