1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-30 07:22:55 +01:00
llvm-mirror/test/MC
Jack Carter f42f53d767 Fix the invalid opcode for Mips branch instructions in the assembler
For mips a branch an 18-bit signed offset (the 16-bit 
offset field shifted left 2 bits) is added to the 
address of the instruction following the branch 
(not the branch itself), in the branch delay slot, 
to form a PC-relative effective target address. 

Previously, the code generator did not perform the 
shift of the immediate branch offset which resulted 
in wrong instruction opcode. This patch fixes the issue.

Contributor: Vladimir Medic
llvm-svn: 177687
2013-03-22 00:29:10 +00:00
..
AArch64 AArch64: Undo change to how test was run 2013-02-11 10:51:41 +00:00
ARM Fix pr13145 - Naming a function like a register name confuses the asm parser. 2013-03-19 23:44:03 +00:00
AsmParser AsmParser: More generic support for integer type suffices. 2013-02-26 20:17:10 +00:00
COFF [MC][COFF] Delay handling symbol aliases when writing 2013-01-29 22:10:07 +00:00
Disassembler Fixes disassembler crashes on 2013 Haswell RTM instructions. 2013-03-11 21:17:13 +00:00
ELF Fix the FDE encoding to be relative on ELF. 2013-03-15 05:51:57 +00:00
MachO Revert r15266. This fixes llvm.org/pr15266. 2013-02-14 16:23:08 +00:00
Markup MC: Simple example parser for MC assembly markup. 2012-10-31 23:24:13 +00:00
MBlaze Continue cleanup of LIT, getting rid of the remaining artifacts from dejagnu 2012-03-25 09:02:19 +00:00
Mips Fix the invalid opcode for Mips branch instructions in the assembler 2013-03-22 00:29:10 +00:00
PowerPC PowerPC: EH adjustments 2013-01-09 17:08:15 +00:00
X86 Post process ADC/SBB and use a shorter encoding if they use a sign extended immediate. 2013-03-18 03:34:55 +00:00