1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/MC/Mips
Simon Dardis edd0920371 [mips] MIPSR6 Compact jump support
This patch adds support for compact jumps similiar to the previous compact
branch support for MIPSR6. Unlike compact branches, compact jumps do not
have a forbidden slot.

As MipsInstrInfo::getEquivalentCompactForm can determine the correct
expansion for jumps and branches for both microMIPS and MIPSR6, remove the
unnecessary distinction in the delay slot filler.

Reviewers: vkalintiris

Subscribers: llvm-commits, dsanders
llvm-svn: 265390
2016-04-05 12:50:29 +00:00
..
cnmips [mips] Range check simm10 2016-03-24 13:26:59 +00:00
dsp [mips] Range check uimm16 and fix several bugs this revealed. 2016-02-01 15:13:31 +00:00
dspr2 [mips][microMIPS][DSP] Implement PACKRL.PH, PICK.PH, PICK.QB, SHILO, SHILOV and WRDSP instructions 2015-12-18 08:59:37 +00:00
eva [mips] Range check simm9 and fix a bug this revealed. 2016-03-31 13:15:23 +00:00
micromips [mips] Range check simm9 and fix a bug this revealed. 2016-03-31 13:15:23 +00:00
micromips32r6 [mips] Range check simm9 and fix a bug this revealed. 2016-03-31 13:15:23 +00:00
micromips64r6 [mips][microMIPS] Revert commits r264245 and r264248. 2016-04-02 23:06:13 +00:00
micromips-dsp [mips][microMIPS][DSP] Implement PACKRL.PH, PICK.PH, PICK.QB, SHILO, SHILOV and WRDSP instructions 2015-12-18 08:59:37 +00:00
micromips-dspr2 [mips][microMIPS][DSP] Implement PACKRL.PH, PICK.PH, PICK.QB, SHILO, SHILOV and WRDSP instructions 2015-12-18 08:59:37 +00:00
mips1 [mips] Range check simm16 2016-03-31 14:34:00 +00:00
mips2 [mips] Range check simm9 and fix a bug this revealed. 2016-03-31 13:15:23 +00:00
mips3 [mips] Range check uimm20 and fixed a bug this revealed. 2016-02-29 16:06:38 +00:00
mips4 [mips] Range check uimm20 and fixed a bug this revealed. 2016-02-29 16:06:38 +00:00
mips5 [mips] Range check uimm20 and fixed a bug this revealed. 2016-02-29 16:06:38 +00:00
mips32 [mips] Range check uimm20 and fixed a bug this revealed. 2016-02-29 16:06:38 +00:00
mips32r2 [mips] Range check simm16 2016-03-31 14:34:00 +00:00
mips32r3 [mips] Range check uimm20 and fixed a bug this revealed. 2016-02-29 16:06:38 +00:00
mips32r5 [mips] Invalid tests for MTC0, MTC2, MFC0, MFC2, DMTC0, DMFC0 MIPS instructions 2016-03-11 08:00:11 +00:00
mips32r6 [mips] MIPSR6 Compact jump support 2016-04-05 12:50:29 +00:00
mips64 [mips] Range check uimm20 and fixed a bug this revealed. 2016-02-29 16:06:38 +00:00
mips64r2 [mips] Range check uimm16_64 2016-03-14 12:44:44 +00:00
mips64r3 [mips] Range check uimm20 and fixed a bug this revealed. 2016-02-29 16:06:38 +00:00
mips64r5 [mips] Invalid tests for MTC0, MTC2, MFC0, MFC2, DMTC0, DMFC0 MIPS instructions 2016-03-11 08:00:11 +00:00
mips64r6 [MIPS][LLVM-MC] Fix JR encoding for MIPSR6 ISA 2016-04-01 11:55:33 +00:00
msa [mips] Split mem_msa into range checked mem_simm10 and mem_simm10_lsl[123] 2016-03-31 14:12:01 +00:00
asciiz-directive-bad.s [mips] [IAS] Implement the .asciiz directive. 2015-04-21 11:50:52 +00:00
asciiz-directive.s [mips] [IAS] Implement the .asciiz directive. 2015-04-21 11:50:52 +00:00
branch-pseudos-bad.s [mips] Add support for branch-likely pseudo-instructions 2015-09-15 15:06:26 +00:00
branch-pseudos.s [mips] Add support for branch-likely pseudo-instructions 2015-09-15 15:06:26 +00:00
cfi-advance-loc.s [MC/Dwarf] Encode DW_CFA_advance_loc in target endianess. 2015-06-17 15:14:35 +00:00
cfi.s
cpload-bad.s [mips] Improve error/warning messages and testing for the .cpload assembler directive. 2014-11-06 10:02:45 +00:00
cpload.s Move the Mips target to storing the ABI in the TargetMachine rather 2015-01-26 17:33:46 +00:00
cprestore-bad.s [mips] Add assembler support for the .cprestore directive. 2015-09-17 16:08:39 +00:00
cprestore-noreorder.s [mips] Add assembler support for the .cprestore directive. 2015-09-17 16:08:39 +00:00
cprestore-reorder.s [mips] Add assembler support for the .cprestore directive. 2015-09-17 16:08:39 +00:00
cprestore-warning-unused.s [mips] Add assembler support for the .cprestore directive. 2015-09-17 16:08:39 +00:00
cpsetup-bad.s [mips] [IAS] Fix using .cpsetup with local labels (PR22518). 2015-02-18 13:46:53 +00:00
cpsetup.s [mips][ias] Implement .cpreturn directive. 2015-09-22 10:50:09 +00:00
directive-ent.s [mips] .ent and .end should also set the type and size of the symbol respectively. 2015-11-23 16:08:03 +00:00
do_switch1.s
do_switch2.s
do_switch3.s Replace obsolete -mattr=n64 command line option with -target-abi=n64. No functional changes. 2015-02-26 12:29:48 +00:00
eh-frame.s Use CIE version 1 for .eh_frame. 2015-04-27 22:04:24 +00:00
elf_basic.s Use ELFOSABI_NONE instead of ELFOSABI_LINUX. 2015-09-24 20:57:24 +00:00
elf_eflags_abicalls.s [mips] Fix ELF e_flags related to -mabicalls and -mplt. 2014-07-17 09:52:56 +00:00
elf_eflags_micromips.s [mips] Fix ELF e_flags related to -mabicalls and -mplt. 2014-07-17 09:52:56 +00:00
elf_eflags_mips16.s [mips] Fix ELF e_flags related to -mabicalls and -mplt. 2014-07-17 09:52:56 +00:00
elf_eflags_nan2008.s [mips] Fix ELF e_flags related to -mabicalls and -mplt. 2014-07-17 09:52:56 +00:00
elf_eflags_nanlegacy.s [mips] Fix ELF e_flags related to -mabicalls and -mplt. 2014-07-17 09:52:56 +00:00
elf_eflags_noreorder.s [mips] Fix ELF e_flags related to -mabicalls and -mplt. 2014-07-17 09:52:56 +00:00
elf_eflags_pic0.s [mips] Fix ELF e_flags related to -mabicalls and -mplt. 2014-07-17 09:52:56 +00:00
elf_eflags_pic2.s [mips] Fix ELF e_flags related to -mabicalls and -mplt. 2014-07-17 09:52:56 +00:00
elf_eflags.s [mips] Add backend support for Mips32r[35] and Mips64r[35]. 2015-02-18 16:24:50 +00:00
elf_reginfo.s Move the Mips target to storing the ABI in the TargetMachine rather 2015-01-26 17:33:46 +00:00
elf_st_other.s [llvm-readobj] Decode st_other symbol's flags 2016-03-24 16:10:37 +00:00
elf-bigendian.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
elf-gprel-32-64.s
elf-N64.s
elf-relsym.s Revert r240302 ("Bring r240130 back."). 2015-06-23 11:31:32 +00:00
elf-tls.s Update tests to not be as dependent on section numbers. 2015-04-15 15:59:37 +00:00
expansion-jal-sym-pic.s [mips] Expand JAL instructions when PIC is enabled. 2015-08-18 16:18:09 +00:00
expr1.s [mips] [IAS] Fix parsing of memory offset expressions with parenthesis depth >1. 2015-06-25 09:52:02 +00:00
got-rel-expr.s [mips] Extend MipsAsmParser class to handle %got(sym + const) expressions 2016-02-09 22:31:49 +00:00
hex-immediates.s [mips] Use formatImm call to print immediate value in the MipsInstPrinter 2016-03-17 10:43:36 +00:00
higher-highest-addressing.s
hilo-addressing.s
insn-directive.s [llvm-readobj] Decode st_other symbol's flags 2016-03-24 16:10:37 +00:00
instalias-imm-expanding.s [mips] Range check simm32 and fold MIPS16's imm32 into simm32. 2016-04-04 15:32:49 +00:00
instr-analysis.s [MC][mips] Add MipsMCInstrAnalysis class and register it as MC instruction analyzer 2016-03-24 17:18:14 +00:00
lit.local.cfg
llvm-mc-fixup-endianness.s
macro-abs.s [mips] Absolute value macro expansion 2016-01-29 16:18:34 +00:00
macro-bcc-imm-bad.s [mips][ias] Implement macro expansion when bcc has an immediate where a register belongs. 2015-10-12 14:24:05 +00:00
macro-bcc-imm.s [mips][ias] Implement macro expansion when bcc has an immediate where a register belongs. 2015-10-12 14:24:05 +00:00
macro-ddiv-bad.s [mips] Added support for the div, divu, ddiv and ddivu macros which use traps and breaks in the integrated assembler. 2015-09-03 12:31:22 +00:00
macro-ddiv.s [mips] Added support for the div, divu, ddiv and ddivu macros which use traps and breaks in the integrated assembler. 2015-09-03 12:31:22 +00:00
macro-ddivu-bad.s [mips] Added support for the div, divu, ddiv and ddivu macros which use traps and breaks in the integrated assembler. 2015-09-03 12:31:22 +00:00
macro-ddivu.s [mips] Added support for the div, divu, ddiv and ddivu macros which use traps and breaks in the integrated assembler. 2015-09-03 12:31:22 +00:00
macro-div-bad.s [mips] Added support for the div, divu, ddiv and ddivu macros which use traps and breaks in the integrated assembler. 2015-09-03 12:31:22 +00:00
macro-div.s [mips] Added support for the div, divu, ddiv and ddivu macros which use traps and breaks in the integrated assembler. 2015-09-03 12:31:22 +00:00
macro-divu-bad.s [mips] Added support for the div, divu, ddiv and ddivu macros which use traps and breaks in the integrated assembler. 2015-09-03 12:31:22 +00:00
macro-divu.s [mips] Added support for the div, divu, ddiv and ddivu macros which use traps and breaks in the integrated assembler. 2015-09-03 12:31:22 +00:00
macro-dla-32bit.s [mips] Allowed dla instructions on 32-bit architectures. 2016-01-21 15:11:01 +00:00
macro-dla.s [mips] Changed the way symbols are handled in dla and la instructions to allow simple expressions. 2015-10-05 13:19:29 +00:00
macro-dli.s [mips] [IAS] Add support for the DLA pseudo-instruction and fix problems with DLI 2015-08-17 10:11:55 +00:00
macro-la-bad.s [mips] [IAS] Add support for the DLA pseudo-instruction and fix problems with DLI 2015-08-17 10:11:55 +00:00
macro-la.s [mips] Changed the way symbols are handled in dla and la instructions to allow simple expressions. 2015-10-05 13:19:29 +00:00
macro-li-bad.s [mips] Fix li/la differences between IAS and GAS. 2015-07-14 12:24:22 +00:00
macro-li.s [mips] Fix li/la differences between IAS and GAS. 2015-07-14 12:24:22 +00:00
micromips-16-bit-instructions.s [mips][microMIPS] Implement movep instruction 2015-02-10 16:36:20 +00:00
micromips-alias.s [llvm-readobj] Decode st_other symbol's flags 2016-03-24 16:10:37 +00:00
micromips-alu-instructions.s [mips][microMIPS] Implement ADDIUPC instruction 2015-01-21 12:10:11 +00:00
micromips-bad-branches.s [mips][microMIPS] Implement BEQZ16 and BNEZ16 instructions 2015-01-12 12:03:34 +00:00
micromips-branch-fixup.s [mips][microMIPS] MicroMIPS 16-bit unconditional branch instruction B 2015-01-21 12:39:30 +00:00
micromips-branch-instructions.s [mips][microMIPS] MicroMIPS 16-bit unconditional branch instruction B 2015-01-21 12:39:30 +00:00
micromips-control-instructions.s [mips][microMIPS] Implement PAUSE, RDHWR, RDPGPR, SDBBP, SSNOP, SYNC, SYNCI and WAIT instructions 2015-10-28 11:04:29 +00:00
micromips-diagnostic-fixup.s [Assembler] Make fatal assembler errors non-fatal 2015-11-17 10:00:43 +00:00
micromips-el-fixup-data.s
micromips-expansions.s [mips] Fix li/la differences between IAS and GAS. 2015-07-14 12:24:22 +00:00
micromips-fpu-instructions.s [mips][microMIPS] Fix opcodes of MFHC1 and MTHC1 instructions. 2014-11-19 13:37:51 +00:00
micromips-func-addr.s [mips][microMIPS] Relocate with symbol for micromips symbols 2014-12-30 22:04:16 +00:00
micromips-invalid.s [mips] Range check simm7. 2016-03-22 14:40:00 +00:00
micromips-jump26.s
micromips-jump-instructions.s [mips][microMIPS] Implement JALX instruction 2015-02-18 17:15:48 +00:00
micromips-label-test-sections.s [llvm-readobj] Decode st_other symbol's flags 2016-03-24 16:10:37 +00:00
micromips-label-test.s [llvm-readobj] Decode st_other symbol's flags 2016-03-24 16:10:37 +00:00
micromips-loadstore-instructions.s [mips][microMIPS] Implement PREFX, LHUE, LBE, LBUE, LHE, LWE, SBE, SHE and SWE instructions 2015-09-16 09:14:35 +00:00
micromips-loadstore-unaligned.s
micromips-movcond-instructions.s
micromips-multiply-instructions.s
micromips-pc16-fixup.s [Assembler] Make fatal assembler errors non-fatal 2015-11-17 10:00:43 +00:00
micromips-relocations.s
micromips-shift-instructions.s
micromips-tailr.s
micromips-trap-instructions.s
mips64-alu-instructions.s [mips][ias] Range check uimm5 operands and fix several bugs this revealed. 2015-11-26 16:35:41 +00:00
mips64-expansions.s [mips] Make symbols an acceptable branch target when expanding compare-to-immediate-and-branch macros. 2016-02-29 11:24:49 +00:00
mips64-instructions.s
mips64-register-names-n32-n64.s Move the Mips target to storing the ABI in the TargetMachine rather 2015-01-26 17:33:46 +00:00
mips64-register-names-o32.s Move the Mips target to storing the ABI in the TargetMachine rather 2015-01-26 17:33:46 +00:00
mips64eb-fixups.s
mips64extins.ll [mips] Range check uimm20 and fixed a bug this revealed. 2016-02-29 16:06:38 +00:00
mips64shift.ll
mips_abi_flags_xx_set.s [mips] llvm-readobj can parse .MIPS.abiflags. No need to check the bytes. 2015-06-23 10:11:36 +00:00
mips_abi_flags_xx.s [mips] llvm-readobj can parse .MIPS.abiflags. No need to check the bytes. 2015-06-23 10:11:36 +00:00
mips_directives_bad.s [mips] Improve the error messages given by MipsAsmParser. 2014-09-16 15:00:52 +00:00
mips_directives.s [mips] [IAS] Emit .set macro/nomacro. 2015-05-14 13:42:10 +00:00
mips_gprel16.s
mips-abi-bad.s [mips] [IAS] Add missing constraints and improve testing for the .module directive. 2015-03-06 12:15:12 +00:00
mips-alu-instructions.s [mips] Remap move as or. 2015-08-11 08:56:25 +00:00
mips-bad-branches.s
mips-control-instructions.s [mips] Range check uimm20 and fixed a bug this revealed. 2016-02-29 16:06:38 +00:00
mips-cop0-reginfo.s [mips] Add COP0 register class and use it in M[FT]C0/DM[FT]C0. 2015-06-27 15:39:19 +00:00
mips-coprocessor-encodings.s
mips-data-directives.s [mips] Implemented the .hword directive. 2016-02-15 16:11:51 +00:00
mips-diagnostic-fixup.s [Assembler] Make fatal assembler errors non-fatal 2015-11-17 10:00:43 +00:00
mips-expansions-bad.s [mips][ias] Implement ulh macro. 2015-10-15 14:52:58 +00:00
mips-expansions.s [mips] Make symbols an acceptable branch target when expanding compare-to-immediate-and-branch macros. 2016-02-29 11:24:49 +00:00
mips-fpu-instructions.s [mips64] Emit correct addend for some PC-relative relocations 2015-06-23 13:54:42 +00:00
mips-hwr-register-names.s [mips] Add hardware register name "hwr_ulr" ($29) 2014-11-11 11:22:39 +00:00
mips-jump-delay-slots.s [mips] [IAS] Add support for the BNEZL and BEQZL pseudo-instructions. 2015-04-08 12:15:05 +00:00
mips-jump-instructions.s
mips-memory-instructions.s
mips-noat.s [mips] Improve support for the .set at/noat assembler directives. 2015-02-13 10:30:57 +00:00
mips-pc16-fixup.s [Assembler] Make fatal assembler errors non-fatal 2015-11-17 10:00:43 +00:00
mips-pdr-bad.s Re-commit: [mips] Implement .ent, .end, .frame, .mask and .fmask. 2014-08-13 10:07:34 +00:00
mips-pdr.s [mips] Removed the SHF_ALLOC flag and the SHT_REL flag from the .pdr section. 2016-02-17 11:15:16 +00:00
mips-reginfo-fp32.s [mips] Add MipsOptionRecord abstraction and use it to implement .reginfo/.MIPS.options 2014-07-21 13:30:55 +00:00
mips-reginfo-fp64.s Move the Mips target to storing the ABI in the TargetMachine rather 2015-01-26 17:33:46 +00:00
mips-register-names-invalid.s
mips-register-names-o32.s
module-directive-bad.s [mips] [IAS] Emit .set macro/nomacro. 2015-05-14 13:42:10 +00:00
module-hardfloat.s [mips] [IAS] Add support for the .module softfloat/hardfloat directives. 2015-06-30 13:46:03 +00:00
module-softfloat.s [mips] [IAS] Add support for the .module softfloat/hardfloat directives. 2015-06-30 13:46:03 +00:00
multi-64bit-func.ll
nabi-regs.s Move the Mips target to storing the ABI in the TargetMachine rather 2015-01-26 17:33:46 +00:00
nacl-mask.s Fix Mips nacl-mask test for new bundle-aligned label behavior 2014-10-22 23:32:00 +00:00
nooddspreg-cmdarg.s Move the Mips target to storing the ABI in the TargetMachine rather 2015-01-26 17:33:46 +00:00
nooddspreg-error.s
nooddspreg.s Move the Mips target to storing the ABI in the TargetMachine rather 2015-01-26 17:33:46 +00:00
octeon-instructions.s [mips] Add new format for dmtc2/dmfc2 for Octeon CPUs. 2015-05-28 16:23:16 +00:00
oddspreg.s Move the Mips target to storing the ABI in the TargetMachine rather 2015-01-26 17:33:46 +00:00
pr11877.s
r-mips-got-disp.s
reloc-directive-bad.s Implement .reloc (constant offset only) with support for R_MIPS_NONE and R_MIPS_32. 2015-11-12 13:33:00 +00:00
reloc-directive-negative.s [MC, COFF] Add .reloc support for WinCOFF 2016-01-19 23:05:27 +00:00
reloc-directive.s Implement .reloc (constant offset only) with support for R_MIPS_NONE and R_MIPS_32. 2015-11-12 13:33:00 +00:00
relocation.s [mips64] Emit correct addend for some PC-relative relocations 2015-06-23 13:54:42 +00:00
rotations32-bad.s [mips] Add tests for ROL and ROR macros expansion 2015-11-19 15:04:31 +00:00
rotations32.s [mips] Add tests for ROL and ROR macros expansion 2015-11-19 15:04:31 +00:00
rotations64.s [mips] Add tests for ROL and ROR macros expansion 2015-11-19 15:04:31 +00:00
set-arch.s [mips] Add backend support for Mips32r[35] and Mips64r[35]. 2015-02-18 16:24:50 +00:00
set-at-directive-explicit-at.s [mips] [IAS] Improve warning for using AT with .set noat. 2015-04-27 14:05:04 +00:00
set-at-directive.s [mips] Improve support for the .set at/noat assembler directives. 2015-02-13 10:30:57 +00:00
set-at-noat-bad-syntax.s [mips] Improve support for the .set at/noat assembler directives. 2015-02-13 10:30:57 +00:00
set-defined-symbol.s [mips] [IAS] Allow .set assignments for already defined symbols. 2015-04-07 13:59:39 +00:00
set-mips0-directive.s [mips] Add assembler support for .set mips0 directive. 2014-09-09 12:52:14 +00:00
set-mips16-directive.s [mips] Improve support for the .set mips16/nomips16 assembler directives. 2014-11-04 17:18:07 +00:00
set-mips-directives-bad.s [mips] Add backend support for Mips32r[35] and Mips64r[35]. 2015-02-18 16:24:50 +00:00
set-mips-directives.s [mips] Add backend support for Mips32r[35] and Mips64r[35]. 2015-02-18 16:24:50 +00:00
set-nodsp.s [mips] Add assembler support for the .set nodsp directive. 2014-09-17 09:01:54 +00:00
set-nomacro-micromips.s [mips] [IAS] Enforce .set nomacro. 2015-05-14 14:51:32 +00:00
set-nomacro.s [mips][ias] Implement ulh macro. 2015-10-15 14:52:58 +00:00
set-oddspreg-nooddspreg-error.s [mips] [IAS] Add support for the .set oddspreg/nooddspreg directives. 2015-06-30 09:36:50 +00:00
set-oddspreg-nooddspreg.s [mips] [IAS] Add support for the .set oddspreg/nooddspreg directives. 2015-06-30 09:36:50 +00:00
set-push-pop-directives-bad.s Recommit "[mips] [IAS] Restore STI.FeatureBits in .set pop." (r239144). 2015-06-09 13:33:26 +00:00
set-push-pop-directives.s Recommit "[mips] [IAS] Restore STI.FeatureBits in .set pop." (r239144). 2015-06-09 13:33:26 +00:00
set-softfloat-hardfloat-bad.s [mips] [IAS] Add support for the .set softfloat/hardfloat directives. 2015-06-02 09:48:04 +00:00
set-softfloat-hardfloat.s [mips] [IAS] Add support for the .set softfloat/hardfloat directives. 2015-06-02 09:48:04 +00:00
sext_64_32.ll
sort-relocation-table.s Re-enable target-specific relocation table sorting and use it for Mips 2015-04-14 13:23:34 +00:00
sym-expr.s
sym-offset.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
target-soft-float.s [mips] Add the SoftFloat MipsSubtarget feature. 2015-05-07 10:29:52 +00:00
unaligned-nops.s Support padding unaligned data in .text. 2014-10-02 13:41:42 +00:00
update-module-level-options.s [mips] [IAS] Make .module directives change AssemblerOptions->front(). 2015-06-30 12:41:33 +00:00
user-macro-argument-separation.s [MC] Fixed parsing of macro arguments where expressions with spaces are present. 2016-02-11 13:48:49 +00:00
xgot.s Revert r240302 ("Bring r240130 back."). 2015-06-23 11:31:32 +00:00