This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/52479] New: SH Target: SH4A DFmode fsca tests failing
- From: "olegendo at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 04 Mar 2012 13:20:21 +0000
- Subject: [Bug target/52479] New: SH Target: SH4A DFmode fsca tests failing
- Auto-submitted: auto-generated
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)