This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re:[Ping] [Patch, AArch64] Add support for hexadecimal-form floating-point immediate


Ping~

On 11/05/12 19:19, Yufeng Zhang wrote:
Hi,

This patch adds to the AArch64 GAS the support for the floating-point
immediate as a string beginning “0x” followed by the hexadecimal
representation of its IEEE754 encoding.  This kind of fp immediate can
appear as the 2nd operand of any of the following instructions:

FMOV Sd, #fpimm
FMOV Dd, #fpimm
FMOV Vn.<T>, #fpimm

OK to commit?


Thanks, Yufeng



include/opcode/

2012-11-05 Yufeng Zhang<yufeng.zhang@arm.com>

	* aarch64.h (aarch64_get_sp_fp_enc): New function declaration.
	(aarch64_get_dp_fp_enc): Ditto.
	(aarch64_get_sp_fp_from_enc): Ditto.
	(aarch64_get_dp_fp_from_enc): Ditto.

opcodes/

2012-11-05 Yufeng Zhang<yufeng.zhang@arm.com>

	* aarch64-opc.c (aarch64_get_sp_fp_enc): New function.
	(aarch64_get_dp_fp_enc): Ditto.
	(aarch64_get_sp_fp_from_enc): Ditto.
	(aarch64_get_dp_fp_from_enc): Ditto.
	(aarch64_print_operand): Update.

gas/

2012-11-05 Yufeng Zhang<yufeng.zhang@arm.com>

	* config/tc-aarch64.c (parse_aarch64_imm_float): Add parameter 'dp_p';
	handle hexadecimal representation of IEEE754 encoding.
	(parse_operands): Update the call to parse_aarch64_imm_float.

gas/testsuite/

2012-11-05 Yufeng Zhang<yufeng.zhang@arm.com>

	* gas/aarch64/diagnostic.s: Add test.
	* gas/aarch64/diagnostic.l: Update.
	* gas/aarch64/illegal.s: Add test.
	* gas/aarch64/illegal.l: Update.
	* gas/aarch64/fpmov.s: New file.
	* gas/aarch64/fpmov.d: New file.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]