This is the mail archive of the gcc-help@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: avx register variables


GÃbor Buella <gbuella@gmail.com> writes:

> register unsigned int something __asm__("xmm2") __attribute__
> ((__vector_size__ (32)));
>
> It seems to work, and also found out, that if I use -mno-vzeroupper ,
> I wont always lose the upper bits.
>
> BTW, I'm no expert in assembly at all, I can't figure out why is it
> XMM , why not YMM ?

Well, they are the same registers, after all.

Still, GCC ought to accept the YMM names.  Please file a bug report at
http://gcc.gnu.org/bugzilla/ for this.  Thanks.

Ian


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