This greatly improves generated code, especially for the snorm variants,
since it is able to get rid of the lshift/rshift for sext, as well as
replacing each shift + mask with a single op.
Signed-off-by: Ilia Mirkin imir...@alum.mit.edu
---
This actually slightly pessimizes nvc0 generated code
On Thu, Aug 20, 2015 at 9:58 PM, Ilia Mirkin imir...@alum.mit.edu wrote:
This greatly improves generated code, especially for the snorm variants,
since it is able to get rid of the lshift/rshift for sext, as well as
replacing each shift + mask with a single op.
Signed-off-by: Ilia Mirkin