This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug target/63250] Complex fp16 arithmetic uses nonexistent libgcc functions


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63250

--- Comment #5 from James Greenhalgh <jgreenhalgh at gcc dot gnu.org> ---
Author: jgreenhalgh
Date: Wed Nov 23 17:36:21 2016
New Revision: 242784

URL: https://gcc.gnu.org/viewcvs?rev=242784&root=gcc&view=rev
Log:
[Patch ARM 17/17] Enable _Float16 for ARM and fix PR target/63250

gcc/

        PR target/63250
        * config/arm/arm-builtins.c (arm_simd_floatHF_type_node): Rename to...
        (arm_fp16_type_node): ...This, make visibile.
        (arm_simd_builtin_std_type): Rename arm_simd_floatHF_type_node to
        arm_fp16_type_node.
        (arm_init_simd_builtin_types): Likewise.
        (arm_init_fp16_builtins): Likewise.
        * config/arm/arm.c (arm_excess_precision): New.
        (arm_floatn_mode): Likewise.
        (TARGET_C_EXCESS_PRECISION): Likewise.
        (TARGET_FLOATN_MODE): Likewise.
        (arm_promoted_type): Only promote arm_fp16_type_node.
        * config/arm/arm.h (arm_fp16_type_node): Declare.

gcc/testsuite/

        PR target/63250
        * lib/target-supports.exp (add_options_for_float16): Add
        -mfp16-format=ieee when testign arm*-*-*.



Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/arm/arm-builtins.c
    trunk/gcc/config/arm/arm.c
    trunk/gcc/config/arm/arm.h
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/lib/target-supports.exp

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