Просмотр исходного кода

Dyncom: Disable clang-format on the decoding table.

Emmanuel Gil Peyrot 9 лет назад
Родитель
Сommit
bfc454e951
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      src/core/arm/dyncom/arm_dyncom_dec.cpp

+ 3 - 0
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 off
 const 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 on
 
 ARMDecodeStatus DecodeARMInstruction(u32 instr, s32* idx) {
     int n = 0;