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 <rohan.garg@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30960>
This commit is contained in:
Caio Oliveira
2024-08-30 20:47:33 -07:00
committed by Marge Bot
parent 6ada0170c4
commit 5be6f3b089

View File

@@ -122,13 +122,13 @@ executor_macro_syncnop(executor_context *ec, char **src, char *line)
} }
case 120: { 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; break;
} }
case 125: case 125:
case 200: { 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; break;
} }