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] Simple optimization for MASK_STORE.


2015-11-10 15:33 GMT+03:00 Richard Biener <richard.guenther@gmail.com>:
> On Fri, Nov 6, 2015 at 2:28 PM, Yuri Rumyantsev <ysrumyan@gmail.com> wrote:
>> Richard,
>>
>> I tried it but 256-bit precision integer type is not yet supported.
>
> What's the symptom?  The compare cannot be expanded?  Just add a pattern then.
> After all we have modes up to XImode.

I suppose problem may be in:

gcc/config/i386/i386-modes.def:#define MAX_BITSIZE_MODE_ANY_INT (128)

which doesn't allow to create constants of bigger size.  Changing it
to maximum vector size (512) would mean we increase wide_int structure
size significantly. New patterns are probably also needed.

Ilya

>
> Richard.
>
>> Yuri.
>>
>>


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