This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/63260] New: [SH] fabs, fneg do not need fp-mode setting and do not use fpscr
- 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: Sat, 13 Sep 2014 22:50:16 +0000
- Subject: [Bug target/63260] New: [SH] fabs, fneg do not need fp-mode setting and do not use fpscr
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63260
Bug ID: 63260
Summary: [SH] fabs, fneg do not need fp-mode setting and do not
use fpscr
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: olegendo at gcc dot gnu.org
Target: sh*-*-*
Created attachment 33490
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33490&action=edit
Proposed patch
The fabs and fneg insns do not require an FPSCR.PR or FPSCR.SZ mode setting as
they operate on the high part of a double register pair. Thus they are the
same for single and double precision