Re: avx register variables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2 Jun 2012, Gábor Buella wrote:

Hello,

With gcc 4.7, on Intel 64 I have trouble using avx register global variables:

register unsigned int something __asm__("xmm2") __attribute__
((__vector_size__ (16)));

works fine, but

register unsigned int something __asm__("ymm2") __attribute__
((__vector_size__ (32)));

results in "error: invalid register name for something"

Is it at all possible to use the YMM registers as variables? If yes, how?

Did you try calling it "xmm2"?

--
Marc Glisse


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux