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/63260] New: [SH] fabs, fneg do not need fp-mode setting and do not use fpscr


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


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