public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/52479] New: SH Target: SH4A DFmode fsca tests failing
@ 2012-03-04 13:20 olegendo at gcc dot gnu.org
  2012-03-04 13:47 ` [Bug target/52479] " kkojima at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: olegendo at gcc dot gnu.org @ 2012-03-04 13:20 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52479

             Bug #: 52479
           Summary: SH Target: SH4A DFmode fsca tests failing
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: olegendo@gcc.gnu.org
                CC: kkojima@gcc.gnu.org
            Target: sh4a-*-*


As of rev 184877 the following SH4A target tests are failing:

gcc.target/sh/sh4a-cos.c scan-assembler fsca
gcc.target/sh/sh4a-sin.c scan-assembler fsca
gcc.target/sh/sh4a-sincos.c scan-assembler-times fsca 1

These tests check whether the fsca instruction is used for DFmode standard sin
and cos functions when -ffast-math is specified. 

While using fsca for SFmode and -ffast-math makes sense, for DFmode I think the
results might be too imprecise.  I would like to propose to remove the DFmode
fsca code altogether.


Using built-in specs.
COLLECT_GCC=sh-elf-gcc
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/sh-elf/4.8.0/lto-wrapper
Target: sh-elf
Configured with: ../gcc-trunk/configure --target=sh-elf --prefix=/usr/local
--enable-languages=c,c++ --enable-multilib --disable-libssp --disable-nls
--disable-werror --enable-lto --with-newlib --with-gnu-as --with-gnu-ld
--with-system-zlib
Thread model: single
gcc version 4.8.0 20120304 (experimental) (GCC)


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-04-11 23:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-04 13:20 [Bug target/52479] New: SH Target: SH4A DFmode fsca tests failing olegendo at gcc dot gnu.org
2012-03-04 13:47 ` [Bug target/52479] " kkojima at gcc dot gnu.org
2012-03-15  5:28 ` aoliva at gcc dot gnu.org
2012-03-16  5:32 ` kkojima at gcc dot gnu.org
2012-03-21 20:28 ` olegendo at gcc dot gnu.org
2012-04-11 23:05 ` olegendo at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).