1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/test/MC/Mips
Toma Tabacu e91297ac8b [mips] Add assembler support for .set arch=x directive.
Summary:
This directive is similar to ".set mipsX".
It is used to change the CPU target of the assembler, enabling it to accept instructions for a specific CPU.

This patch only implements the r4000 CPU (which is treated internally as generic mips3) and the generic ISAs.

Contains work done by Matheus Almeida.

Reviewers: dsanders

Reviewed By: dsanders

Differential Revision: http://reviews.llvm.org/D4884

llvm-svn: 215978
2014-08-19 14:22:52 +00:00
..
mips1 [mips] SYNC $stype instruction was added in Mips32 2014-06-18 17:10:30 +00:00
mips2 [mips] SYNC $stype instruction was added in Mips32 2014-06-18 17:10:30 +00:00
mips3 [mips] SYNC $stype instruction was added in Mips32 2014-06-18 17:10:30 +00:00
mips4 Revert: r215698 - Current implementation of c.cond.fmt instructions only accept default cc0 register... 2014-08-17 19:47:47 +00:00
mips5 Revert: r215698 - Current implementation of c.cond.fmt instructions only accept default cc0 register... 2014-08-17 19:47:47 +00:00
mips32 Revert: r215698 - Current implementation of c.cond.fmt instructions only accept default cc0 register... 2014-08-17 19:47:47 +00:00
mips32r2 Revert: r215698 - Current implementation of c.cond.fmt instructions only accept default cc0 register... 2014-08-17 19:47:47 +00:00
mips32r6 [mips][mips64r6] Correct cond names in the cmp.cond.[ds] instructions 2014-07-09 10:40:20 +00:00
mips64 Revert: r215698 - Current implementation of c.cond.fmt instructions only accept default cc0 register... 2014-08-17 19:47:47 +00:00
mips64r2 Revert: r215698 - Current implementation of c.cond.fmt instructions only accept default cc0 register... 2014-08-17 19:47:47 +00:00
mips64r6 [mips][mips64r6] Correct cond names in the cmp.cond.[ds] instructions 2014-07-09 10:40:20 +00:00
msa [mips] Add assembler support for .set msa/nomsa directive. 2014-08-07 12:03:36 +00:00
cfi.s [mips] Rewrite MipsAsmParser and MipsOperand. 2014-04-01 10:35:28 +00:00
cpload-bad.s [mips] Add support for .cpload. 2014-04-30 11:28:42 +00:00
cpload.s [mips] Add support for .cpload. 2014-04-30 11:28:42 +00:00
cpsetup-bad.s [mips] Remove the last usage of parseRegister from MipsAsmParser. 2014-06-18 13:08:59 +00:00
cpsetup.s [mips] Move expansion of .cpsetup to target streamer. 2014-05-01 10:24:46 +00:00
do_switch1.s Convert "llc -filetype=obj" test into llvm-mc tests. 2014-03-28 18:30:07 +00:00
do_switch2.s Convert "llc -filetype=obj" test into llvm-mc tests. 2014-03-28 18:30:07 +00:00
do_switch3.s Parse .gpdword and convert another llc -filetype=obj test. 2014-03-28 18:50:26 +00:00
eh-frame.s Emit DWARF3 call frame information when DWARF3+ debug info is requested 2014-06-19 15:39:33 +00:00
elf_basic.s
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] Correct ELF e_flags for the N32 ABI when using a mips-* triple rather than a mips64-* triple 2014-07-17 10:02:08 +00:00
elf_reginfo.s [mips] .reginfo is 8 byte aligned on N32. 2014-07-17 10:10:04 +00:00
elf_st_other.s Only mark functions as micromips. 2014-01-15 03:07:12 +00:00
elf-bigendian.ll
elf-gprel-32-64.s [mips] Emit all three relocation operations for each relocation entry on Mips64 big-endian systems. 2014-04-30 11:21:10 +00:00
elf-N64.s [mips] Emit all three relocation operations for each relocation entry on Mips64 big-endian systems. 2014-04-30 11:21:10 +00:00
elf-objdump.s
elf-relsym.s Map ELf flags back to more specific section kinds. 2014-03-28 19:14:08 +00:00
elf-tls.s Convert another llc -filetype=obj test. 2014-03-28 19:19:28 +00:00
expr1.s
higher-highest-addressing.s [mips] Extend MipsMCExpr class to handle %higher(sym1 - sym2 + const) and 2014-04-03 10:37:45 +00:00
hilo-addressing.s Changed comment. 2014-02-07 11:16:02 +00:00
lit.local.cfg Reduce verbiage of lit.local.cfg files 2014-06-09 22:42:55 +00:00
llvm-mc-fixup-endianness.s [mips] Work around inconsistency in llvm-mc's placement of fixup markers 2014-05-23 13:35:24 +00:00
micromips-16-bit-instructions.s Implementation of 16-bit microMIPS instructions MFHI and MFLO. 2014-04-03 12:47:34 +00:00
micromips-alias.s Mark alias symbols as microMIPS if necessary. Differential Revision: http://llvm-reviews.chandlerc.com/D3080 2014-03-20 09:44:49 +00:00
micromips-alu-instructions.s Implementation of microMIPS 16-bit instructions MOVE and JALR. 2014-03-20 10:18:24 +00:00
micromips-bad-branches.s [mips] Add checks for alignment and maximum displacements for most of the 2013-12-13 11:11:02 +00:00
micromips-branch16.s Support for microMIPS branch instructions. 2013-11-04 14:53:22 +00:00
micromips-branch-instructions.s Support for microMIPS branch instructions. 2013-11-04 14:53:22 +00:00
micromips-control-instructions.s [mips] Marked up instructions added in MIPS32r2 and tested that IAS for -mcpu=mips(2|32) does not accept them 2014-05-13 11:45:36 +00:00
micromips-diagnostic-fixup.s [mips] Add checks for alignment and maximum displacements for most of the 2013-12-13 11:11:02 +00:00
micromips-el-fixup-data.s Fix some doc and comment typos 2014-04-09 14:47:27 +00:00
micromips-expansions.s Added tests for microMIPS relocations 1. 2013-10-24 10:55:00 +00:00
micromips-expressions.s Added tests for microMIPS relocations 1. 2013-10-24 10:55:00 +00:00
micromips-fpu-instructions.s Support for microMIPS FPU instructions 2. 2013-12-25 10:09:27 +00:00
micromips-jump26.s Support for microMIPS jump instructions 2013-10-29 16:38:59 +00:00
micromips-jump-instructions.s Implementation of microMIPS 16-bit instructions MOVE and JALR. 2014-03-20 10:18:24 +00:00
micromips-loadstore-instructions.s Added support for LWU microMIPS instruction. 2014-01-15 13:01:18 +00:00
micromips-loadstore-unaligned.s
micromips-movcond-instructions.s
micromips-multiply-instructions.s
micromips-pc16-fixup.s [mips] Fix off by one issue when applying a fixup. 2013-12-17 17:10:00 +00:00
micromips-relocations.s Support for microMIPS TLS relocations. 2013-12-19 16:02:32 +00:00
micromips-shift-instructions.s
micromips-tailr.s Support for microMIPS jump instructions 2013-10-29 16:38:59 +00:00
micromips-trap-instructions.s Use instr mapping for microMIPS in llvm-mc. 2013-11-15 08:07:34 +00:00
mips64-alu-instructions.s [mips] Use TwoOperandAliasConstraint for ArithLogicR instructions. 2014-03-26 16:09:43 +00:00
mips64-expansions.s [mips] Implementation of dli. 2014-06-19 15:08:04 +00:00
mips64-instructions.s
mips64-register-names-n32-n64.s [mips] Add tests for t0-t3 for N32/N64 2014-03-26 11:46:34 +00:00
mips64-register-names-o32.s [mips] The register names depend on the ABI being N32/N64 rather than the arch being mips64 2014-03-26 11:39:07 +00:00
mips64eb-fixups.s [mips] support FK_Data_2 and FK_Data_8 to fix big-endian debug data 2014-03-03 14:27:49 +00:00
mips64extins.ll
mips64shift.ll
mips_abi_flags_xx_set.s Re-commit: [mips] Correct section alignments and EntrySizes for .bss, .text, .data, .reginfo, .MIPS.options, and .MIPS.abiflags 2014-07-14 15:05:51 +00:00
mips_abi_flags_xx.s [mips] Correct .MIPS.abiflags for -mfpxx on MIPS32r6 2014-07-17 09:57:23 +00:00
mips_directives_bad.s [mips] Add support for '.option pic2'. 2014-03-26 13:40:29 +00:00
mips_directives.s [mips] Work around inconsistency in llvm-mc's placement of fixup markers 2014-05-23 13:35:24 +00:00
mips_gprel16.s [mips] Work around inconsistency in llvm-mc's placement of fixup markers 2014-05-23 13:35:24 +00:00
mips-abi-bad.s Mips.abiflags is a new implicitly generated section that will be present on all new modules. The section contains a versioned data structure which represents essentially information to allow a program loader to determine the requirements of the application. This patch implements mips.abiflags section and provides test cases for it. 2014-07-08 08:59:22 +00:00
mips-alu-instructions.s [mips] Use TwoOperandAliasConstraint for ArithLogicR instructions. 2014-03-26 16:09:43 +00:00
mips-bad-branches.s [mips] Add checks for alignment and maximum displacements for most of the 2013-12-13 11:11:02 +00:00
mips-control-instructions.s TableGen: use PrintMethods to print more aliases 2014-05-12 18:04:06 +00:00
mips-coprocessor-encodings.s
mips-data-directives.s Mips.abiflags is a new implicitly generated section that will be present on all new modules. The section contains a versioned data structure which represents essentially information to allow a program loader to determine the requirements of the application. This patch implements mips.abiflags section and provides test cases for it. 2014-07-08 08:59:22 +00:00
mips-diagnostic-fixup.s [mips] Add checks for alignment and maximum displacements for most of the 2013-12-13 11:11:02 +00:00
mips-dsp-instructions.s [mips] Set HI/LO registers' HWEncoding field. 2013-10-15 01:00:00 +00:00
mips-expansions-bad.s [mips] Implementation of dli. 2014-06-19 15:08:04 +00:00
mips-expansions.s [mips] Add assembler support for the "la $reg,symbol" pseudo-instruction. 2014-08-14 10:29:17 +00:00
mips-fpu-instructions.s This patch fixes a bug in floating point operands parsing, when instruction alias uses default register operand. 2013-11-13 09:48:53 +00:00
mips-jump-instructions.s This patch implements jalx instruction for Mips architecture.This instruction executes a procedure call within the current 256 MB-aligned region and change the ISA Mode from MIPS32 to microMIPS32 or MIPS16e. Usage samples for assembler and dissasembler are provided as well. 2014-03-03 13:12:59 +00:00
mips-memory-instructions.s
mips-noat.s [mips] Report correct location when "erroring" about the use of $at when it's not available. 2014-06-18 14:46:05 +00:00
mips-pc16-fixup.s [mips] Fix off by one issue when applying a fixup. 2013-12-17 17:10:00 +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 Re-commit: [mips] Implement .ent, .end, .frame, .mask and .fmask. 2014-08-13 10:07:34 +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 [mips] Add MipsOptionRecord abstraction and use it to implement .reginfo/.MIPS.options 2014-07-21 13:30:55 +00:00
mips-register-names-invalid.s [mips] Rewrite MipsAsmParser and MipsOperand. 2014-04-01 10:35:28 +00:00
mips-register-names-o32.s [mips] The register names depend on the ABI being N32/N64 rather than the arch being mips64 2014-03-26 11:39:07 +00:00
mips-relocations.s
multi-64bit-func.ll
nabi-regs.s [mips] Make it impossible to have UnknownABI in CodeGen and Integrated Assembler. 2014-02-20 14:58:19 +00:00
nacl-mask.s [mips] Fix a bug for NaCl target - Don't report the error when non-dangerous 2014-06-09 14:09:28 +00:00
nooddspreg-cmdarg.s Re-commit: [mips] Correct section alignments and EntrySizes for .bss, .text, .data, .reginfo, .MIPS.options, and .MIPS.abiflags 2014-07-14 15:05:51 +00:00
nooddspreg-error.s [mips] Add support for -modd-spreg/-mno-odd-spreg 2014-07-10 13:38:23 +00:00
nooddspreg.s Re-commit: [mips] Correct section alignments and EntrySizes for .bss, .text, .data, .reginfo, .MIPS.options, and .MIPS.abiflags 2014-07-14 15:05:51 +00:00
octeon-instructions.s [mips] Add Octeon cnMips instructions seqi/snei and v3mulu/vmm0/vmulu. 2014-04-04 16:21:59 +00:00
oddspreg.s Re-commit: [mips] Correct section alignments and EntrySizes for .bss, .text, .data, .reginfo, .MIPS.options, and .MIPS.abiflags 2014-07-14 15:05:51 +00:00
pr11877.s
r-mips-got-disp.s Convert llc -filetype=obj test. 2014-03-28 19:41:33 +00:00
set-arch.s [mips] Add assembler support for .set arch=x directive. 2014-08-19 14:22:52 +00:00
set-at-directive-explicit-at.s [mips] Rewrite MipsAsmParser and MipsOperand. 2014-04-01 10:35:28 +00:00
set-at-directive.s [mips] Correct testcase for .set at=$reg and emit the new warnings for numeric registers too. 2014-03-25 11:16:03 +00:00
set-mips-directives-bad.s [mips] Add assembler support for '.set mipsX'. 2014-08-04 12:20:00 +00:00
set-mips-directives.s [mips] Add assembler support for '.set mipsX'. 2014-08-04 12:20:00 +00:00
sext_64_32.ll
sym-expr.s [mips] Extend ParseJumpTarget to support the full symbol expression syntax. 2014-04-01 10:41:48 +00:00
sym-offset.ll
xgot.s Don't relocate with sections if there might be a paired relocation. 2014-03-31 19:00:23 +00:00