VERY experimental Nintendo Switch 2 emulator
C++
Dyncom: Disable clang-format on the decoding table.
Emmanuel Gil Peyrotb26517b08c17
diff --git a/src/core/arm/dyncom/arm_dyncom_dec.cpp b/src/core/arm/dyncom/arm_dyncom_dec.cppindex 247d379e3c..6dbc92b91f 100644--- a/src/core/arm/dyncom/arm_dyncom_dec.cpp+++ b/src/core/arm/dyncom/arm_dyncom_dec.cpp@@ -5,6 +5,7 @@#include "core/arm/dyncom/arm_dyncom_dec.h"#include "core/arm/skyeye_common/armsupp.h"+// clang-format offconst InstructionSetEncodingItem arm_instruction[] = {{ "vmla", 5, ARMVFP2, { 23, 27, 0x1C, 20, 21, 0x0, 9, 11, 0x5, 6, 6, 0, 4, 4, 0 }},{ "vmls", 5, ARMVFP2, { 23, 27, 0x1C, 20, 21, 0x0, 9, 11, 0x5, 6, 6, 1, 4, 4, 0 }},@@ -206,6 +207,7 @@ const InstructionSetEncodingItem arm_instruction[] = {{ "bbl", 1, 0, { 25, 27, 0x00000005 }},};+const InstructionSetEncodingItem arm_exclusion_code[] = {{ "vmla", 0, ARMVFP2, { 0 }},{ "vmls", 0, ARMVFP2, { 0 }},@@ -411,6 +413,7 @@ const InstructionSetEncodingItem arm_exclusion_code[] = {{ "blx_1_thumb", 0, INVALID, { 0 }}, // Should be located at table[-2]{ "invalid", 0, INVALID, { 0 }}};+// clang-format onARMDecodeStatus DecodeARMInstruction(u32 instr, s32* idx) {int n = 0;