llvm-6502/test/MC/Mips
Jack Carter 9d577c8614 Implement methods that enable expansion of load immediate
macro instruction (li) in the assembler.

We have identified three possible expansions depending on 
the size of immediate operand:
  1) for 0 ≤ j ≤ 65535.
     li d,j =>
     ori d,$zero,j

  2) for −32768 ≤ j < 0.
     li d,j =>
     addiu d,$zero,j

  3) for any other value of j that is representable as a 32-bit integer.
     li d,j =>
     lui d,hi16(j)
     ori d,d,lo16(j)

All of the above have been implemented in ths patch.

Contributer: Vladimir Medic


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165199 91177308-0d34-0410-b5e6-96231b3b80d8
2012-10-04 04:03:53 +00:00
..
do_switch.ll For mips64 switch statements in subroutines could generate 2012-08-22 00:49:30 +00:00
elf_basic.s Pass the correct ELFOSABI enumeration to the MipsELFObjectWriter constructor 2012-07-02 20:04:43 +00:00
elf-bigendian.ll Make the following changes in MipsAsmPrinter.cpp: 2012-05-12 00:48:43 +00:00
elf-N64.ll Add option disable-mips-delay-filler. Turn on mips' delay slot filler by 2012-08-22 02:51:28 +00:00
elf-objdump.s PR13013: ELF Type identification fails for MSB type ELF files. 2012-06-25 14:48:43 +00:00
elf-relsym.ll
elf-tls.ll
higher_highest.ll Fix mips' long branch pass. 2012-08-28 03:03:05 +00:00
lea_64.ll The Mips64InstrInfo.td definitions DynAlloc64 LEA_ADDiu64 2012-08-06 23:29:06 +00:00
lit.local.cfg
mips64extins.ll The instruction DINS may be transformed into DINSU or DEXTM depending 2012-08-31 18:06:48 +00:00
mips64shift.ll Some instructions are passed to the assembler to be 2012-08-28 19:07:39 +00:00
mips_directives.s This patch is a partial implementation of mips .set assembler directive. Directive is defined as follows: 2012-10-04 02:29:46 +00:00
mips-alu-instructions.s The Mips standalone assembler aliased instruction support. 2012-09-07 01:42:38 +00:00
mips-expansions.s Implement methods that enable expansion of load immediate 2012-10-04 04:03:53 +00:00
mips-fpu-instructions.s The Mips standalone assembler fpu instruction support. 2012-09-07 00:23:42 +00:00
mips-jump-instructions.s The Mips standalone assembler aliased instruction support. 2012-09-07 01:42:38 +00:00
mips-memory-instructions.s The Mips standalone assembler fpu instruction support. 2012-09-07 00:23:42 +00:00
mips-relocations.s Initial relocations test for the Mips standalone assembler. 2012-09-07 20:38:18 +00:00
multi-64bit-func.ll Add option disable-mips-delay-filler. Turn on mips' delay slot filler by 2012-08-22 02:51:28 +00:00
pr11877.s
r-mips-got-disp.ll The Mips specific relocation R_MIPS_GOT_DISP 2012-07-13 19:15:47 +00:00
sext_64_32.ll Another 32 to 64 bit sign extension bug. 2012-08-09 19:43:18 +00:00
sym-offset.ll Insert instructions to the entry basic block which initializes the global 2012-05-12 00:17:17 +00:00