hanchenye-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
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
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
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