-
Richard Henderson authored
The smin/smax/umin/umax operations require the operands to be properly sign extended. Do not drop the MO_SIGN bit from the load, and additionally extend the val input. Reviewed-by:
LIU Zhiwei <zhiwei_liu@c-sky.com>
Reported-by:
LIU Zhiwei <zhiwei_liu@c-sky.com>
Signed-off-by:
Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200701165646.1901320-1-richard.henderson@linaro.org>Richard Henderson authoredThe smin/smax/umin/umax operations require the operands to be properly sign extended. Do not drop the MO_SIGN bit from the load, and additionally extend the val input. Reviewed-by:
LIU Zhiwei <zhiwei_liu@c-sky.com>
Reported-by:
LIU Zhiwei <zhiwei_liu@c-sky.com>
Signed-off-by:
Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200701165646.1901320-1-richard.henderson@linaro.org>
Loading