summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2020-02-29 09:40:35 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2020-02-29 09:40:35 (GMT)
commite26ba6f0429e079785bfc96e0ea55c814537e76f (patch)
tree5b109544e13d838c873f119d742cf35b0f7e0988 /src
parent526985383c4e601775b4f04b273566b8ab930a58 (diff)
Broken ARMv7 basic blocks depending on conditional flags.
Diffstat (limited to 'src')
-rw-r--r--src/arch/instruction.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/arch/instruction.h b/src/arch/instruction.h
index d0d05e6..e8ba4bd 100644
--- a/src/arch/instruction.h
+++ b/src/arch/instruction.h
@@ -55,17 +55,18 @@ typedef struct _GArchInstructionClass GArchInstructionClass;
/* Drapeaux pour informations complémentaires */
-#define AIF_USER_BIT 3
+#define AIF_USER_BIT 4
typedef enum _ArchInstrFlag
{
- AIF_NONE = (0 << 0), /* Aucune information */
- AIF_ROUTINE_START = (1 << 0), /* Début de routine */
- AIF_RETURN_POINT = (1 << 1), /* Retour de fonction appelée */
- AIF_CALL = (1 << 2), /* Instruction d'appel */
-
- AIF_LOW_USER = (1 << AIF_USER_BIT), /* Premier bit disponible */
- AIF_HIGH_USER = (1 << 14), /* Dernier bit disponible */
+ AIF_NONE = (0 << 0), /* Aucune information */
+ AIF_ROUTINE_START = (1 << 0), /* Début de routine */
+ AIF_RETURN_POINT = (1 << 1), /* Retour de fonction appelée */
+ AIF_COND_RETURN_POINT = (1 << 2), /* Retour éventuel de fonction */
+ AIF_CALL = (1 << 3), /* Instruction d'appel */
+
+ AIF_LOW_USER = (1 << AIF_USER_BIT), /* Premier bit disponible */
+ AIF_HIGH_USER = (1 << 14), /* Dernier bit disponible */
} ArchInstrFlag;