llvm/test
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
..
Analysis Add default JIT LIT variable. 2012-10-02 10:57:08 +00:00
Archive
Assembler
Bindings/Ocaml
Bitcode BitcodeReader: Correctly insert blockaddress constant referring to a already parsed function. 2012-09-21 14:34:31 +00:00
BugPoint
CodeGen [ms-inline asm] Add support in the X86AsmPrinter for printing memory references 2012-10-03 22:06:44 +00:00
DebugInfo Revert 165051-165049 while looking into the foreach.m failure in 2012-10-03 08:10:01 +00:00
ExecutionEngine Implement .rel relocation for R_ARM_ABS32 in MCJIT. 2012-10-03 16:29:42 +00:00
Feature
Instrumentation tsan: update the test for new atomic enums 2012-10-03 13:19:20 +00:00
Integer
Linker
MC Implement methods that enable expansion of load immediate 2012-10-04 04:03:53 +00:00
Object Fix SymbolRef::getAddress implementation for ELF. The 'value' field in symbol table entry should be treated differently for relocatable and relocated files. This patch fixes symbol addresses printed by llvm-nm for executables and shared objects. 2012-09-21 07:08:08 +00:00
Other Forgot the SPIR test case. 2012-10-01 17:07:51 +00:00
Scripts
TableGen
Transforms Fix PR13967. 2012-10-03 23:59:47 +00:00
Unit
Verifier
YAMLParser
CMakeLists.txt
lit.cfg test/ExecutionEngine/MCJIT: MCJIT should work also on mingw. 2012-10-03 01:42:37 +00:00
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh