diff options
-rw-r--r-- | src/intel/compiler/gen8_md.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intel/compiler/gen8_md.py b/src/intel/compiler/gen8_md.py index 2673bcd32cb8..e546f2941b95 100644 --- a/src/intel/compiler/gen8_md.py +++ b/src/intel/compiler/gen8_md.py @@ -148,8 +148,8 @@ gen8_md = [ Instruction('CMP', t0, a, zero).cmod('NZ'), Instruction('MOV', r, subscript(t0, UD, 0)))) ), - (('f2b32', 'a@32'), Instruction('CMP', r, retype(a, F), imm(0.0, F)).cmod('NZ')), - (('f2b32', 'a@16'), Instruction('CMP', r, retype(a, HF), imm(0.0, HF)).cmod('NZ')), + (('f2b32', 'a@32'), Instruction('CMP', retype(r, F), retype(a, F), imm(0.0, F)).cmod('NZ')), + (('f2b32', 'a@16'), Instruction('CMP', retype(r, HF), retype(a, HF), imm(0.0, HF)).cmod('NZ')), # Partial derivatives (('fddx', a), Instruction('FS_OPCODE_DDX_FINE', r, a), 'fs_key->high_quality_derivatives'), |