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 tree-optimization/28794] missed optimization with non-COND_EXPR and vrp and comparisions



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-08-21 23:52 -------
For x86, there is no difference in the code gen for f and f1/f2, but for PPC32,
there is:
for f1/f2:
        addic %r0,%r31,-1
        subfe %r3,%r0,%r31

For f:
        srawi %r3,%r31,31
        subf %r3,%r31,%r3
        srwi %r3,%r3,31


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|missed optimization with non|missed optimization with
                   |COND_EXPR and vrp and       |non-COND_EXPR and vrp and
                   |comparisions                |comparisions


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


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