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/70131] PowerPC ISA 2.07 is inefficient at doint (float)(int)x.


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

--- Comment #2 from Michael Meissner <meissner at gcc dot gnu.org> ---
Author: meissner
Date: Sat Mar 12 00:10:54 2016
New Revision: 234155

URL: https://gcc.gnu.org/viewcvs?rev=234155&root=gcc&view=rev
Log:
[gcc]
2016-03-11  Michael Meissner  <meissner@linux.vnet.ibm.com>

        PR target/70131
        * config/rs6000/rs6000.md (round32<mode>2_fprs): Do not do the
        optimization if we have direct move.
        (roundu32<mode>2_fprs): Likewise.

[gcc/testsuite]
2016-03-11  Michael Meissner  <meissner@linux.vnet.ibm.com>

        PR target/70131
        * gcc.target/powerpc/ppc-round2.c: New test.


Added:
    trunk/gcc/testsuite/gcc.target/powerpc/ppc-round2.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/rs6000/rs6000.md
    trunk/gcc/testsuite/ChangeLog

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