mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-19 21:28:32 +02:00
gk110/ir: make use of IMUL32I for all immediates
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "11.1 11.2" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit d30768025a)
This commit is contained in:
parent
b89e525a72
commit
32c38ccc2c
1 changed files with 1 additions and 1 deletions
|
|
@ -579,7 +579,7 @@ CodeEmitterGK110::emitIMUL(const Instruction *i)
|
|||
assert(!i->src(0).mod.neg() && !i->src(1).mod.neg());
|
||||
assert(!i->src(0).mod.abs() && !i->src(1).mod.abs());
|
||||
|
||||
if (isLIMM(i->src(1), TYPE_S32)) {
|
||||
if (i->src(1).getFile() == FILE_IMMEDIATE) {
|
||||
emitForm_L(i, 0x280, 2, Modifier(0));
|
||||
|
||||
if (i->subOp == NV50_IR_SUBOP_MUL_HIGH)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue