llvm-6502/lib
Ulrich Weigand 4456a8ec76 [PowerPC] Fix hi/lo encoding in old-style code emitter
This patch implements the equivalent change to r182091/r182092
in the old-style code emitter.  Instead of having two separate
16-bit immediate encoding routines depending on the instruction,
this patch introduces a single encoder that checks the machine
operand flags to decide whether the low or high half of a
symbol address is required.

Since now both encoders make no further distinction between
"symbolLo" and "symbolHi", the .td operand can now use a
single getS16ImmEncoding method.

Tested by running the old-style JIT tests on 32-bit Linux.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182097 91177308-0d34-0410-b5e6-96231b3b80d8
2013-05-17 14:14:12 +00:00
..
Analysis Respect the 'nobuiltin' attribute when determining if a call is to a memory builtin. 2013-05-16 04:12:04 +00:00
Archive
AsmParser
Bitcode
CodeGen Generate debug info for by-value struct args even if they are not used. 2013-05-16 23:44:12 +00:00
DebugInfo
ExecutionEngine Minor changes to the MCJITTest unittests to use the correct API for finalizing 2013-05-17 10:01:46 +00:00
IR Remove dead code. 2013-05-15 22:41:28 +00:00
IRReader
Linker
MC Cleanup relocation sorting for ELF. 2013-05-15 18:22:01 +00:00
Object Object: Fix Mach-O relocation printing. 2013-05-14 22:41:29 +00:00
Option
Support Fix build on Windows 2013-05-15 09:00:30 +00:00
TableGen
Target [PowerPC] Fix hi/lo encoding in old-style code emitter 2013-05-17 14:14:12 +00:00
Transforms [msan] Switch TLS globals to initial-exec model. 2013-05-16 09:14:05 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile