------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-08 
14:15 -------
Here is a PPC32 example:
short b,d;

short logic_func1() {
  if (d< b) return b; else return d;
}

We get:
        lis r2,ha16(_b)
        lis r9,ha16(_d)
        lha r0,lo16(_b)(r2)
        lha r2,lo16(_d)(r9)
        cmpw cr7,r2,r0
        blt- cr7,L4
        mr r0,r2
L4:
        mr r3,r0  <-- extra
        blr


-- 


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

Reply via email to