diff options
author | Amaury de la Vieuville <amaury.dlv@gmail.com> | 2013-06-18 08:13:05 +0000 |
---|---|---|
committer | Amaury de la Vieuville <amaury.dlv@gmail.com> | 2013-06-18 08:13:05 +0000 |
commit | eac0bad0843b98cd567aae76a41ca50f3d87dd0e (patch) | |
tree | 56343b3564ee8546af8466c6c851dab01daa340b /llvm/lib/Object/ObjectFile.cpp | |
parent | aa7fdf8741958a35ff06ef993ebb8e4379afe56e (diff) | |
download | llvm-eac0bad0843b98cd567aae76a41ca50f3d87dd0e.zip llvm-eac0bad0843b98cd567aae76a41ca50f3d87dd0e.tar.gz llvm-eac0bad0843b98cd567aae76a41ca50f3d87dd0e.tar.bz2 |
ARM: fix literal load with positive offset encoding
When using a positive offset, literal loads where encoded
as if it was negative, because:
- The sign bit was not assigned to an operand
- The addrmode_imm12 operand was not encoding the sign bit correctly
This patch also makes the assembler look at the .w/.n specifier for
loads.
llvm-svn: 184182
Diffstat (limited to 'llvm/lib/Object/ObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions