[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC v11 54/55] target/arm: tcg: remove superfluous CONFIG_TCG check
From: |
Claudio Fontana |
Subject: |
[RFC v11 54/55] target/arm: tcg: remove superfluous CONFIG_TCG check |
Date: |
Tue, 23 Mar 2021 16:46:38 +0100 |
modules under tcg/ are only built for CONFIG_TCG anyway.
Signed-off-by: Claudio Fontana <cfontana@suse.de>
---
target/arm/tcg/vfp_helper.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/target/arm/tcg/vfp_helper.c b/target/arm/tcg/vfp_helper.c
index 521719f327..0cc6c85270 100644
--- a/target/arm/tcg/vfp_helper.c
+++ b/target/arm/tcg/vfp_helper.c
@@ -21,10 +21,8 @@
#include "cpu.h"
#include "exec/helper-proto.h"
#include "internals.h"
-#ifdef CONFIG_TCG
#include "qemu/log.h"
#include "fpu/softfloat.h"
-#endif
/* VFP support. We follow the convention used for VFP instructions:
Single precision routines have a "s" suffix, double precision a
@@ -40,8 +38,6 @@ void HELPER(vfp_set_fpscr)(CPUARMState *env, uint32_t val)
vfp_set_fpscr(env, val);
}
-#ifdef CONFIG_TCG
-
#define VFP_HELPER(name, p) HELPER(glue(glue(vfp_,name),p))
#define VFP_BINOP(name) \
@@ -1110,5 +1106,3 @@ void HELPER(check_hcr_el2_trap)(CPUARMState *env,
uint32_t rt, uint32_t reg)
raise_exception(env, EXCP_HYP_TRAP, syndrome, 2);
}
-
-#endif
--
2.26.2
- Re: [RFC v11 46/55] target/arm: cpu-sve: split TCG and KVM functionality, (continued)
- [RFC v11 43/55] target/arm: add tcg cpu accel class, Claudio Fontana, 2021/03/23
- [RFC v11 48/55] target/arm: arch_dump: restrict ELFCLASS64 to AArch64, Claudio Fontana, 2021/03/23
- [RFC v11 47/55] target/arm: make is_aa64 and arm_el_is_aa64 a macro for !TARGET_AARCH64, Claudio Fontana, 2021/03/23
- [RFC v11 49/55] target/arm: cpu-exceptions: new module, Claudio Fontana, 2021/03/23
- [RFC v11 52/55] target/arm: refactor arm_cpu_finalize_features into cpu64, Claudio Fontana, 2021/03/23
- [RFC v11 55/55] target/arm: remove v7m stub function for !CONFIG_TCG, Claudio Fontana, 2021/03/23
- [RFC v11 54/55] target/arm: tcg: remove superfluous CONFIG_TCG check,
Claudio Fontana <=
- [RFC v11 45/55] target/arm: cpu-sve: new module, Claudio Fontana, 2021/03/23