llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc
Ulrich Weigand fd3ad693e8 [PowerPC] Support symbolic u16imm operands
Currently, all instructions taking s16imm operands support symbolic
operands.  However, for u16imm operands, we only support actual
immediate integers.  This causes the assembler to reject code like

  ori %r5, %r5, symbol@l

This patch changes the u16imm operand definition to likewise
accept symbolic operands.  In fact, s16imm and u16imm can
share the same encoding routine, now renamed to getImm16Encoding.

llvm-svn: 184944
2013-06-26 13:49:15 +00:00
..
CMakeLists.txt [PowerPC] Clean up generation of ha16() / lo16() markers 2013-05-23 22:26:41 +00:00
LLVMBuild.txt LLVMBuild: Remove trailing newline, which irked me. 2011-12-12 19:48:00 +00:00
Makefile
PPCAsmBackend.cpp [PowerPC] Support absolute branches 2013-06-24 11:03:33 +00:00
PPCELFObjectWriter.cpp [PowerPC] Support @got modifier 2013-06-25 16:49:50 +00:00
PPCFixupKinds.h [PowerPC] Support absolute branches 2013-06-24 11:03:33 +00:00
PPCMCAsmInfo.cpp [MC/DWARF] Support .debug_frame / .debug_line code alignment factors 2013-06-12 14:46:54 +00:00
PPCMCAsmInfo.h Emacs-tag and some comment fix for all ARM, CellSPU, Hexagon, MBlaze, MSP430, PPC, PTX, Sparc, X86, XCore. 2012-02-18 12:03:15 +00:00
PPCMCCodeEmitter.cpp [PowerPC] Support symbolic u16imm operands 2013-06-26 13:49:15 +00:00
PPCMCExpr.cpp [PowerPC] Support @higher et.al. modifiers 2013-06-21 14:43:42 +00:00
PPCMCExpr.h [PowerPC] Support @higher et.al. modifiers 2013-06-21 14:43:42 +00:00
PPCMCTargetDesc.cpp Remove the MachineMove class. 2013-05-13 01:16:13 +00:00
PPCMCTargetDesc.h To avoid symbol clash, undefine PPC here. PPC may be predefined on some hosts. 2013-03-17 12:40:42 +00:00
PPCPredicates.cpp [PowerPC] Add predicted forms of branches 2013-06-24 16:52:04 +00:00
PPCPredicates.h [PowerPC] Add predicted forms of branches 2013-06-24 16:52:04 +00:00