aboutsummaryrefslogtreecommitdiff
path: root/target/alpha/cpu.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2017-07-06 09:37:41 -1000
committerRichard Henderson <rth@twiddle.net>2017-07-18 18:41:46 -1000
commitc6d41b363caa921e1740f12d0e01f0911fa4aa0d (patch)
treec8d3e559324433c564091e550b5c29be88495bf3 /target/alpha/cpu.h
parent6887dc6700ccb7820d8a9d370f421ee361c748e8 (diff)
target/alpha: Remove amask from tb->flags
This value is constant for the cpu and does not need to be stored within the TB. Tested-by: Emilio G. Cota <cota@braap.org> Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target/alpha/cpu.h')
-rw-r--r--target/alpha/cpu.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/target/alpha/cpu.h b/target/alpha/cpu.h
index 691ac00c0b..aa83417be1 100644
--- a/target/alpha/cpu.h
+++ b/target/alpha/cpu.h
@@ -487,14 +487,6 @@ enum {
TB_FLAGS_PAL_MODE = 1,
TB_FLAGS_FEN = 2,
TB_FLAGS_USER_MODE = 8,
-
- TB_FLAGS_AMASK_SHIFT = 4,
- TB_FLAGS_AMASK_BWX = AMASK_BWX << TB_FLAGS_AMASK_SHIFT,
- TB_FLAGS_AMASK_FIX = AMASK_FIX << TB_FLAGS_AMASK_SHIFT,
- TB_FLAGS_AMASK_CIX = AMASK_CIX << TB_FLAGS_AMASK_SHIFT,
- TB_FLAGS_AMASK_MVI = AMASK_MVI << TB_FLAGS_AMASK_SHIFT,
- TB_FLAGS_AMASK_TRAP = AMASK_TRAP << TB_FLAGS_AMASK_SHIFT,
- TB_FLAGS_AMASK_PREFETCH = AMASK_PREFETCH << TB_FLAGS_AMASK_SHIFT,
};
static inline void cpu_get_tb_cpu_state(CPUAlphaState *env, target_ulong *pc,
@@ -513,7 +505,6 @@ static inline void cpu_get_tb_cpu_state(CPUAlphaState *env, target_ulong *pc,
if (env->fen) {
flags |= TB_FLAGS_FEN;
}
- flags |= env->amask << TB_FLAGS_AMASK_SHIFT;
*pflags = flags;
}