llvm-6502/lib
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 Ignore apparent buffer overruns on external or weak globals. This is a major 2012-09-30 07:30:10 +00:00
Archive Mark checkSignature const, and in turn stop casting away const from 2012-09-05 22:09:23 +00:00
AsmParser Add in support for SPIR to LLVM core. This adds a new target and two new calling conventions. 2012-10-01 17:01:31 +00:00
Bitcode Move remaining methods inside the Attributes class. Merge the 'Attribute' namespaces. 2012-09-25 20:57:48 +00:00
CodeGen Enable -schedmodel, but prefer itineraries until we have more benchmark data. 2012-10-04 00:24:34 +00:00
DebugInfo Mark unimplemented copy constructors and copy assignment operators as LLVM_DELETED_FUNCTION. 2012-09-18 02:01:41 +00:00
ExecutionEngine Implement .rel relocation for R_ARM_ABS32 in MCJIT. 2012-10-03 16:29:42 +00:00
Linker Move the "findUsedStructTypes" functionality outside of the Module class. 2012-08-03 00:30:35 +00:00
MC Fix doxygen comment to match function name. 2012-10-03 06:47:18 +00:00
Object Reverting r 160419. 2012-07-19 21:43:55 +00:00
Support Improve overflow detection in StringRef::getAsUnsignedInteger(). 2012-10-02 20:01:48 +00:00
TableGen tblgen: Whitespace and 80-col cleanup. 2012-10-04 00:54:27 +00:00
Target Implement methods that enable expansion of load immediate 2012-10-04 04:03:53 +00:00
Transforms Fix PR13967. 2012-10-03 23:59:47 +00:00
VMCore Add methods which query for the specific attribute instead of using the 2012-10-03 17:54:26 +00:00
CMakeLists.txt
LLVMBuild.txt LLVMBuild: Introduce a common section which currently has a list of the 2011-12-12 22:45:54 +00:00
Makefile