mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 22:00:13 +01:00
gm107/ir: make use of LOP32I for all immediates
LOP only allows to emit 19-bits immediates. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Cc: <mesa-stable@lists.freedesktop.org>
This commit is contained in:
parent
c7cc264ca9
commit
83a4f28dc2
1 changed files with 1 additions and 1 deletions
|
|
@ -1606,7 +1606,7 @@ CodeEmitterGM107::emitLOP()
|
|||
break;
|
||||
}
|
||||
|
||||
if (!longIMMD(insn->src(1))) {
|
||||
if (insn->src(1).getFile() != FILE_IMMEDIATE) {
|
||||
switch (insn->src(1).getFile()) {
|
||||
case FILE_GPR:
|
||||
emitInsn(0x5c400000);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue