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/66731] vnmul, fnmul patterns incorrect for -frounding-math


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

--- Comment #6 from nsz at gcc dot gnu.org ---
Author: nsz
Date: Mon Aug  3 17:04:29 2015
New Revision: 226519

URL: https://gcc.gnu.org/viewcvs?rev=226519&root=gcc&view=rev
Log:
Backport form mainline r226496.

gcc:

        Backport form mainline r226496.
        2015-08-03  Szabolcs Nagy  <szabolcs.nagy@arm.com>

        PR target/66731
        * config/arm/vfp.md (negmuldf3_vfp): Add new pattern.
        (negmulsf3_vfp): Likewise.
        (muldf3negdf_vfp): Disable for -frounding-math.
        (mulsf3negsf_vfp): Likewise.
        * config/arm/arm.c (arm_new_rtx_costs): Fix NEG cost for VNMUL,
        fix MULT cost with -frounding-math.

gcc/testsuite:

        Backport form mainline r226496.
        2015-08-03  Szabolcs Nagy  <szabolcs.nagy@arm.com>

        PR target/66731
        * gcc.target/arm/vnmul-1.c: New.
        * gcc.target/arm/vnmul-2.c: New.
        * gcc.target/arm/vnmul-3.c: New.
        * gcc.target/arm/vnmul-4.c: New.


Added:
    branches/gcc-4_9-branch/gcc/testsuite/gcc.target/arm/vnmul-1.c
    branches/gcc-4_9-branch/gcc/testsuite/gcc.target/arm/vnmul-2.c
    branches/gcc-4_9-branch/gcc/testsuite/gcc.target/arm/vnmul-3.c
    branches/gcc-4_9-branch/gcc/testsuite/gcc.target/arm/vnmul-4.c
Modified:
    branches/gcc-4_9-branch/gcc/ChangeLog
    branches/gcc-4_9-branch/gcc/config/arm/arm.c
    branches/gcc-4_9-branch/gcc/config/arm/vfp.md
    branches/gcc-4_9-branch/gcc/testsuite/ChangeLog


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