[Bug target/14899] [3.5 Regression] wrong code due to change in compatibility rules for vector types

fjahanian at apple dot com gcc-bugzilla@gcc.gnu.org
Fri Apr 9 17:09:00 GMT 2004


------- Additional Comments From fjahanian at apple dot com  2004-04-09 17:09 -------
But in this case, code should come out correct. This is because of what I see in altivec.h:

__ch (__bin_args_eq (vector bool short, (a1), vector signed short, (a2)), \
      ((vector signed short) __builtin_altivec_vsubshs ((vector signed short) (a1), (vector signed short) 
(a2))), \

Can you elaborate as to why __builtin_types_compatible_p (vector bool short, vector signed short);
returning 1 results in bad codegen in my test case, thanks.(In reply to comment #1)
> Already confirmed by me on the mailing list.  Also note my Apple email account no longer works for 
> me, either use my @gcc email address or my physics.uc.edu.edu one.

-- 


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



More information about the Gcc-bugs mailing list