On Mon, Mar 17, 2014 at 11:26:58AM -0700, H.J. Lu wrote: > On Mon, Mar 17, 2014 at 10:37 AM, Kirill Yukhin <kirill.yuk...@gmail.com> > wrote: > > On 17 Mar 10:16, H.J. Lu wrote: > >> BTW, in glibc, there are > >> > >> asm volatile ("vmovdqa64 %0, %%zmm0" : : "x" (zmm) : "xmm0" ); > > Maybe. But I belive that this is much more clear to have instead: > > asm volatile ("vmovdqa64 %0, %%zmm0" : : "x" (zmm) : "zmm0" ); > > > > My issue is this is a user-visible change. Code using ymm which > works with GCC 4.9 won't work with the installed GCC 4.6/4.7/4.8. > This change introduces GCC portability issues without significant > benefit.
It is up to the user to decide if they want to be portable to older compilers or not. But it is useful and more intuitive if we allow specifying also the ymm and zmm forms. Jakub