[Bug target/46453] MIPS backend is not using special instructions for __builtin_bswap32

2012-11-27 Thread hp at gcc dot gnu.org


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



Hans-Peter Nilsson  changed:



   What|Removed |Added



 CC||hp at gcc dot gnu.org



--- Comment #4 from Hans-Peter Nilsson  2012-11-27 
11:10:11 UTC ---

Any news on this?


[Bug target/46453] MIPS backend is not using special instructions for __builtin_bswap32

2012-07-27 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46453

Andrew Pinski  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
 AssignedTo|unassigned at gcc dot   |pinskia at gcc dot gnu.org
   |gnu.org |

--- Comment #3 from Andrew Pinski  2012-07-27 
21:29:20 UTC ---
Mine, I will submit a patch soon for both issues.


[Bug target/46453] MIPS backend is not using special instructions for __builtin_bswap32

2011-04-11 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46453

Andrew Pinski  changed:

   What|Removed |Added

 Target|mips-elf|mips*-*-*
 Status|UNCONFIRMED |NEW
   Keywords||missed-optimization
   Last reconfirmed||2011.04.11 18:52:12
 CC||pinskia at gcc dot gnu.org
   Host|i686|
 Ever Confirmed|0   |1
  Build|../configure|
   |--disable-libssp|
   |--prefix=/usr/local |
   |--target=mips-elf   |

--- Comment #2 from Andrew Pinski  2011-04-11 
18:52:12 UTC ---
Confirmed, I ran into this too and produced a similar patch.

I also did a patch for "*  Unaligned loads:" part too.


[Bug target/46453] MIPS backend is not using special instructions for __builtin_bswap32

2010-11-13 Thread npl at chello dot at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46453

--- Comment #1 from npl at chello dot at 2010-11-13 22:41:08 UTC ---
Created attachment 22388
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22388
Partial patch inplementing 32 and 64 bit bswaps. diffed against gcc 4.5.1

Well, I went ahead and wrote a patch that adds support for the 32 and 64 bit
bswap-builtins. Im not sure if this is the best way to do it and I dont know
enough to tackle the 16bit bswaps.