ARM64: use hex immediates for movz/movk instructions
authorTim Northover <tnorthover@apple.com>
Wed, 30 Apr 2014 11:19:40 +0000 (11:19 +0000)
committerTim Northover <tnorthover@apple.com>
Wed, 30 Apr 2014 11:19:40 +0000 (11:19 +0000)
commitebde5a5e49a662cd9191041306443b7116034c52
tree7655f3051a9121e52f690f3a211ffa03f9f4e6ee
parent87476b607cfcfa3db89a7c3d2e403e9246c9927d
ARM64: use hex immediates for movz/movk instructions

Since these are mostly used in "lsl #16", "lsl #32", "lsl #48" combinations to
piece together an immediate in 16-bit chunks, hex is probably the most
appropriate format.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207635 91177308-0d34-0410-b5e6-96231b3b80d8
20 files changed:
lib/Target/ARM64/ARM64InstrFormats.td
test/CodeGen/AArch64/cond-sel.ll
test/CodeGen/AArch64/func-calls.ll
test/CodeGen/AArch64/movw-consts.ll
test/CodeGen/ARM64/abi_align.ll
test/CodeGen/ARM64/atomic.ll
test/CodeGen/ARM64/bitfield-extract.ll
test/CodeGen/ARM64/const-addr.ll
test/CodeGen/ARM64/fast-isel-addr-offset.ll
test/CodeGen/ARM64/fast-isel-gv.ll
test/CodeGen/ARM64/fast-isel-intrinsic.ll
test/CodeGen/ARM64/fp128.ll
test/CodeGen/ARM64/memcpy-inline.ll
test/CodeGen/ARM64/movi.ll
test/CodeGen/ARM64/patchpoint.ll
test/CodeGen/ARM64/register-pairing.ll
test/CodeGen/ARM64/variadic-aapcs.ll
test/MC/ARM64/aliases.s
test/MC/ARM64/arithmetic-encoding.s
test/MC/Disassembler/ARM64/arithmetic.txt