From 4a5bc1cec672240515d04e15bbcb7b58a50c23b0 Mon Sep 17 00:00:00 2001 From: Maciej Wieczor-Retman Date: Mon, 15 Sep 2025 18:05:15 +0200 Subject: [PATCH] insns: Fix ccmpscc T/F encoding The encodings of 'true' and 'false' variants of the CCMPSCC instructions were swapped. Correct that in the preprocessor script. Signed-off-by: Maciej Wieczor-Retman --- x86/insns.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x86/insns.pl b/x86/insns.pl index fbba9a3e..4c148e7b 100755 --- a/x86/insns.pl +++ b/x86/insns.pl @@ -307,7 +307,7 @@ my %conds = ( 'z' => 4, 'nz' => 5, 'na' => 6, 'a' => 7, 's' => 8, 'ns' => 9, 'pe' => 10|$c_cc, 'po' => 11|$c_cc, - 'f' => 10|$c_scc, 't' => 11|$c_scc, + 't' => 10|$c_scc, 'f' => 11|$c_scc, 'l' => 12, 'nl' => 13, 'ng' => 14, 'g' => 15, 'ae' => 3|$c_nd, 'b' => 2|$c_nd, 'be' => 6|$c_nd, 'e' => 4|$c_nd,