Encoding phsubsw with VEX.256

Encoding phsubsw with VEX.256

Hi,

I don't understand how to encode PHSUBSW with VEX.256. According to the documentation, VEX.L must be 0, otherwise the instruction will #UD. I thought we must use VEX.L = 1 to force the VEX.256.

Thanks

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Hi. Thanks. Yeah that "VEX.L must be zero" thing is left over from before we introduced AVX2 which added the 256b encoding for this instruction. I'll ask our doc team to fix this (and possibly others that might have similar origin).

 

Leave a Comment

Please sign in to add a comment. Not a member? Join today