From 5be6f3b089c78852d813dbd6f7db2db0223862c4 Mon Sep 17 00:00:00 2001 From: Caio Oliveira Date: Fri, 30 Aug 2024 20:47:33 -0700 Subject: [PATCH] intel/executor: Fix SWSB for sync.nop Surfaced after recent improvements on SWSB handling, the previous assembly code was gracefully lowering the $1 into $1.dst. Fixes: 37674196221 ("intel: Add executor tool") Reviewed-by: Rohan Garg Part-of: --- src/intel/executor/executor_macros.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/intel/executor/executor_macros.c b/src/intel/executor/executor_macros.c index 8360426f338..f6f430822ff 100644 --- a/src/intel/executor/executor_macros.c +++ b/src/intel/executor/executor_macros.c @@ -122,13 +122,13 @@ executor_macro_syncnop(executor_context *ec, char **src, char *line) } case 120: { - ralloc_strcat(src, "sync nop(8) null<0,1,0>UD { align1 WE_all 1H @1 $1 };\n"); + ralloc_strcat(src, "sync nop(8) null<0,1,0>UD { align1 WE_all 1H @1 $1.dst };\n"); break; } case 125: case 200: { - ralloc_strcat(src, "sync nop(8) null<0,1,0>UD { align1 WE_all 1H A@1 $1 };\n"); + ralloc_strcat(src, "sync nop(8) null<0,1,0>UD { align1 WE_all 1H A@1 $1.dst };\n"); break; }