public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/53568] New: SH Target: Add support for bswap built-ins
@ 2012-06-03 20:03 olegendo at gcc dot gnu.org
  2012-06-11 20:18 ` [Bug target/53568] " olegendo at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: olegendo at gcc dot gnu.org @ 2012-06-03 20:03 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 53568
           Summary: SH Target: Add support for bswap built-ins
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: olegendo@gcc.gnu.org
        ReportedBy: olegendo@gcc.gnu.org
            Target: sh*-*-*


Currently using built-in functions such as __builtin_bswap32 results in a
function call.  Instead of that SH's 'swap.b' and 'swap.w' combinations can be
used to implement the bswap patterns.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug target/53568] SH Target: Add support for bswap built-ins
  2012-06-03 20:03 [Bug target/53568] New: SH Target: Add support for bswap built-ins olegendo at gcc dot gnu.org
@ 2012-06-11 20:18 ` olegendo at gcc dot gnu.org
  2012-06-13 18:46 ` olegendo at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: olegendo at gcc dot gnu.org @ 2012-06-11 20:18 UTC (permalink / raw)
  To: gcc-bugs

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

Oleg Endo <olegendo at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2012-06-11
     Ever Confirmed|0                           |1


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug target/53568] SH Target: Add support for bswap built-ins
  2012-06-03 20:03 [Bug target/53568] New: SH Target: Add support for bswap built-ins olegendo at gcc dot gnu.org
  2012-06-11 20:18 ` [Bug target/53568] " olegendo at gcc dot gnu.org
@ 2012-06-13 18:46 ` olegendo at gcc dot gnu.org
  2012-06-14 19:33 ` olegendo at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: olegendo at gcc dot gnu.org @ 2012-06-13 18:46 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Oleg Endo <olegendo at gcc dot gnu.org> 2012-06-13 18:45:56 UTC ---
Author: olegendo
Date: Wed Jun 13 18:45:17 2012
New Revision: 188524

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188524
Log:
    PR target/53568
    * config/sh/sh.md (bswapsi2): New expander.
    (swapbsi2): New insn.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/sh/sh.md


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug target/53568] SH Target: Add support for bswap built-ins
  2012-06-03 20:03 [Bug target/53568] New: SH Target: Add support for bswap built-ins olegendo at gcc dot gnu.org
  2012-06-11 20:18 ` [Bug target/53568] " olegendo at gcc dot gnu.org
  2012-06-13 18:46 ` olegendo at gcc dot gnu.org
@ 2012-06-14 19:33 ` olegendo at gcc dot gnu.org
  2012-07-02 23:00 ` olegendo at gcc dot gnu.org
  2014-10-01 21:02 ` olegendo at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: olegendo at gcc dot gnu.org @ 2012-06-14 19:33 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Oleg Endo <olegendo at gcc dot gnu.org> 2012-06-14 19:33:17 UTC ---
Author: olegendo
Date: Thu Jun 14 19:33:10 2012
New Revision: 188632

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188632
Log:
    PR target/53568
    * config/sh/sh.md: Add peephole for swapbsi2.
    (*swapbisi2_and_shl8, *swapbhisi2): New insns and splits.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/sh/sh.md


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug target/53568] SH Target: Add support for bswap built-ins
  2012-06-03 20:03 [Bug target/53568] New: SH Target: Add support for bswap built-ins olegendo at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2012-06-14 19:33 ` olegendo at gcc dot gnu.org
@ 2012-07-02 23:00 ` olegendo at gcc dot gnu.org
  2014-10-01 21:02 ` olegendo at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: olegendo at gcc dot gnu.org @ 2012-07-02 23:00 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Oleg Endo <olegendo at gcc dot gnu.org> 2012-07-02 23:00:05 UTC ---
Author: olegendo
Date: Mon Jul  2 22:59:59 2012
New Revision: 189181

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189181
Log:
    PR target/53568
    * gcc.target/sh/pr53568-1.c: New.


Added:
    trunk/gcc/testsuite/gcc.target/sh/pr53568-1.c
Modified:
    trunk/gcc/testsuite/ChangeLog


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug target/53568] SH Target: Add support for bswap built-ins
  2012-06-03 20:03 [Bug target/53568] New: SH Target: Add support for bswap built-ins olegendo at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2012-07-02 23:00 ` olegendo at gcc dot gnu.org
@ 2014-10-01 21:02 ` olegendo at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: olegendo at gcc dot gnu.org @ 2014-10-01 21:02 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53568

Oleg Endo <olegendo at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Oleg Endo <olegendo at gcc dot gnu.org> ---
I'd like to close this PR, since the basic functionality is there.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-10-01 21:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-03 20:03 [Bug target/53568] New: SH Target: Add support for bswap built-ins olegendo at gcc dot gnu.org
2012-06-11 20:18 ` [Bug target/53568] " olegendo at gcc dot gnu.org
2012-06-13 18:46 ` olegendo at gcc dot gnu.org
2012-06-14 19:33 ` olegendo at gcc dot gnu.org
2012-07-02 23:00 ` olegendo at gcc dot gnu.org
2014-10-01 21:02 ` olegendo at gcc dot gnu.org

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).