summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-09-18 02:36:35 +0200
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-09-18 02:36:57 +0200
commitbfc454e951afcb5a573b4f7d75e94d10e785ed45 (patch)
tree8fbdb37cbf510409e93208419125e8a84aba2e55 /src
parentSources: Add a .clang-format configuration file. (diff)
downloadyuzu-bfc454e951afcb5a573b4f7d75e94d10e785ed45.tar
yuzu-bfc454e951afcb5a573b4f7d75e94d10e785ed45.tar.gz
yuzu-bfc454e951afcb5a573b4f7d75e94d10e785ed45.tar.bz2
yuzu-bfc454e951afcb5a573b4f7d75e94d10e785ed45.tar.lz
yuzu-bfc454e951afcb5a573b4f7d75e94d10e785ed45.tar.xz
yuzu-bfc454e951afcb5a573b4f7d75e94d10e785ed45.tar.zst
yuzu-bfc454e951afcb5a573b4f7d75e94d10e785ed45.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/arm/dyncom/arm_dyncom_dec.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/arm/dyncom/arm_dyncom_dec.cpp b/src/core/arm/dyncom/arm_dyncom_dec.cpp
index 247d379e3..6dbc92b91 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 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;