[Bug target/32433] Code for __builtin_ffs does not benefit from compiler optimizations

2007-08-05 Thread pinskia at gcc dot gnu dot org


--- Comment #5 from pinskia at gcc dot gnu dot org  2007-08-05 19:46 ---
*** Bug 32994 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||pluto at agmk dot net


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



[Bug target/32433] Code for __builtin_ffs does not benefit from compiler optimizations

2007-06-30 Thread ubizjak at gmail dot com


--- Comment #4 from ubizjak at gmail dot com  2007-06-30 17:07 ---
Fixed.


-- 

ubizjak at gmail dot com changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
  GCC build triplet||x86_64-pc-gnu-linux
   GCC host triplet||x86_64-pc-gnu-linux
 GCC target triplet||x86_64-pc-gnu-linux
 Resolution||FIXED
   Target Milestone|--- |4.3.0


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



[Bug target/32433] Code for __builtin_ffs does not benefit from compiler optimizations

2007-06-30 Thread uros at gcc dot gnu dot org


--- Comment #3 from uros at gcc dot gnu dot org  2007-06-30 17:06 ---
Subject: Bug 32433

Author: uros
Date: Sat Jun 30 17:05:49 2007
New Revision: 126154

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=126154
Log:
PR target/32433
* config/i386/i386.md (ffssi2): Expand as ffs_cmove for TARGET_CMOVE.
(ffs_cmove): New expander to expand using ctz pattern.
(*ffs_cmove): Remove pattern.
(*ffs_no_cmove): Enable only for !TARGET_CMOVE.
(ffsdi2): Expand using ctz pattern.
(*ffs_rex64): Remove pattern.


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


-- 


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



[Bug target/32433] Code for __builtin_ffs does not benefit from compiler optimizations

2007-06-20 Thread ubizjak at gmail dot com


--- Comment #1 from ubizjak at gmail dot com  2007-06-20 21:30 ---
Confirmed, I have a patch to fix this issue.


-- 

ubizjak at gmail dot com changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |ubizjak at gmail dot com
   |dot org |
 Status|UNCONFIRMED |ASSIGNED
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2007-06-20 21:30:22
   date||


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



[Bug target/32433] Code for __builtin_ffs does not benefit from compiler optimizations

2007-06-20 Thread ubizjak at gmail dot com


--- Comment #2 from ubizjak at gmail dot com  2007-06-20 21:33 ---
Patch at http://gcc.gnu.org/ml/gcc-patches/2007-06/msg01506.html.


-- 

ubizjak at gmail dot com changed:

   What|Removed |Added

URL||http://gcc.gnu.org/ml/gcc-
   ||patches/2007-
   ||06/msg01506.html
   Keywords||patch


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