[patch] ARM half-precision support
Catherine Moore
clm@codesourcery.com
Fri Nov 14 17:17:00 GMT 2008
This patch adds the binutils support for arm half-precision instructions. Does this look okay to
install? I will post the additions to the gas testsuite separately. Thanks,
Catherine
gas/
* config/tc-arm.c (neon_type_mask): Renumber.
(type_chk_of_el_type): Handle F_F16.
(neon_cvt_flavour): Recognize half-precision conversions.
(do_neon_cvt): New shapes NS_QD and NS_DQ. Encode half-precision
conversions.
(do_neon_cvtt): Encode the T bit.
(asm_opcode_insns): vcvt, vcvtt support.
(arm_option_cpu_value): Add neon-fp16 support.
include/
* opcode/arm.h (FPU_NEON_FP16): New.
(FPU_ARCH_NEON_FP16): New.
* elf/arm.h (Tag_ABI_FP_16bit_format): Define.
opcodes/
* arm-dis.c (coprocessor_opcodes): Add half-precision vcvt
instructions.
(neon_opcodes): Likewise.
(print_insn_coprocessor): Print 't' or 'b' for
vcvt instructions.
binutils/
* readelf.c (arm_attr_tag_ABI_FP_16bit_format): New.
(arm_attr_tag_VFP_HP_extension): New.
(arm_attr_public_tag arm_attr_public_tags): Support new
attributes.
bfd/
* elf32-arm.c (elf32_arm_merge_eabi_attributes): Merge
half-precision attributes.
(elf32_arm_copy_one_eabi_other_attribute): New.
(elf32_arm_copy_other_attribute_list): New.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: arm-half-prec-patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20081114/d13685bf/attachment.ksh>
More information about the Binutils
mailing list