This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/37263] [4.3/4.4 Regression] extra code for doloop with unsigned 32bit types on LP64



------- Comment #1 from pinskia at gcc dot gnu dot org  2008-08-29 04:37 -------
We can optimize this by doing either of two things:
1) change iv-opts back to produce !=
2) a) have loop-iv.c keep /s/u for the subreg
     b) optimize (eq (subreg/s (reg)) (const_int 0) ) to (eq (reg) (const_int
0)).  

Both will fix the issue, I can test 2 as that is easy to implement and I
already have it done, I just need to test it fully.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |pinskia at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-08-29 04:37:23
               date|                            |


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]