Reviewed-by: Ilia Mirkin
On Tue, Sep 27, 2016 at 2:55 PM, Samuel Pitoiset
wrote:
> This instruction is available since SM20 (Fermi) and allow to do
> (a << b) + c in one shot. In some situations, IMAD should be
> replaced by SHLADD when b is a power of 2, and ADD+SHL should be
> replaced by SHLA
This instruction is available since SM20 (Fermi) and allow to do
(a << b) + c in one shot. In some situations, IMAD should be
replaced by SHLADD when b is a power of 2, and ADD+SHL should be
replaced by SHLADD as well.
v3: - fix neg flag
- remove isFloatType() in isOpSupported()
- teach is