patch [RFC] fix for an -msse2 failure

Roger Sayle roger@eyesopen.com
Wed Apr 13 03:05:00 GMT 2005


On Tue, 12 Apr 2005, Fariborz Jahanian wrote:
> Is this the patch that I can pursue?

This patch seems like a reasonable workaround in the short-term,
i.e. suitable for 4.0.1.  But I'd be interested in understanding
why the "const_vector:V4SI [(const_int 0)*]" still ICE'd, as part
of a longer term solution.

I'm also curious about the call-stack for the trunc_int_for_mode ICE;
one possibility is to allow implicit int->vector conversions at the
RTL-level (less than ideal), but I'd like to understand where we try
to truncate const0_rtx to a vector mode.

I would suggest that you investigate "CONST0_RTX (mode)" instead
of const0_rtx in this transformation, but the other latent problems
you describe make this unlikely to work.

Roger
--



More information about the Gcc-patches mailing list