Bug: gather/scatter accepts same registers in destination/src and index

Michael Zolotukhin michael.v.zolotukhin@gmail.com
Tue Jan 21 18:44:00 GMT 2014


> While
>
>         vmovaps [rax], zmm0
>
> is allowed
>
>         vscatterdps [rax]{k1}, zmm0
>
> isn't, i.e. this is not a typical "invalid operand". Same for gather
> of course. Also, I'm not sure if this
>
>         vscatterdps [rax+zmm1], zmm0
>
> (also invalid iirc) is being checked for already.
I see what you meant, it is a good point. However, I think it's better
to be a separate patch, what do you think?

Michael
> Jan



More information about the Binutils mailing list