llvm-6502/test/MC/PowerPC
Ulrich Weigand 027e94479c [PowerPC] Optimize @ha/@l constructs
This patch adds support for having the assembler optimize fixups
to constructs like "symbol@ha" or "symbol@l" if "symbol" can be
resolved at assembler time.

This optimization is already present in the PPCMCExpr.cpp code
for handling PPC_HA16/PPC_LO16 target expressions.  However,
those target expression were used only on Darwin targets.

This patch changes target expression code so that they are
usable also with the GNU assembler (using the @ha / @l syntax
instead of the ha16() / lo16() syntax), and changes the
MCInst lowering code to generate those target expressions
where appropriate.

It also changes the asm parser to generate HA16/LO16 target
expressions when parsing assembler source that uses the
@ha / @l modifiers.  The effect is that now the above-
mentioned optimization automatically becomes available
for those situations too.
 


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184436 91177308-0d34-0410-b5e6-96231b3b80d8
2013-06-20 16:23:52 +00:00
..
lit.local.cfg
ppc64-encoding-bookII.s [PowerPC] Add some Book II instructions to AsmParser 2013-05-03 19:51:09 +00:00
ppc64-encoding-ext.s [PowerPC] Support compare mnemonics with implied CR0 2013-06-20 16:15:12 +00:00
ppc64-encoding-fp.s [PowerPC] Add assembler parser 2013-05-03 19:49:39 +00:00
ppc64-encoding-vmx.s [PowerPC] Add assembler parser 2013-05-03 19:49:39 +00:00
ppc64-encoding.s [PowerPC] Support extended sc mnemonic 2013-06-10 17:19:43 +00:00
ppc64-errors.s [PowerPC] Add assembler parser 2013-05-03 19:49:39 +00:00
ppc64-fixup-apply.s [PowerPC] Optimize @ha/@l constructs 2013-06-20 16:23:52 +00:00
ppc64-fixups.s [PowerPC] Merge/rename PPC fixup types 2013-05-17 12:37:21 +00:00
ppc64-initial-cfa.s [MC/DWARF] Support .debug_frame / .debug_line code alignment factors 2013-06-12 14:46:54 +00:00
ppc64-operands.s [PowerPC] Add assembler parser 2013-05-03 19:49:39 +00:00
ppc64-relocs-01.s [PowerPC] Use assembler source in MC tests 2013-06-12 14:14:18 +00:00
ppc64-tls-relocs-01.s [PowerPC] Use assembler source in MC tests 2013-06-12 14:14:18 +00:00