Add to the AArch64 GAS the missing support for hexadecimal-format
authorYufeng Zhang <yufeng.zhang@arm.com>
Tue, 5 Mar 2013 16:31:44 +0000 (16:31 +0000)
committerYufeng Zhang <yufeng.zhang@arm.com>
Tue, 5 Mar 2013 16:31:44 +0000 (16:31 +0000)
commit62b0d0d5f3b116a7e7014ef50d3103bbef7a89de
treea4018302ccb80efd6372d299eca89638e14029ee
parent334ad4a8e4eca1cdc483ff3d24348b34488769eb
Add to the AArch64 GAS the missing support for hexadecimal-format
floating-point literal in the FMOV instruction.

gas/

* config/tc-aarch64.c (aarch64_imm_float_p): Rename 'e' to 'pattern';
add comment.
(aarch64_double_precision_fmovable): New function.
(parse_aarch64_imm_float): Add parameter 'dp_p'; call the new
function; handle hexadecimal representation of IEEE754 encoding.
(parse_operands): Update the call to parse_aarch64_imm_float.

gas/testsuite/

* 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.
gas/ChangeLog
gas/config/tc-aarch64.c
gas/testsuite/ChangeLog
gas/testsuite/gas/aarch64/diagnostic.l
gas/testsuite/gas/aarch64/diagnostic.s
gas/testsuite/gas/aarch64/fpmov.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/fpmov.s [new file with mode: 0644]
gas/testsuite/gas/aarch64/illegal.l
gas/testsuite/gas/aarch64/illegal.s