This is the mail archive of the gcc-patches@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]

Re: [PATCH, i386]: Fix PR target/30970, take 2


On 2/27/07, Uros Bizjak <ubizjak@gmail.com> wrote:
Ian Lance Taylor wrote:

>> The addition to this patch is corrected MODES_TIEABLE_P functionality
>> for i386 targets. The problem is, that lower-subreg pass checks
>> MODES_TIEABLE_P if the XMM register can be splitted into word_mode
>> (DImode) _without_copying_.
>>
>
>

What happens if you do:


typedef float __v4sf __attribute__ ((vector_size (16)));

float testf(__v4sf x, __v4sf y)
{
__v4sf v = x + y;
 return *(float*)&v;
}

? I changed this case to produce BIT_FIELD_REF which in turn calls vec_extract.

And yes there is a bug about producing BIT_FIELD_REF for the union case already.

Thanks,
Andrew Pinski


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