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