This is the mail archive of the gcc@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: Vector pointer modes


On May 16, 2018 6:35:05 PM GMT+02:00, Andrew Stubbs <ams@codesourcery.com> wrote:
>On 16/05/18 17:24, Richard Biener wrote:
>> On May 16, 2018 6:03:35 PM GMT+02:00, Andrew Stubbs
><ams@codesourcery.com> wrote:
>>> Is there a new way of dealing with vectors of pointers?
>> 
>> Maybe you can masquerade it behind a large scalar integer mode?...
>
>We're using V64DImode to represent a vector of 64 64-bit pointers. The 
>architecture can hold this in a pair of V64SImode registers; it is not 
>equivalent to 128 consecutive smaller registers, like NEON does.
>
>We could use plain DImode to get the same effect from print_operand,
>but 
>that then chooses the wrong alternative, or whole wrong insn pattern
>and 
>bad things would happen.
>
>Or, do you mean something else?

I was thinking of using ZImode where hopefully ZI is large enough to hold V64DI... 

Richard. 

>Andrew


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