[GAS][ARM][3/3]Add armv8.2 fp16 scalar instruction support. Based on SE_H instruction...
authorRenlin Li <renlin.li@arm.com>
Wed, 24 Feb 2016 17:59:35 +0000 (17:59 +0000)
committerRenlin Li <renlin.li@arm.com>
Wed, 24 Feb 2016 18:09:02 +0000 (18:09 +0000)
commit9db2f6b4262ec9152c2c6be90e2ea913423e6d3d
tree91121b6fc44e1aa9f51f82e3815bdca1ca25b980
parent657f9cde9d531c9929bef9e02a8064101d568f50
[GAS][ARM][3/3]Add armv8.2 fp16 scalar instruction support. Based on SE_H instruction shape.

gas/

2016-02-24  Renlin Li  <renlin.li@arm.com>

* config/tc-arm.c (BAD_FP16): New error message macro.
(do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
fp16 scalar instructions.
(neon_check_type): Allow different size from key.
(do_vfp_nsyn_add_sub): Add support SE_H shape support.
(try_vfp_nsyn): Likewise.
(do_vfp_nsyn_mla_mls): Likewise.
(do_vfp_nsyn_fma_fms): Likewise.
(do_vfp_nsyn_ldm_stm): Likewise
(do_vfp_nsyn_sqrt): Likewise
(do_vfp_nsyn_div): Likewise
(do_vfp_nsyn_nmul): Likewise.
(do_vfp_nsyn_cmp): Likewise.
(do_neon_shll): Likewise.
(do_vfp_nsyn_cvt_fpv8): Likewise.
(do_neon_cvttb_2): Likewise.
(do_neon_mov): Likewise.
(do_neon_rshift_round_imm): Likewise.
(do_neon_ldr_str): Likewise.
(do_vfp_nsyn_fpv8): Likewise.
(do_vmaxnm): Likewise.
(do_vrint_1): Likewise.
(insns): New entry for vins, vmovx.
(md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
* testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
* testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
* testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
* testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
* testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
* testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
gas/ChangeLog
gas/config/tc-arm.c
gas/testsuite/gas/arm/armv8-2-fp16-scalar-bad.d [new file with mode: 0644]
gas/testsuite/gas/arm/armv8-2-fp16-scalar-bad.l [new file with mode: 0644]
gas/testsuite/gas/arm/armv8-2-fp16-scalar-bad.s [new file with mode: 0644]
gas/testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d [new file with mode: 0644]
gas/testsuite/gas/arm/armv8-2-fp16-scalar.d [new file with mode: 0644]
gas/testsuite/gas/arm/armv8-2-fp16-scalar.s [new file with mode: 0644]