diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-11-01 11:08:11 +0800 |
---|---|---|
committer | Song Gao <gaosong@loongson.cn> | 2023-11-03 14:13:18 +0800 |
commit | 91ffd93be614da080a6dd8826d999e3e4761f78b (patch) | |
tree | c4fbc2dc2e9a6e61cea08c88120b2b9ca4b5c9af /target | |
parent | 1d832c19db1e895b7d8015c3b33fc6311e20a69c (diff) |
linux-user/loongarch64: Use traps to track LSX/LASX usage
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20231101030816.2353416-2-gaosong@loongson.cn>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Diffstat (limited to 'target')
-rw-r--r-- | target/loongarch/insn_trans/trans_vec.c.inc | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/target/loongarch/insn_trans/trans_vec.c.inc b/target/loongarch/insn_trans/trans_vec.c.inc index 98f856bb29..92b1d22e28 100644 --- a/target/loongarch/insn_trans/trans_vec.c.inc +++ b/target/loongarch/insn_trans/trans_vec.c.inc @@ -4,8 +4,6 @@ * Copyright (c) 2022-2023 Loongson Technology Corporation Limited */ -#ifndef CONFIG_USER_ONLY - static bool check_vec(DisasContext *ctx, uint32_t oprsz) { if ((oprsz == 16) && ((ctx->base.tb->flags & HW_FLAGS_EUEN_SXE) == 0)) { @@ -21,15 +19,6 @@ static bool check_vec(DisasContext *ctx, uint32_t oprsz) return true; } -#else - -static bool check_vec(DisasContext *ctx, uint32_t oprsz) -{ - return true; -} - -#endif - static bool gen_vvvv_ptr_vl(DisasContext *ctx, arg_vvvv *a, uint32_t oprsz, gen_helper_gvec_4_ptr *fn) { |