------- Comment #2 from pinskia at gcc dot gnu dot org 2006-04-19 16:49 ------- Actually this is a different issue than I orginally thought (just waking up). (insn:TI 16 9 14 (parallel [ (set (reg:CC 74 6) (unspec:CC [ (reg/v:V8HI 77 0 [orig:126 b ] [126]) (reg/v:V8HI 78 1 [orig:124 a ] [124]) (symbol_ref:SI ("*vcmpgtuh.")) ] 173)) (clobber (reg:V8HI 90 13)) ]) 666 {altivec_predicate_v8hi} (nil) (nil))
(insn 14 16 20 (set (reg:V8HI 77 0 [orig:121 D.1927 ] [121]) (unspec:V8HI [ (reg/v:V8HI 77 0 [orig:126 b ] [126]) (reg/v:V8HI 78 1 [orig:124 a ] [124]) ] 58)) 531 {altivec_vcmpgtuh} (nil) (nil)) The instructions are not even alike in RTL. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement Status|RESOLVED |UNCONFIRMED Component|c++ |target GCC build triplet|4.0.0 | GCC host triplet|4.0.0 | GCC target triplet|4.0.0 |powerpc-*-* Resolution|DUPLICATE | Summary|Altivec Comparison Peephole |vec_cmplt followed by a |Bug |vec_all_ge, gives two | |vcmpgtuh instructions http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27212