Added missing alignment check to load/store uimm12 immediate offset.
authorYufeng Zhang <yufeng.zhang@arm.com>
Mon, 15 Oct 2012 14:52:06 +0000 (14:52 +0000)
committerYufeng Zhang <yufeng.zhang@arm.com>
Mon, 15 Oct 2012 14:52:06 +0000 (14:52 +0000)
commit9de794e14842cdc778c4ee490e613c7163c5a976
tree1b81633e536e6e41fa9a0b12acf5bbef9c83bf59
parentf05682d46014082c3afe2bff6d04a1d203bce119
Added missing alignment check to load/store uimm12 immediate offset.

opcodes/

* aarch64-opc.c (operand_general_constraint_met_p): Change to check
the alignment of addr.offset.imm instead of that of shifter.amount for
operand type AARCH64_OPND_ADDR_UIMM12.

gas/testsuite/

* gas/aarch64/illegal-2.s: Add test case.
* gas/aarch64/illegal-2.l: Likewise.
gas/testsuite/gas/aarch64/illegal-2.l
gas/testsuite/gas/aarch64/illegal-2.s
opcodes/aarch64-opc.c
This page took 0.053209 seconds and 4 git commands to generate.