From 1b029f327986c14793abe1c6463411630644fa86 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Tue, 14 Apr 2026 12:06:59 -0400 Subject: [PATCH] jay: allow cmod on cvt it's just a MOV saves an instruction on dEQP-GLES31.functional.compute.basic.image_atomic_op_local_size_8 Signed-off-by: Alyssa Rosenzweig Part-of: --- src/intel/compiler/jay/jay_opcodes.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/intel/compiler/jay/jay_opcodes.py b/src/intel/compiler/jay/jay_opcodes.py index d494043af31..029b087ed7c 100644 --- a/src/intel/compiler/jay/jay_opcodes.py +++ b/src/intel/compiler/jay/jay_opcodes.py @@ -84,7 +84,8 @@ op('cmp', 2, 'u32', Props.NEGATE | Props.CMOD) # With an 8/16-bit type, `index` specifies the element index of the source # within the 32-bit word. For example, if src_type == U16 and index == 1, this # converts the upper 16-bits of the input. -op('cvt', 1, 'u8 s8 u16 s16 u32 s32 u64 s64 f32 f64 f16 bf16', Props.NEGATE | Props.SAT, [ +op('cvt', 1, 'u8 s8 u16 s16 u32 s32 u64 s64 f32 f64 f16 bf16', + Props.NEGATE | Props.SAT | Props.CMOD, [ 'enum jay_type src_type', 'enum jay_rounding_mode rounding_mode', 'uint8_t index',