public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "olegendo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/53512] SH Target: Allow fsca and fsrra for non-SH4A
Date: Sun, 03 Jun 2012 11:27:00 -0000	[thread overview]
Message-ID: <bug-53512-4-5pvuRgUY4g@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-53512-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #2 from Oleg Endo <olegendo at gcc dot gnu.org> 2012-06-03 11:26:58 UTC ---
Author: olegendo
Date: Sun Jun  3 11:26:54 2012
New Revision: 188149

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188149
Log:
    PR target/53512
    * sh.opt (mfsca, mfsrra): New options.
    * sh.md (rsqrtsf2): Use TARGET_FPU_ANY and TARGET_FSRRA    condition.
    (fsca): Use TARGET_FPU_ANY and TARGET_FSCA condition.
    (sinssf2, cossf2): Fold expanders to ...
    (sincossf3): ... this new expander.  Use TARGET_FPU_ANY and
    TARGET_FSCA condition.
    * sh.c (sh_option_override): Handle TARGET_FSRRA and TARGET_FSCA.
    * doc/invoke.texi (SH Options): Add descriptions for -mfsca,
    -mno-fsca, -mfsrra, -mno-fsrra.

    PR target/53512
    * gcc.target/sh/pr53512-1.c: New.
    * gcc.target/sh/pr53512-2.c: New.
    * gcc.target/sh/pr53512-3.c: New.
    * gcc.target/sh/pr53512-4.c: New.


Added:
    trunk/gcc/testsuite/gcc.target/sh/pr53512-1.c
    trunk/gcc/testsuite/gcc.target/sh/pr53512-2.c
    trunk/gcc/testsuite/gcc.target/sh/pr53512-3.c
    trunk/gcc/testsuite/gcc.target/sh/pr53512-4.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/sh/sh.c
    trunk/gcc/config/sh/sh.md
    trunk/gcc/config/sh/sh.opt
    trunk/gcc/doc/invoke.texi
    trunk/gcc/testsuite/ChangeLog


  parent reply	other threads:[~2012-06-03 11:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-28 23:45 [Bug target/53512] New: " olegendo at gcc dot gnu.org
2012-05-29  7:30 ` [Bug target/53512] " kkojima at gcc dot gnu.org
2012-06-03 11:27 ` olegendo at gcc dot gnu.org [this message]
2012-06-03 16:23 ` olegendo at gcc dot gnu.org
2012-11-12  0:28 ` olegendo at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-53512-4-5pvuRgUY4g@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).