[PATCH, AArch64] Accept negative immediates in MOVI <imm8>

Yufeng Zhang Yufeng.Zhang@arm.com
Mon May 13 14:55:00 GMT 2013


Hi,

This patch changes the assembler to accept the range between -128 and 
255 in the MOVI <imm8> operand.

OK for the trunk?

Thanks,
Yufeng


gas/

2013-05-13  Yufeng Zhang  <yufeng.zhang@arm.com>

	* testsuite/gas/aarch64/diagnostic.s: Update.
	* testsuite/gas/aarch64/diagnostic.l: Ditto.
	* testsuite/gas/aarch64/movi.s: Add new tests.
	* testsuite/gas/aarch64/movi.d: Update.

opcodes/

2013-05-13  Yufeng Zhang  <yufeng.zhang@arm.com>

	* aarch64-asm.c (aarch64_ins_advsimd_imm_modified): Remove assertion.
	* aarch64-opc.c (operand_general_constraint_met_p): Relax the range
	check from [0, 255] to [-128, 255].
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20130513/d8d3400a/attachment.ksh>


More information about the Binutils mailing list