llvm/test/MC
Chris Dewhurst 9343ace500 This change adds co-processor condition branching and conditional traps to the Sparc back-end.
This will allow inline assembler code to utilize these features, but no automatic lowering is provided, except for the previously provided @llvm.trap, which lowers to "ta 5".

The change also separates out the different assembly language syntaxes for V8 and V9 Sparc. Previously, only V9 Sparc assembly syntax was provided.

The change also corrects the selection order of trap disassembly, allowing, e.g. "ta %g0 + 15" to be rendered, more readably, as "ta 15", ignoring the %g0 register. This is per the sparc v8 and v9 manuals.

Check-in includes many extra unit tests to check this works correctly on both V8 and V9 Sparc processors.

Code Reviewed at http://reviews.llvm.org/D17960.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@263044 91177308-0d34-0410-b5e6-96231b3b80d8
2016-03-09 18:20:21 +00:00
..
AArch64 AArch64: remove CRC feature from Cyclone. 2016-02-24 18:10:17 +00:00
AMDGPU [AMDGPU] Assembler: Support DPP instructions. 2016-03-09 12:29:31 +00:00
ARM ARM: disallow pc as a base register in Thumb2 memory ops. 2016-02-25 16:54:52 +00:00
AsmParser AsmParser: Fix nested .irp/.irpc 2016-03-01 08:18:28 +00:00
COFF [codeview] Dump def range lengths in hex 2016-02-11 23:40:14 +00:00
Disassembler This change adds co-processor condition branching and conditional traps to the Sparc back-end. 2016-03-09 18:20:21 +00:00
ELF Accept subtractions involving a weak symbol. 2016-01-20 18:57:48 +00:00
Hexagon [Hexagon] As a size optimization, not lazy extending TPREL or DTPREL variants since they're usually in range. 2016-02-29 21:21:56 +00:00
MachO Form reform for MCDwarf. 2015-12-23 01:57:31 +00:00
Markup MC: Simple example parser for MC assembly markup. 2012-10-31 23:24:13 +00:00
Mips [mips] Range check uimm20 and fixed a bug this revealed. 2016-02-29 16:06:38 +00:00
PowerPC [Power9] Implement new vsx instructions: load, store instructions for vector and scalar 2016-03-08 03:49:13 +00:00
Sparc This change adds co-processor condition branching and conditional traps to the Sparc back-end. 2016-03-09 18:20:21 +00:00
SystemZ [SystemZ] Sort relocs to avoid code corruption by linker optimization 2015-12-16 18:12:40 +00:00
X86 [X86] Make X86MCCodeEmitter::DetermineREXPrefix locate operands more like how VEX prefix handling does. 2016-03-02 07:32:43 +00:00