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/54272] [SH] Add support for addv / subv instructions
Date: Thu, 24 Jul 2014 19:23:00 -0000 [thread overview]
Message-ID: <bug-54272-4-imloJ0Jmd3@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-54272-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54272
--- Comment #7 from Oleg Endo <olegendo at gcc dot gnu.org> ---
(In reply to Oleg Endo from comment #0)
> The addv and subv instructions can be used for at least two things:
>
> 1) Implementing trapping signed integer arithmetic (-ftrapv)
>
> Currently, for the SH target, trapping insns (e.g. addvsi3) are
> supposed to be implemented by library functions in libgcc.
> However, it seems that for addvsi3 and subvsi3 normal addsi3 and
> subsi3 patterns are expanded by the middle-end, which is wrong.
See also PR 52478.
next prev parent reply other threads:[~2014-07-24 19:23 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-15 16:03 [Bug target/54272] New: " olegendo at gcc dot gnu.org
2012-08-15 16:17 ` [Bug target/54272] " olegendo at gcc dot gnu.org
2012-08-16 11:24 ` kkojima at gcc dot gnu.org
2012-08-16 12:43 ` olegendo at gcc dot gnu.org
2012-08-16 13:00 ` kkojima at gcc dot gnu.org
2012-08-16 20:35 ` olegendo at gcc dot gnu.org
2013-09-19 11:07 ` olegendo at gcc dot gnu.org
2014-07-24 19:23 ` olegendo at gcc dot gnu.org [this message]
2014-11-16 2:26 ` 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-54272-4-imloJ0Jmd3@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).