MIPS queue for October 1st, 2019
From: Aleksandar Markovic <[email protected]>
The following changes since commit 95e9d74fe4281f7ad79a5a7511400541729aa44a:
Merge remote-tracking branch 'remotes/borntraeger/tags/s390x-20190930' into staging (2019-09-30 14:21:56 +0100)
are available in the git repository at:
https://github.com/AMarkovic/qemu tags/mips-queue-oct-01-2019
for you to fetch changes up to 0a1bb9127ba66c093d5af395ea2630b06b929011:
target/mips: msa: Move helpers for <AND|NOR|OR|XOR>.V (2019-10-01 16:58:45 +0200)
----------------------------------------------------------------
MIPS queue for October 1st, 2019
Highlights:
- mostly cleanups related to "checkpatch.pl -f"
- slight optimization of handling of some MSA instructions
----------------------------------------------------------------
Aleksandar Markovic (18):
target/mips: Clean up internal.h
target/mips: Clean up kvm_mips.h
target/mips: Clean up mips-defs.h
target/mips: Clean up translate.c
target/mips: msa: Split helpers for <NLOC|NLZC>.<B|H|W|D> target/mips: msa: Split helpers for PCNT.<B|H|W|D>
target/mips: msa: Split helpers for BINS<L|R>.<B|H|W|D> target/mips: msa: Unroll loops and demacro <BMNZ|BMZ|BSEL>.V target/mips: msa: Split helpers for B<CLR|NEG|SEL>.<B|H|W|D> target/mips: msa: Split helpers for AVE_<S|U>.<B|H|W|D> target/mips: msa: Split helpers for AVER_<S|U>.<B|H|W|D> target/mips: msa: Split helpers for CEQ.<B|H|W|D> target/mips: msa: Split helpers for CLE_<S|U>.<B|H|W|D> target/mips: msa: Split helpers for CLT_<S|U>.<B|H|W|D> target/mips: msa: Split helpers for DIV_<S|U>.<B|H|W|D> target/mips: msa: Split helpers for MOD_<S|U>.<B|H|W|D>
target/mips: msa: Simplify and move helper for MOVE.V target/mips: msa: Move helpers for <AND|NOR|OR|XOR>.V
target/mips/helper.h | 144 ++- target/mips/internal.h | 60 +- target/mips/kvm_mips.h | 2 +- target/mips/mips-defs.h | 58 +- target/mips/msa_helper.c | 2163 ++++++++++++++++++++++++++++++++++++---------- target/mips/translate.c | 421 +++++++-- 6 files changed, 2254 insertions(+), 594 deletions(-)
Signature · 1 line
2.7.4
[PULL 01/18] target/mips: Clean up internal.h
From: Aleksandar Markovic <[email protected]>
Mostly fix errors and warnings reported by 'checkpatch.pl -f'.
Message-Id: <[email protected]>
--- target/mips/internal.h | 60 +++++++++++++++++++++++++++++++------------------- 1 file changed, 37 insertions(+), 23 deletions(-)
target/mips/internal.h +37 -23
@@ -1,4 +1,5 @@ -/* mips internal definitions and helpers +/* +* MIPS internal definitions and helpers * * This work is licensed under the terms of the GNU GPL, version 2 or later. * See the COPYING file in the top-level directory.
@@ -9,8 +10,10 @@#include "fpu/softfloat-helpers.h" -/* MMU types, the first four entries have the same layout as the -CP0C0_MT field. */ +/* +* MMU types, the first four entries have the same layout as the +* CP0C0_MT field. +*/ enum mips_mmu_types {MMU_TYPE_NONE ,MMU_TYPE_R4000 ,
@@ -160,9 +163,11 @@ static inline bool cpu_mips_hw_interrupts_enabled(CPUMIPSState *env) !(env->CP0_Status & (1 << CP0St_EXL)) && !(env->CP0_Status & (1 << CP0St_ERL)) && !(env->hflags &MIPS_HFLAG_DM ) && -/* Note that the TCStatus IXMT field is initialized to zero, -and only MT capable cores can set it to one. So we don't -need to check for MT capabilities here. */ +/* +* Note that the TCStatus IXMT field is initialized to zero, +* and only MT capable cores can set it to one. So we don't +* need to check for MT capabilities here. +*/ !(env->active_tc.CP0_TCStatus & (1 << CP0TCSt_IXMT)); }
@@ -177,14 +182,18 @@ static inline bool cpu_mips_hw_interrupts_pending(CPUMIPSState *env) status = env->CP0_Status & CP0Ca_IP_mask;if (env->CP0_Config3 & (1 <<CP0C3_VEIC )) { -/* A MIPS configured with a vectorizing external interrupt controller -will feed a vector into the Cause pending lines. The core treats -the status lines as a vector level, not as indiviual masks. */ +/* +* A MIPS configured with a vectorizing external interrupt controller +* will feed a vector into the Cause pending lines. The core treats +* the status lines as a vector level, not as indiviual masks. +*/ r = pending > status; }else { -/* A MIPS configured with compatibility or VInt (Vectored Interrupts) -treats the pending lines as individual interrupt lines, the status -lines are individual masks. */ +/* +* A MIPS configured with compatibility or VInt (Vectored Interrupts) +* treats the pending lines as individual interrupt lines, the status +* lines are individual masks. +*/ r = (pending & status) !=0 ; }return r;
@@ -275,12 +284,14 @@ static inline int mips_vpe_active(CPUMIPSState *env) active =0 ; } -/* Now verify that there are active thread contexts in the VPE. - -This assumes the CPU model will internally reschedule threads -if the active one goes to sleep. If there are no threads available -the active one will be in a sleeping state, and we can turn off -the entire VPE. */ +/* +* Now verify that there are active thread contexts in the VPE. +* +* This assumes the CPU model will internally reschedule threads +* if the active one goes to sleep. If there are no threads available +* the active one will be in a sleeping state, and we can turn off +* the entire VPE. +*/ if (!(env->active_tc.CP0_TCStatus & (1 << CP0TCSt_A))) {/* TC is not activated. */ active =0 ;
@@ -326,7 +337,8 @@ static inline void compute_hflags(CPUMIPSState *env)if (!(env->CP0_Status & (1 << CP0St_EXL)) && !(env->CP0_Status & (1 << CP0St_ERL)) && !(env->hflags &MIPS_HFLAG_DM )) { - env->hflags |= (env->CP0_Status >> CP0St_KSU) &MIPS_HFLAG_KSU ; + env->hflags |= (env->CP0_Status >> CP0St_KSU) & +MIPS_HFLAG_KSU ; }#if defined(TARGET_MIPS64 ) if ((env->insn_flags & ISA_MIPS3) &&
@@ -403,10 +415,12 @@ static inline void compute_hflags(CPUMIPSState *env) env->hflags |=MIPS_HFLAG_COP1X ; } }else if (env->insn_flags &ISA_MIPS4 ) { -/* All supported MIPS IV CPUs use the XX (CU3) to enable -and disable the MIPS IV extensions to the MIPS III ISA. -Some other MIPS IV CPUs ignore the bit, so the check here -would be too restrictive for them. */ +/* +* All supported MIPS IV CPUs use the XX (CU3) to enable +* and disable the MIPS IV extensions to the MIPS III ISA. +* Some other MIPS IV CPUs ignore the bit, so the check here +* would be too restrictive for them. +*/ if (env->CP0_Status & (1U << CP0St_CU3)) { env->hflags |=MIPS_HFLAG_COP1X ; }
Signature · 1 line
2.7.4
[PULL 02/18] target/mips: Clean up kvm_mips.h
In reply to Aleksandar MarkovicFrom: Aleksandar Markovic <[email protected]>
Mostly fix errors and warnings reported by 'checkpatch.pl -f'.
Message-Id: <[email protected]>
--- target/mips/kvm_mips.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
target/mips/kvm_mips.h +1 -1
@@ -7,7 +7,7 @@* * Copyright (C) 2012-2014 Imagination Technologies Ltd. * Authors: Sanjay Lal <[email protected]> -*/ +*/ #ifndef KVM_MIPS_H #define KVM_MIPS_H
Signature · 1 line
2.7.4
[PULL 04/18] target/mips: Clean up translate.c
In reply to Aleksandar MarkovicFrom: Aleksandar Markovic <[email protected]>
Mostly fix errors and warnings reported by 'checkpatch.pl -f'.
Message-Id: <[email protected]>
--- target/mips/translate.c | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-)
target/mips/translate.c +18 -12
@@ -7118,7 +7118,7 @@ static void gen_mfc0(DisasContext *ctx, TCGv arg, int reg, int sel)tcg_gen_andi_tl (arg, arg, ~0xffff ); register_name ="BadInstrX" ;break ; -default : +default : goto cp0_unimplemented; }break ;
@@ -7545,7 +7545,7 @@ static void gen_mfc0(DisasContext *ctx, TCGv arg, int reg, int sel)case CP0_REG31__KSCRATCH6 :CP0_CHECK (ctx->kscrexist & (1 << sel));tcg_gen_ld_tl (arg, cpu_env, - offsetof(CPUMIPSState, CP0_KScratch[sel-2])); + offsetof(CPUMIPSState, CP0_KScratch[sel - 2]));tcg_gen_ext32s_tl (arg, arg); register_name ="KScratch" ;break ;
@@ -8295,7 +8295,7 @@ static void gen_mtc0(DisasContext *ctx, TCGv arg, int reg, int sel)case CP0_REG31__KSCRATCH6 :CP0_CHECK (ctx->kscrexist & (1 << sel));tcg_gen_st_tl (arg, cpu_env, - offsetof(CPUMIPSState, CP0_KScratch[sel-2])); + offsetof(CPUMIPSState, CP0_KScratch[sel - 2])); register_name ="KScratch" ;break ;default :
@@ -8387,17 +8387,20 @@ static void gen_dmfc0(DisasContext *ctx, TCGv arg, int reg, int sel)break ;case CP0_REG01__YQMASK :CP0_CHECK (ctx->insn_flags &ASE_MT ); -tcg_gen_ld_tl (arg, cpu_env, offsetof(CPUMIPSState , CP0_YQMask)); +tcg_gen_ld_tl (arg, cpu_env, + offsetof(CPUMIPSState , CP0_YQMask)); register_name ="YQMask" ;break ;case CP0_REG01__VPESCHEDULE :CP0_CHECK (ctx->insn_flags &ASE_MT ); -tcg_gen_ld_tl (arg, cpu_env, offsetof(CPUMIPSState , CP0_VPESchedule)); +tcg_gen_ld_tl (arg, cpu_env, + offsetof(CPUMIPSState , CP0_VPESchedule)); register_name ="VPESchedule" ;break ;case CP0_REG01__VPESCHEFBACK :CP0_CHECK (ctx->insn_flags &ASE_MT ); -tcg_gen_ld_tl (arg, cpu_env, offsetof(CPUMIPSState , CP0_VPEScheFBack)); +tcg_gen_ld_tl (arg, cpu_env, + offsetof(CPUMIPSState , CP0_VPEScheFBack)); register_name ="VPEScheFBack" ;break ;case CP0_REG01__VPEOPT :
@@ -8412,7 +8415,8 @@ static void gen_dmfc0(DisasContext *ctx, TCGv arg, int reg, int sel)case CP0_REGISTER_02 :switch (sel) {case CP0_REG02__ENTRYLO0 : -tcg_gen_ld_tl (arg, cpu_env, offsetof(CPUMIPSState , CP0_EntryLo0)); +tcg_gen_ld_tl (arg, cpu_env, + offsetof(CPUMIPSState , CP0_EntryLo0)); register_name ="EntryLo0" ;break ;case CP0_REG02__TCSTATUS :
@@ -8756,7 +8760,7 @@ static void gen_dmfc0(DisasContext *ctx, TCGv arg, int reg, int sel)gen_mfc0_load32 (arg, offsetof(CPUMIPSState , CP0_Config5)); register_name ="Config5" ;break ; -/* 6,7 are implementation dependent */ +/* 6,7 are implementation dependent */ case CP0_REG16__CONFIG6 :gen_mfc0_load32 (arg, offsetof(CPUMIPSState , CP0_Config6)); register_name ="Config6" ;
@@ -8837,7 +8841,7 @@ static void gen_dmfc0(DisasContext *ctx, TCGv arg, int reg, int sel) }break ;case CP0_REGISTER_21 : -/* Officially reserved, but sel 0 is used for R1x000 framemask */ +/* Officially reserved, but sel 0 is used for R1x000 framemask */ CP0_CHECK (!(ctx->insn_flags &ISA_MIPS32R6 ));switch (sel) {case 0 :
@@ -9022,7 +9026,7 @@ static void gen_dmfc0(DisasContext *ctx, TCGv arg, int reg, int sel)case CP0_REG31__KSCRATCH6 :CP0_CHECK (ctx->kscrexist & (1 << sel));tcg_gen_ld_tl (arg, cpu_env, - offsetof(CPUMIPSState, CP0_KScratch[sel-2])); + offsetof(CPUMIPSState, CP0_KScratch[sel - 2])); register_name ="KScratch" ;break ;default :
@@ -9112,12 +9116,14 @@ static void gen_dmtc0(DisasContext *ctx, TCGv arg, int reg, int sel)break ;case CP0_REG01__VPESCHEDULE :CP0_CHECK (ctx->insn_flags &ASE_MT ); -tcg_gen_st_tl (arg, cpu_env, offsetof(CPUMIPSState , CP0_VPESchedule)); +tcg_gen_st_tl (arg, cpu_env, + offsetof(CPUMIPSState , CP0_VPESchedule)); register_name ="VPESchedule" ;break ;case CP0_REG01__VPESCHEFBACK :CP0_CHECK (ctx->insn_flags &ASE_MT ); -tcg_gen_st_tl (arg, cpu_env, offsetof(CPUMIPSState , CP0_VPEScheFBack)); +tcg_gen_st_tl (arg, cpu_env, + offsetof(CPUMIPSState , CP0_VPEScheFBack)); register_name ="VPEScheFBack" ;break ;case CP0_REG01__VPEOPT :
Signature · 1 line
2.7.4
[PULL 08/18] target/mips: msa: Unroll loops and demacro <BMNZ|BMZ|BSEL>.V
In reply to Aleksandar MarkovicFrom: Aleksandar Markovic <[email protected]>
Achieves clearer code and slightly better performance.
Message-Id: <[email protected]>
--- target/mips/helper.h | 7 +++--- target/mips/msa_helper.c | 63 ++++++++++++++++++++++++++++++------------------ 2 files changed, 43 insertions(+), 27 deletions(-)
target/mips/helper.h +4 -3
@@ -803,6 +803,10 @@ DEF_HELPER_4(msa_binsr_h, void, env, i32, i32, i32) DEF_HELPER_4(msa_binsr_w, void, env, i32, i32, i32) DEF_HELPER_4(msa_binsr_d, void, env, i32, i32, i32) +DEF_HELPER_4(msa_bmnz_v, void, env, i32, i32, i32) +DEF_HELPER_4(msa_bmz_v, void, env, i32, i32, i32) +DEF_HELPER_4(msa_bsel_v, void, env, i32, i32, i32) + DEF_HELPER_4(msa_andi_b, void, env, i32, i32, i32)DEF_HELPER_4 (msa_ori_b, void, env, i32, i32, i32)
@@ -957,9 +961,6 @@ DEF_HELPER_4(msa_and_v, void, env, i32, i32, i32) DEF_HELPER_4(msa_or_v, void, env, i32, i32, i32) DEF_HELPER_4(msa_nor_v, void, env, i32, i32, i32) DEF_HELPER_4(msa_xor_v, void, env, i32, i32, i32) -DEF_HELPER_4(msa_bmnz_v, void, env, i32, i32, i32) -DEF_HELPER_4(msa_bmz_v, void, env, i32, i32, i32) -DEF_HELPER_4(msa_bsel_v, void, env, i32, i32, i32) DEF_HELPER_4(msa_fill_df, void, env, i32, i32, i32)DEF_HELPER_4 (msa_copy_s_b, void, env, i32, i32, i32)
target/mips/msa_helper.c +39 -24
81 lines not on this page · raw message
Signature · 1 line
2.7.4
[PULL 03/18] target/mips: Clean up mips-defs.h
In reply to Aleksandar MarkovicFrom: Aleksandar Markovic <[email protected]>
Mostly fix errors and warnings reported by 'checkpatch.pl -f'.
Message-Id: <[email protected]>
--- target/mips/mips-defs.h | 58 +++++++++++++++++++++++++++---------------------- 1 file changed, 32 insertions(+), 26 deletions(-)
target/mips/mips-defs.h +32 -26
@@ -1,8 +1,11 @@#ifndef QEMU_MIPS_DEFS_H #define QEMU_MIPS_DEFS_H -/* If we want to use host float regs... */ -//#define USE_HOST_FLOAT_REGS +/* +* If we want to use host float regs... +* +* #define USE_HOST_FLOAT_REGS +*/ /* Real pages are variable size... */ #define MIPS_TLB_MAX 128
@@ -57,43 +60,46 @@#define ASE_MXU 0x0200000000000000ULL/* MIPS CPU defines. */ -#define CPU_MIPS1 (ISA_MIPS1) -#define CPU_MIPS2 (CPU_MIPS1 | ISA_MIPS2) -#define CPU_MIPS3 (CPU_MIPS2 | ISA_MIPS3) -#define CPU_MIPS4 (CPU_MIPS3 | ISA_MIPS4) -#define CPU_VR54XX (CPU_MIPS4 | INSN_VR54XX) -#define CPU_R5900 (CPU_MIPS3 | INSN_R5900) -#define CPU_LOONGSON2E (CPU_MIPS3 | INSN_LOONGSON2E) -#define CPU_LOONGSON2F (CPU_MIPS3 | INSN_LOONGSON2F) +#define CPU_MIPS1 (ISA_MIPS1) +#define CPU_MIPS2 (CPU_MIPS1 | ISA_MIPS2) +#define CPU_MIPS3 (CPU_MIPS2 | ISA_MIPS3) +#define CPU_MIPS4 (CPU_MIPS3 | ISA_MIPS4) +#define CPU_VR54XX (CPU_MIPS4 | INSN_VR54XX) +#define CPU_R5900 (CPU_MIPS3 | INSN_R5900) +#define CPU_LOONGSON2E (CPU_MIPS3 | INSN_LOONGSON2E) +#define CPU_LOONGSON2F (CPU_MIPS3 | INSN_LOONGSON2F) -#define CPU_MIPS5 (CPU_MIPS4 | ISA_MIPS5) +#define CPU_MIPS5 (CPU_MIPS4 | ISA_MIPS5)/* MIPS Technologies "Release 1" */ -#define CPU_MIPS32 (CPU_MIPS2 | ISA_MIPS32) -#define CPU_MIPS64 (CPU_MIPS5 | CPU_MIPS32 | ISA_MIPS64) +#define CPU_MIPS32 (CPU_MIPS2 | ISA_MIPS32) +#define CPU_MIPS64 (CPU_MIPS5 | CPU_MIPS32 | ISA_MIPS64)/* MIPS Technologies "Release 2" */ -#define CPU_MIPS32R2 (CPU_MIPS32 | ISA_MIPS32R2) -#define CPU_MIPS64R2 (CPU_MIPS64 | CPU_MIPS32R2 | ISA_MIPS64R2) +#define CPU_MIPS32R2 (CPU_MIPS32 | ISA_MIPS32R2) +#define CPU_MIPS64R2 (CPU_MIPS64 | CPU_MIPS32R2 | ISA_MIPS64R2)/* MIPS Technologies "Release 3" */ -#define CPU_MIPS32R3 (CPU_MIPS32R2 | ISA_MIPS32R3) -#define CPU_MIPS64R3 (CPU_MIPS64R2 | CPU_MIPS32R3 | ISA_MIPS64R3) +#define CPU_MIPS32R3 (CPU_MIPS32R2 | ISA_MIPS32R3) +#define CPU_MIPS64R3 (CPU_MIPS64R2 | CPU_MIPS32R3 | ISA_MIPS64R3)/* MIPS Technologies "Release 5" */ -#define CPU_MIPS32R5 (CPU_MIPS32R3 | ISA_MIPS32R5) -#define CPU_MIPS64R5 (CPU_MIPS64R3 | CPU_MIPS32R5 | ISA_MIPS64R5) +#define CPU_MIPS32R5 (CPU_MIPS32R3 | ISA_MIPS32R5) +#define CPU_MIPS64R5 (CPU_MIPS64R3 | CPU_MIPS32R5 | ISA_MIPS64R5)/* MIPS Technologies "Release 6" */ -#define CPU_MIPS32R6 (CPU_MIPS32R5 | ISA_MIPS32R6) -#define CPU_MIPS64R6 (CPU_MIPS64R5 | CPU_MIPS32R6 | ISA_MIPS64R6) +#define CPU_MIPS32R6 (CPU_MIPS32R5 | ISA_MIPS32R6) +#define CPU_MIPS64R6 (CPU_MIPS64R5 | CPU_MIPS32R6 | ISA_MIPS64R6)/* Wave Computing: "nanoMIPS" */ -#define CPU_NANOMIPS32 (CPU_MIPS32R6 | ISA_NANOMIPS32) +#define CPU_NANOMIPS32 (CPU_MIPS32R6 | ISA_NANOMIPS32) -/* Strictly follow the architecture standard: -- Disallow "special" instruction handling for PMON/SPIM. -Note that we still maintain Count/Compare to match the host clock. */ -//#define MIPS_STRICT_STANDARD 1 +/* +* Strictly follow the architecture standard: +* - Disallow "special" instruction handling for PMON/SPIM. +* Note that we still maintain Count/Compare to match the host clock. +* +* #define MIPS_STRICT_STANDARD 1 +*/ #endif /* QEMU_MIPS_DEFS_H */
Signature · 1 line
2.7.4
[PULL 13/18] target/mips: msa: Split helpers for CLE_<S|U>.<B|H|W|D>
In reply to Aleksandar MarkovicFrom: Aleksandar Markovic <[email protected]>
Achieves clearer code and slightly better performance.
Message-Id: <[email protected]>
--- target/mips/helper.h | 12 +++- target/mips/msa_helper.c | 158 ++++++++++++++++++++++++++++++++++++++++++----- target/mips/translate.c | 38 ++++++++++-- 3 files changed, 186 insertions(+), 22 deletions(-)
target/mips/helper.h +10 -2
@@ -847,6 +847,16 @@ DEF_HELPER_4(msa_ceq_h, void, env, i32, i32, i32) DEF_HELPER_4(msa_ceq_w, void, env, i32, i32, i32) DEF_HELPER_4(msa_ceq_d, void, env, i32, i32, i32) +DEF_HELPER_4(msa_cle_s_b, void, env, i32, i32, i32) +DEF_HELPER_4(msa_cle_s_h, void, env, i32, i32, i32) +DEF_HELPER_4(msa_cle_s_w, void, env, i32, i32, i32) +DEF_HELPER_4(msa_cle_s_d, void, env, i32, i32, i32) + +DEF_HELPER_4(msa_cle_u_b, void, env, i32, i32, i32) +DEF_HELPER_4(msa_cle_u_h, void, env, i32, i32, i32) +DEF_HELPER_4(msa_cle_u_w, void, env, i32, i32, i32) +DEF_HELPER_4(msa_cle_u_d, void, env, i32, i32, i32) + DEF_HELPER_4(msa_andi_b, void, env, i32, i32, i32)DEF_HELPER_4 (msa_ori_b, void, env, i32, i32, i32)
@@ -898,8 +908,6 @@ DEF_HELPER_5(msa_max_a_df, void, env, i32, i32, i32, i32) DEF_HELPER_5(msa_min_a_df, void, env, i32, i32, i32, i32) DEF_HELPER_5(msa_clt_s_df, void, env, i32, i32, i32, i32) DEF_HELPER_5(msa_clt_u_df, void, env, i32, i32, i32, i32) -DEF_HELPER_5(msa_cle_s_df, void, env, i32, i32, i32, i32) -DEF_HELPER_5(msa_cle_u_df, void, env, i32, i32, i32, i32) DEF_HELPER_5(msa_add_a_df, void, env, i32, i32, i32, i32) DEF_HELPER_5(msa_adds_a_df, void, env, i32, i32, i32, i32)DEF_HELPER_5 (msa_adds_s_df, void, env, i32, i32, i32, i32)
target/mips/msa_helper.c +144 -14
176 lines not on this page · raw message
target/mips/translate.c +32 -6
@@ -28546,6 +28546,38 @@ static void gen_msa_3r(CPUMIPSState *env, DisasContext *ctx)break ; }break ; +case OPC_CLE_S_df: +switch (df) { +case DF_BYTE : +gen_helper_msa_cle_s_b (cpu_env, twd, tws, twt); +break ; +case DF_HALF : +gen_helper_msa_cle_s_h (cpu_env, twd, tws, twt); +break ; +case DF_WORD : +gen_helper_msa_cle_s_w (cpu_env, twd, tws, twt); +break ; +case DF_DOUBLE : +gen_helper_msa_cle_s_d (cpu_env, twd, tws, twt); +break ; + } +break ; +case OPC_CLE_U_df: +switch (df) { +case DF_BYTE : +gen_helper_msa_cle_u_b (cpu_env, twd, tws, twt); +break ; +case DF_HALF : +gen_helper_msa_cle_u_h (cpu_env, twd, tws, twt); +break ; +case DF_WORD : +gen_helper_msa_cle_u_w (cpu_env, twd, tws, twt); +break ; +case DF_DOUBLE : +gen_helper_msa_cle_u_d (cpu_env, twd, tws, twt); +break ; + } +break ;case OPC_SLL_df:gen_helper_msa_sll_df (cpu_env, tdf, twd, tws, twt);break ;
@@ -28630,9 +28662,6 @@ static void gen_msa_3r(CPUMIPSState *env, DisasContext *ctx)case OPC_MIN_S_df:gen_helper_msa_min_s_df (cpu_env, tdf, twd, tws, twt);break ; -case OPC_CLE_S_df: -gen_helper_msa_cle_s_df (cpu_env, tdf, twd, tws, twt); -break ;case OPC_ASUB_S_df:gen_helper_msa_asub_s_df (cpu_env, tdf, twd, tws, twt);break ;
@@ -28645,9 +28674,6 @@ static void gen_msa_3r(CPUMIPSState *env, DisasContext *ctx)case OPC_MIN_U_df:gen_helper_msa_min_u_df (cpu_env, tdf, twd, tws, twt);break ; -case OPC_CLE_U_df: -gen_helper_msa_cle_u_df (cpu_env, tdf, twd, tws, twt); -break ;case OPC_ASUB_U_df:gen_helper_msa_asub_u_df (cpu_env, tdf, twd, tws, twt);break ;
Signature · 1 line
2.7.4
[PULL 06/18] target/mips: msa: Split helpers for PCNT.<B|H|W|D>
In reply to Aleksandar MarkovicFrom: Aleksandar Markovic <[email protected]>
Achieves clearer code and slightly better performance.
Message-Id: <[email protected]>
--- target/mips/helper.h | 6 +- target/mips/msa_helper.c | 143 ++++++++++++++++++++++++----------------------- target/mips/translate.c | 19 ++++++- 3 files changed, 95 insertions(+), 73 deletions(-)
target/mips/helper.h +5 -1
@@ -788,6 +788,11 @@ DEF_HELPER_3(msa_nlzc_h, void, env, i32, i32) DEF_HELPER_3(msa_nlzc_w, void, env, i32, i32) DEF_HELPER_3(msa_nlzc_d, void, env, i32, i32) +DEF_HELPER_3(msa_pcnt_b, void, env, i32, i32) +DEF_HELPER_3(msa_pcnt_h, void, env, i32, i32) +DEF_HELPER_3(msa_pcnt_w, void, env, i32, i32) +DEF_HELPER_3(msa_pcnt_d, void, env, i32, i32) + DEF_HELPER_4(msa_andi_b, void, env, i32, i32, i32)DEF_HELPER_4 (msa_ori_b, void, env, i32, i32, i32)
@@ -946,7 +951,6 @@ DEF_HELPER_4(msa_bmnz_v, void, env, i32, i32, i32) DEF_HELPER_4(msa_bmz_v, void, env, i32, i32, i32) DEF_HELPER_4(msa_bsel_v, void, env, i32, i32, i32) DEF_HELPER_4(msa_fill_df, void, env, i32, i32, i32) -DEF_HELPER_4(msa_pcnt_df, void, env, i32, i32, i32) DEF_HELPER_4(msa_copy_s_b, void, env, i32, i32, i32)DEF_HELPER_4 (msa_copy_s_h, void, env, i32, i32, i32)
target/mips/msa_helper.c +74 -69
161 lines not on this page · raw message
target/mips/translate.c +16 -3
@@ -28958,9 +28958,6 @@ static void gen_msa_2r(CPUMIPSState *env, DisasContext *ctx)#endif gen_helper_msa_fill_df (cpu_env, tdf, twd, tws);/* trs */ break ; -case OPC_PCNT_df: -gen_helper_msa_pcnt_df (cpu_env, tdf, twd, tws); -break ;case OPC_NLOC_df:switch (df) {case DF_BYTE :
@@ -28993,6 +28990,22 @@ static void gen_msa_2r(CPUMIPSState *env, DisasContext *ctx)break ; }break ; +case OPC_PCNT_df: +switch (df) { +case DF_BYTE : +gen_helper_msa_pcnt_b (cpu_env, twd, tws); +break ; +case DF_HALF : +gen_helper_msa_pcnt_h (cpu_env, twd, tws); +break ; +case DF_WORD : +gen_helper_msa_pcnt_w (cpu_env, twd, tws); +break ; +case DF_DOUBLE : +gen_helper_msa_pcnt_d (cpu_env, twd, tws); +break ; + } +break ;default :MIPS_INVAL ("MSA instruction" );generate_exception_end (ctx,EXCP_RI );
Signature · 1 line
2.7.4
[PULL 12/18] target/mips: msa: Split helpers for CEQ.<B|H|W|D>
In reply to Aleksandar MarkovicFrom: Aleksandar Markovic <[email protected]>
Achieves clearer code and slightly better performance.
Message-Id: <[email protected]>
--- target/mips/helper.h | 6 +++- target/mips/msa_helper.c | 73 +++++++++++++++++++++++++++++++++++++++++++----- target/mips/translate.c | 19 +++++++++++-- 3 files changed, 87 insertions(+), 11 deletions(-)
target/mips/helper.h +5 -1
@@ -842,6 +842,11 @@ DEF_HELPER_4(msa_aver_u_h, void, env, i32, i32, i32) DEF_HELPER_4(msa_aver_u_w, void, env, i32, i32, i32) DEF_HELPER_4(msa_aver_u_d, void, env, i32, i32, i32) +DEF_HELPER_4(msa_ceq_b, void, env, i32, i32, i32) +DEF_HELPER_4(msa_ceq_h, void, env, i32, i32, i32) +DEF_HELPER_4(msa_ceq_w, void, env, i32, i32, i32) +DEF_HELPER_4(msa_ceq_d, void, env, i32, i32, i32) + DEF_HELPER_4(msa_andi_b, void, env, i32, i32, i32)DEF_HELPER_4 (msa_ori_b, void, env, i32, i32, i32)
@@ -891,7 +896,6 @@ DEF_HELPER_5(msa_min_s_df, void, env, i32, i32, i32, i32) DEF_HELPER_5(msa_min_u_df, void, env, i32, i32, i32, i32) DEF_HELPER_5(msa_max_a_df, void, env, i32, i32, i32, i32) DEF_HELPER_5(msa_min_a_df, void, env, i32, i32, i32, i32) -DEF_HELPER_5(msa_ceq_df, void, env, i32, i32, i32, i32) DEF_HELPER_5(msa_clt_s_df, void, env, i32, i32, i32, i32) DEF_HELPER_5(msa_clt_u_df, void, env, i32, i32, i32, i32)DEF_HELPER_5 (msa_cle_s_df, void, env, i32, i32, i32, i32)
target/mips/msa_helper.c +66 -7
91 lines not on this page · raw message
target/mips/translate.c +16 -3
@@ -28530,15 +28530,28 @@ static void gen_msa_3r(CPUMIPSState *env, DisasContext *ctx)break ; }break ; +case OPC_CEQ_df: +switch (df) { +case DF_BYTE : +gen_helper_msa_ceq_b (cpu_env, twd, tws, twt); +break ; +case DF_HALF : +gen_helper_msa_ceq_h (cpu_env, twd, tws, twt); +break ; +case DF_WORD : +gen_helper_msa_ceq_w (cpu_env, twd, tws, twt); +break ; +case DF_DOUBLE : +gen_helper_msa_ceq_d (cpu_env, twd, tws, twt); +break ; + } +break ;case OPC_SLL_df:gen_helper_msa_sll_df (cpu_env, tdf, twd, tws, twt);break ;case OPC_ADDV_df:gen_helper_msa_addv_df (cpu_env, tdf, twd, tws, twt);break ; -case OPC_CEQ_df: -gen_helper_msa_ceq_df (cpu_env, tdf, twd, tws, twt); -break ;case OPC_ADD_A_df:gen_helper_msa_add_a_df (cpu_env, tdf, twd, tws, twt);break ;
Signature · 1 line
2.7.4
[PULL 07/18] target/mips: msa: Split helpers for BINS<L|R>.<B|H|W|D>
In reply to Aleksandar MarkovicFrom: Aleksandar Markovic <[email protected]>
Achieves clearer code and slightly better performance.
Message-Id: <[email protected]>
--- target/mips/helper.h | 10 +++ target/mips/msa_helper.c | 198 +++++++++++++++++++++++++++++++++++++++-------- target/mips/translate.c | 38 +++++++-- 3 files changed, 206 insertions(+), 40 deletions(-)
target/mips/helper.h +10 -0
@@ -793,6 +793,16 @@ DEF_HELPER_3(msa_pcnt_h, void, env, i32, i32) DEF_HELPER_3(msa_pcnt_w, void, env, i32, i32) DEF_HELPER_3(msa_pcnt_d, void, env, i32, i32) +DEF_HELPER_4(msa_binsl_b, void, env, i32, i32, i32) +DEF_HELPER_4(msa_binsl_h, void, env, i32, i32, i32) +DEF_HELPER_4(msa_binsl_w, void, env, i32, i32, i32) +DEF_HELPER_4(msa_binsl_d, void, env, i32, i32, i32) + +DEF_HELPER_4(msa_binsr_b, void, env, i32, i32, i32) +DEF_HELPER_4(msa_binsr_h, void, env, i32, i32, i32) +DEF_HELPER_4(msa_binsr_w, void, env, i32, i32, i32) +DEF_HELPER_4(msa_binsr_d, void, env, i32, i32, i32) + DEF_HELPER_4(msa_andi_b, void, env, i32, i32, i32)DEF_HELPER_4 (msa_ori_b, void, env, i32, i32, i32)
target/mips/msa_helper.c +164 -34
216 lines not on this page · raw message
target/mips/translate.c +32 -6
@@ -28386,6 +28386,38 @@ static void gen_msa_3r(CPUMIPSState *env, DisasContext *ctx)TCGv_i32 twt =tcg_const_i32 (wt);switch (MASK_MSA_3R (ctx->opcode)) { +case OPC_BINSL_df: +switch (df) { +case DF_BYTE : +gen_helper_msa_binsl_b (cpu_env, twd, tws, twt); +break ; +case DF_HALF : +gen_helper_msa_binsl_h (cpu_env, twd, tws, twt); +break ; +case DF_WORD : +gen_helper_msa_binsl_w (cpu_env, twd, tws, twt); +break ; +case DF_DOUBLE : +gen_helper_msa_binsl_d (cpu_env, twd, tws, twt); +break ; + } +break ; +case OPC_BINSR_df: +switch (df) { +case DF_BYTE : +gen_helper_msa_binsr_b (cpu_env, twd, tws, twt); +break ; +case DF_HALF : +gen_helper_msa_binsr_h (cpu_env, twd, tws, twt); +break ; +case DF_WORD : +gen_helper_msa_binsr_w (cpu_env, twd, tws, twt); +break ; +case DF_DOUBLE : +gen_helper_msa_binsr_d (cpu_env, twd, tws, twt); +break ; + } +break ;case OPC_SLL_df:gen_helper_msa_sll_df (cpu_env, tdf, twd, tws, twt);break ;
@@ -28515,9 +28547,6 @@ static void gen_msa_3r(CPUMIPSState *env, DisasContext *ctx)case OPC_ILVR_df:gen_helper_msa_ilvr_df (cpu_env, tdf, twd, tws, twt);break ; -case OPC_BINSL_df: -gen_helper_msa_binsl_df (cpu_env, tdf, twd, tws, twt); -break ;case OPC_MAX_A_df:gen_helper_msa_max_a_df (cpu_env, tdf, twd, tws, twt);break ;
@@ -28530,9 +28559,6 @@ static void gen_msa_3r(CPUMIPSState *env, DisasContext *ctx)case OPC_ILVEV_df:gen_helper_msa_ilvev_df (cpu_env, tdf, twd, tws, twt);break ; -case OPC_BINSR_df: -gen_helper_msa_binsr_df (cpu_env, tdf, twd, tws, twt); -break ;case OPC_MIN_A_df:gen_helper_msa_min_a_df (cpu_env, tdf, twd, tws, twt);break ;
Signature · 1 line
2.7.4
[PULL 17/18] target/mips: msa: Simplify and move helper for MOVE.V
In reply to Aleksandar MarkovicFrom: Aleksandar Markovic <[email protected]>
Achieves clearer code and slightly better performance.
Message-Id: <[email protected]>
--- target/mips/helper.h | 2 +- target/mips/msa_helper.c | 31 +++++++++++++------------------ 2 files changed, 14 insertions(+), 19 deletions(-)
target/mips/helper.h +1 -1
@@ -887,6 +887,7 @@ DEF_HELPER_4(msa_mod_s_h, void, env, i32, i32, i32) DEF_HELPER_4(msa_mod_s_w, void, env, i32, i32, i32) DEF_HELPER_4(msa_mod_s_d, void, env, i32, i32, i32) +DEF_HELPER_3(msa_move_v, void, env, i32, i32) DEF_HELPER_4(msa_andi_b, void, env, i32, i32, i32)DEF_HELPER_4 (msa_ori_b, void, env, i32, i32, i32)
@@ -977,7 +978,6 @@ DEF_HELPER_5(msa_splati_df, void, env, i32, i32, i32, i32) DEF_HELPER_5(msa_insve_df, void, env, i32, i32, i32, i32) DEF_HELPER_3(msa_ctcmsa, void, env, tl, i32) DEF_HELPER_2(msa_cfcmsa, tl, env, i32) -DEF_HELPER_3(msa_move_v, void, env, i32, i32) DEF_HELPER_5(msa_fcaf_df, void, env, i32, i32, i32, i32)DEF_HELPER_5 (msa_fcun_df, void, env, i32, i32, i32, i32)
target/mips/msa_helper.c +13 -18
@@ -2022,7 +2022,19 @@ void helper_msa_mod_u_d(CPUMIPSState *env,* +---------------+----------------------------------------------------------+ */ -/* TODO: insert Move group helpers here */ +static inline void msa_move_v (wr_t *pwd,wr_t *pws) +{ + pwd->d[0 ] = pws->d[0 ]; + pwd->d[1 ] = pws->d[1 ]; +} + +void helper_msa_move_v (CPUMIPSState *env,uint32_t wd,uint32_t ws) +{ +wr_t *pwd = &(env->active_fpu.fpr[wd].wr); +wr_t *pws = &(env->active_fpu.fpr[ws].wr); + +msa_move_v (pwd, pws); +}/*
@@ -2079,15 +2091,6 @@ void helper_msa_mod_u_d(CPUMIPSState *env,/* TODO: insert Shift group helpers here */ -static inline void msa_move_v (wr_t *pwd,wr_t *pws) -{ -uint32_t i; - -for (i =0 ; i <DF_ELEMENTS (DF_DOUBLE ); i++) { - pwd->d[i] = pws->d[i]; - } -} -#define MSA_FN_IMM8 (FUNC ,DEST ,OPERATION ) \ void helper_msa_ ## FUNC(CPUMIPSState *env, uint32_t wd, uint32_t ws, \ uint32_t i8) \
@@ -3874,14 +3877,6 @@ target_ulong helper_msa_cfcmsa(CPUMIPSState *env, uint32_t cs)return 0 ; } -void helper_msa_move_v (CPUMIPSState *env,uint32_t wd,uint32_t ws) -{ -wr_t *pwd = &(env->active_fpu.fpr[wd].wr); -wr_t *pws = &(env->active_fpu.fpr[ws].wr); - -msa_move_v (pwd, pws); -} -void helper_msa_fill_df (CPUMIPSState *env,uint32_t df,uint32_t wd,uint32_t rs) {
Signature · 1 line
2.7.4
[PULL 10/18] target/mips: msa: Split helpers for AVE_<S|U>.<B|H|W|D>
In reply to Aleksandar MarkovicFrom: Aleksandar Markovic <[email protected]>
Achieves clearer code and slightly better performance.
Message-Id: <[email protected]>
--- target/mips/helper.h | 12 +++- target/mips/msa_helper.c | 162 ++++++++++++++++++++++++++++++++++++++++++----- target/mips/translate.c | 38 +++++++++-- 3 files changed, 187 insertions(+), 25 deletions(-)
target/mips/helper.h +10 -2
@@ -822,6 +822,16 @@ DEF_HELPER_4(msa_bset_h, void, env, i32, i32, i32) DEF_HELPER_4(msa_bset_w, void, env, i32, i32, i32) DEF_HELPER_4(msa_bset_d, void, env, i32, i32, i32) +DEF_HELPER_4(msa_ave_s_b, void, env, i32, i32, i32) +DEF_HELPER_4(msa_ave_s_h, void, env, i32, i32, i32) +DEF_HELPER_4(msa_ave_s_w, void, env, i32, i32, i32) +DEF_HELPER_4(msa_ave_s_d, void, env, i32, i32, i32) + +DEF_HELPER_4(msa_ave_u_b, void, env, i32, i32, i32) +DEF_HELPER_4(msa_ave_u_h, void, env, i32, i32, i32) +DEF_HELPER_4(msa_ave_u_w, void, env, i32, i32, i32) +DEF_HELPER_4(msa_ave_u_d, void, env, i32, i32, i32) + DEF_HELPER_4(msa_andi_b, void, env, i32, i32, i32)DEF_HELPER_4 (msa_ori_b, void, env, i32, i32, i32)
@@ -880,8 +890,6 @@ DEF_HELPER_5(msa_add_a_df, void, env, i32, i32, i32, i32) DEF_HELPER_5(msa_adds_a_df, void, env, i32, i32, i32, i32) DEF_HELPER_5(msa_adds_s_df, void, env, i32, i32, i32, i32) DEF_HELPER_5(msa_adds_u_df, void, env, i32, i32, i32, i32) -DEF_HELPER_5(msa_ave_s_df, void, env, i32, i32, i32, i32) -DEF_HELPER_5(msa_ave_u_df, void, env, i32, i32, i32, i32) DEF_HELPER_5(msa_aver_s_df, void, env, i32, i32, i32, i32) DEF_HELPER_5(msa_aver_u_df, void, env, i32, i32, i32, i32)DEF_HELPER_5 (msa_subs_s_df, void, env, i32, i32, i32, i32)
target/mips/msa_helper.c +145 -17
180 lines not on this page · raw message
target/mips/translate.c +32 -6
@@ -28466,6 +28466,38 @@ static void gen_msa_3r(CPUMIPSState *env, DisasContext *ctx)break ; }break ; +case OPC_AVE_S_df: +switch (df) { +case DF_BYTE : +gen_helper_msa_ave_s_b (cpu_env, twd, tws, twt); +break ; +case DF_HALF : +gen_helper_msa_ave_s_h (cpu_env, twd, tws, twt); +break ; +case DF_WORD : +gen_helper_msa_ave_s_w (cpu_env, twd, tws, twt); +break ; +case DF_DOUBLE : +gen_helper_msa_ave_s_d (cpu_env, twd, tws, twt); +break ; + } +break ; +case OPC_AVE_U_df: +switch (df) { +case DF_BYTE : +gen_helper_msa_ave_u_b (cpu_env, twd, tws, twt); +break ; +case DF_HALF : +gen_helper_msa_ave_u_h (cpu_env, twd, tws, twt); +break ; +case DF_WORD : +gen_helper_msa_ave_u_w (cpu_env, twd, tws, twt); +break ; +case DF_DOUBLE : +gen_helper_msa_ave_u_d (cpu_env, twd, tws, twt); +break ; + } +break ;case OPC_SLL_df:gen_helper_msa_sll_df (cpu_env, tdf, twd, tws, twt);break ;
@@ -28556,9 +28588,6 @@ static void gen_msa_3r(CPUMIPSState *env, DisasContext *ctx)case OPC_CLE_S_df:gen_helper_msa_cle_s_df (cpu_env, tdf, twd, tws, twt);break ; -case OPC_AVE_S_df: -gen_helper_msa_ave_s_df (cpu_env, tdf, twd, tws, twt); -break ;case OPC_ASUB_S_df:gen_helper_msa_asub_s_df (cpu_env, tdf, twd, tws, twt);break ;
@@ -28574,9 +28603,6 @@ static void gen_msa_3r(CPUMIPSState *env, DisasContext *ctx)case OPC_CLE_U_df:gen_helper_msa_cle_u_df (cpu_env, tdf, twd, tws, twt);break ; -case OPC_AVE_U_df: -gen_helper_msa_ave_u_df (cpu_env, tdf, twd, tws, twt); -break ;case OPC_ASUB_U_df:gen_helper_msa_asub_u_df (cpu_env, tdf, twd, tws, twt);break ;
Signature · 1 line
2.7.4
[PULL 18/18] target/mips: msa: Move helpers for <AND|NOR|OR|XOR>.V
In reply to Aleksandar MarkovicFrom: Aleksandar Markovic <[email protected]>
Cosmetic reorganization.
Message-Id: <[email protected]>
--- target/mips/helper.h | 9 +++--- target/mips/msa_helper.c | 81 ++++++++++++++++++++++++------------------------ 2 files changed, 45 insertions(+), 45 deletions(-)
target/mips/helper.h +5 -4
@@ -887,6 +887,11 @@ DEF_HELPER_4(msa_mod_s_h, void, env, i32, i32, i32) DEF_HELPER_4(msa_mod_s_w, void, env, i32, i32, i32) DEF_HELPER_4(msa_mod_s_d, void, env, i32, i32, i32) +DEF_HELPER_4(msa_and_v, void, env, i32, i32, i32) +DEF_HELPER_4(msa_nor_v, void, env, i32, i32, i32) +DEF_HELPER_4(msa_or_v, void, env, i32, i32, i32) +DEF_HELPER_4(msa_xor_v, void, env, i32, i32, i32) + DEF_HELPER_3(msa_move_v, void, env, i32, i32)DEF_HELPER_4 (msa_andi_b, void, env, i32, i32, i32)
@@ -1021,10 +1026,6 @@ DEF_HELPER_5(msa_mulr_q_df, void, env, i32, i32, i32, i32) DEF_HELPER_5(msa_maddr_q_df, void, env, i32, i32, i32, i32) DEF_HELPER_5(msa_msubr_q_df, void, env, i32, i32, i32, i32) -DEF_HELPER_4(msa_and_v, void, env, i32, i32, i32) -DEF_HELPER_4(msa_or_v, void, env, i32, i32, i32) -DEF_HELPER_4(msa_nor_v, void, env, i32, i32, i32) -DEF_HELPER_4(msa_xor_v, void, env, i32, i32, i32) DEF_HELPER_4(msa_fill_df, void, env, i32, i32, i32)DEF_HELPER_4 (msa_copy_s_b, void, env, i32, i32, i32)
target/mips/msa_helper.c +40 -41
93 lines not on this page · raw message
Signature · 1 line
2.7.4
[PULL 09/18] target/mips: msa: Split helpers for B<CLR|NEG|SEL>.<B|H|W|D>
In reply to Aleksandar MarkovicFrom: Aleksandar Markovic <[email protected]>
Achieves clearer code and slightly better performance.
Message-Id: <[email protected]>
--- target/mips/helper.h | 18 +++- target/mips/msa_helper.c | 227 ++++++++++++++++++++++++++++++++++++++++++----- target/mips/translate.c | 57 ++++++++++-- 3 files changed, 267 insertions(+), 35 deletions(-)
target/mips/helper.h +15 -3
@@ -807,6 +807,21 @@ DEF_HELPER_4(msa_bmnz_v, void, env, i32, i32, i32) DEF_HELPER_4(msa_bmz_v, void, env, i32, i32, i32) DEF_HELPER_4(msa_bsel_v, void, env, i32, i32, i32) +DEF_HELPER_4(msa_bclr_b, void, env, i32, i32, i32) +DEF_HELPER_4(msa_bclr_h, void, env, i32, i32, i32) +DEF_HELPER_4(msa_bclr_w, void, env, i32, i32, i32) +DEF_HELPER_4(msa_bclr_d, void, env, i32, i32, i32) + +DEF_HELPER_4(msa_bneg_b, void, env, i32, i32, i32) +DEF_HELPER_4(msa_bneg_h, void, env, i32, i32, i32) +DEF_HELPER_4(msa_bneg_w, void, env, i32, i32, i32) +DEF_HELPER_4(msa_bneg_d, void, env, i32, i32, i32) + +DEF_HELPER_4(msa_bset_b, void, env, i32, i32, i32) +DEF_HELPER_4(msa_bset_h, void, env, i32, i32, i32) +DEF_HELPER_4(msa_bset_w, void, env, i32, i32, i32) +DEF_HELPER_4(msa_bset_d, void, env, i32, i32, i32) + DEF_HELPER_4(msa_andi_b, void, env, i32, i32, i32)DEF_HELPER_4 (msa_ori_b, void, env, i32, i32, i32)
@@ -846,9 +861,6 @@ DEF_HELPER_5(msa_srlri_df, void, env, i32, i32, i32, i32) DEF_HELPER_5(msa_sll_df, void, env, i32, i32, i32, i32) DEF_HELPER_5(msa_sra_df, void, env, i32, i32, i32, i32) DEF_HELPER_5(msa_srl_df, void, env, i32, i32, i32, i32) -DEF_HELPER_5(msa_bclr_df, void, env, i32, i32, i32, i32) -DEF_HELPER_5(msa_bset_df, void, env, i32, i32, i32, i32) -DEF_HELPER_5(msa_bneg_df, void, env, i32, i32, i32, i32) DEF_HELPER_5(msa_binsl_df, void, env, i32, i32, i32, i32) DEF_HELPER_5(msa_binsr_df, void, env, i32, i32, i32, i32)DEF_HELPER_5 (msa_addv_df, void, env, i32, i32, i32, i32)
target/mips/msa_helper.c +204 -23
245 lines not on this page · raw message
target/mips/translate.c +48 -9
81 lines not on this page · raw message
Signature · 1 line
2.7.4
[PULL 05/18] target/mips: msa: Split helpers for <NLOC|NLZC>.<B|H|W|D>
In reply to Aleksandar MarkovicFrom: Aleksandar Markovic <[email protected]>
Achieves clearer code and slightly better performance.
Message-Id: <[email protected]>
--- target/mips/helper.h | 14 +++- target/mips/msa_helper.c | 170 +++++++++++++++++++++++++++++++++++++++-------- target/mips/translate.c | 30 ++++++++- 3 files changed, 181 insertions(+), 33 deletions(-)
target/mips/helper.h +12 -2
@@ -777,6 +777,18 @@ DEF_HELPER_FLAGS_3(wrdsp, 0, void, tl, tl, env)DEF_HELPER_FLAGS_2 (rddsp,0 , tl, tl, env) /* MIPS SIMD Architecture */ + +DEF_HELPER_3(msa_nloc_b, void, env, i32, i32) +DEF_HELPER_3(msa_nloc_h, void, env, i32, i32) +DEF_HELPER_3(msa_nloc_w, void, env, i32, i32) +DEF_HELPER_3(msa_nloc_d, void, env, i32, i32) + +DEF_HELPER_3(msa_nlzc_b, void, env, i32, i32) +DEF_HELPER_3(msa_nlzc_h, void, env, i32, i32) +DEF_HELPER_3(msa_nlzc_w, void, env, i32, i32) +DEF_HELPER_3(msa_nlzc_d, void, env, i32, i32) + + DEF_HELPER_4(msa_andi_b, void, env, i32, i32, i32) DEF_HELPER_4(msa_ori_b, void, env, i32, i32, i32)DEF_HELPER_4 (msa_nori_b, void, env, i32, i32, i32)
@@ -935,8 +947,6 @@ DEF_HELPER_4(msa_bmz_v, void, env, i32, i32, i32) DEF_HELPER_4(msa_bsel_v, void, env, i32, i32, i32) DEF_HELPER_4(msa_fill_df, void, env, i32, i32, i32) DEF_HELPER_4(msa_pcnt_df, void, env, i32, i32, i32) -DEF_HELPER_4(msa_nloc_df, void, env, i32, i32, i32) -DEF_HELPER_4(msa_nlzc_df, void, env, i32, i32, i32) DEF_HELPER_4(msa_copy_s_b, void, env, i32, i32, i32)DEF_HELPER_4 (msa_copy_s_h, void, env, i32, i32, i32)
target/mips/msa_helper.c +141 -29
188 lines not on this page · raw message
target/mips/translate.c +28 -2
@@ -28962,10 +28962,36 @@ static void gen_msa_2r(CPUMIPSState *env, DisasContext *ctx)gen_helper_msa_pcnt_df (cpu_env, tdf, twd, tws);break ;case OPC_NLOC_df: -gen_helper_msa_nloc_df (cpu_env, tdf, twd, tws); +switch (df) { +case DF_BYTE : +gen_helper_msa_nloc_b (cpu_env, twd, tws); +break ; +case DF_HALF : +gen_helper_msa_nloc_h (cpu_env, twd, tws); +break ; +case DF_WORD : +gen_helper_msa_nloc_w (cpu_env, twd, tws); +break ; +case DF_DOUBLE : +gen_helper_msa_nloc_d (cpu_env, twd, tws); +break ; + }break ;case OPC_NLZC_df: -gen_helper_msa_nlzc_df (cpu_env, tdf, twd, tws); +switch (df) { +case DF_BYTE : +gen_helper_msa_nlzc_b (cpu_env, twd, tws); +break ; +case DF_HALF : +gen_helper_msa_nlzc_h (cpu_env, twd, tws); +break ; +case DF_WORD : +gen_helper_msa_nlzc_w (cpu_env, twd, tws); +break ; +case DF_DOUBLE : +gen_helper_msa_nlzc_d (cpu_env, twd, tws); +break ; + }break ;default :MIPS_INVAL ("MSA instruction" );
Signature · 1 line
2.7.4
[PULL 11/18] target/mips: msa: Split helpers for AVER_<S|U>.<B|H|W|D>
In reply to Aleksandar MarkovicFrom: Aleksandar Markovic <[email protected]>
Achieves clearer code and slightly better performance.
Message-Id: <[email protected]>
--- target/mips/helper.h | 12 +++- target/mips/msa_helper.c | 162 ++++++++++++++++++++++++++++++++++++++++++----- target/mips/translate.c | 38 +++++++++-- 3 files changed, 188 insertions(+), 24 deletions(-)
target/mips/helper.h +10 -2
@@ -832,6 +832,16 @@ DEF_HELPER_4(msa_ave_u_h, void, env, i32, i32, i32) DEF_HELPER_4(msa_ave_u_w, void, env, i32, i32, i32) DEF_HELPER_4(msa_ave_u_d, void, env, i32, i32, i32) +DEF_HELPER_4(msa_aver_s_b, void, env, i32, i32, i32) +DEF_HELPER_4(msa_aver_s_h, void, env, i32, i32, i32) +DEF_HELPER_4(msa_aver_s_w, void, env, i32, i32, i32) +DEF_HELPER_4(msa_aver_s_d, void, env, i32, i32, i32) + +DEF_HELPER_4(msa_aver_u_b, void, env, i32, i32, i32) +DEF_HELPER_4(msa_aver_u_h, void, env, i32, i32, i32) +DEF_HELPER_4(msa_aver_u_w, void, env, i32, i32, i32) +DEF_HELPER_4(msa_aver_u_d, void, env, i32, i32, i32) + DEF_HELPER_4(msa_andi_b, void, env, i32, i32, i32)DEF_HELPER_4 (msa_ori_b, void, env, i32, i32, i32)
@@ -890,8 +900,6 @@ DEF_HELPER_5(msa_add_a_df, void, env, i32, i32, i32, i32) DEF_HELPER_5(msa_adds_a_df, void, env, i32, i32, i32, i32) DEF_HELPER_5(msa_adds_s_df, void, env, i32, i32, i32, i32) DEF_HELPER_5(msa_adds_u_df, void, env, i32, i32, i32, i32) -DEF_HELPER_5(msa_aver_s_df, void, env, i32, i32, i32, i32) -DEF_HELPER_5(msa_aver_u_df, void, env, i32, i32, i32, i32) DEF_HELPER_5(msa_subs_s_df, void, env, i32, i32, i32, i32) DEF_HELPER_5(msa_subs_u_df, void, env, i32, i32, i32, i32)DEF_HELPER_5 (msa_subsus_u_df, void, env, i32, i32, i32, i32)
target/mips/msa_helper.c +146 -16
180 lines not on this page · raw message
target/mips/translate.c +32 -6
@@ -28498,6 +28498,38 @@ static void gen_msa_3r(CPUMIPSState *env, DisasContext *ctx)break ; }break ; +case OPC_AVER_S_df: +switch (df) { +case DF_BYTE : +gen_helper_msa_aver_s_b (cpu_env, twd, tws, twt); +break ; +case DF_HALF : +gen_helper_msa_aver_s_h (cpu_env, twd, tws, twt); +break ; +case DF_WORD : +gen_helper_msa_aver_s_w (cpu_env, twd, tws, twt); +break ; +case DF_DOUBLE : +gen_helper_msa_aver_s_d (cpu_env, twd, tws, twt); +break ; + } +break ; +case OPC_AVER_U_df: +switch (df) { +case DF_BYTE : +gen_helper_msa_aver_u_b (cpu_env, twd, tws, twt); +break ; +case DF_HALF : +gen_helper_msa_aver_u_h (cpu_env, twd, tws, twt); +break ; +case DF_WORD : +gen_helper_msa_aver_u_w (cpu_env, twd, tws, twt); +break ; +case DF_DOUBLE : +gen_helper_msa_aver_u_d (cpu_env, twd, tws, twt); +break ; + } +break ;case OPC_SLL_df:gen_helper_msa_sll_df (cpu_env, tdf, twd, tws, twt);break ;
@@ -28615,9 +28647,6 @@ static void gen_msa_3r(CPUMIPSState *env, DisasContext *ctx)case OPC_MAX_A_df:gen_helper_msa_max_a_df (cpu_env, tdf, twd, tws, twt);break ; -case OPC_AVER_S_df: -gen_helper_msa_aver_s_df (cpu_env, tdf, twd, tws, twt); -break ;case OPC_MOD_S_df:gen_helper_msa_mod_s_df (cpu_env, tdf, twd, tws, twt);break ;
@@ -28627,9 +28656,6 @@ static void gen_msa_3r(CPUMIPSState *env, DisasContext *ctx)case OPC_MIN_A_df:gen_helper_msa_min_a_df (cpu_env, tdf, twd, tws, twt);break ; -case OPC_AVER_U_df: -gen_helper_msa_aver_u_df (cpu_env, tdf, twd, tws, twt); -break ;case OPC_MOD_U_df:gen_helper_msa_mod_u_df (cpu_env, tdf, twd, tws, twt);break ;
Signature · 1 line
2.7.4
[PULL 15/18] target/mips: msa: Split helpers for DIV_<S|U>.<B|H|W|D>
In reply to Aleksandar MarkovicFrom: Aleksandar Markovic <[email protected]>
Achieves clearer code and slightly better performance.
Message-Id: <[email protected]>
--- target/mips/helper.h | 12 +++- target/mips/msa_helper.c | 167 +++++++++++++++++++++++++++++++++++++++++------ target/mips/translate.c | 38 +++++++++-- 3 files changed, 190 insertions(+), 27 deletions(-)
target/mips/helper.h +10 -2
@@ -867,6 +867,16 @@ DEF_HELPER_4(msa_clt_u_h, void, env, i32, i32, i32) DEF_HELPER_4(msa_clt_u_w, void, env, i32, i32, i32) DEF_HELPER_4(msa_clt_u_d, void, env, i32, i32, i32) +DEF_HELPER_4(msa_div_s_b, void, env, i32, i32, i32) +DEF_HELPER_4(msa_div_s_h, void, env, i32, i32, i32) +DEF_HELPER_4(msa_div_s_w, void, env, i32, i32, i32) +DEF_HELPER_4(msa_div_s_d, void, env, i32, i32, i32) + +DEF_HELPER_4(msa_div_u_b, void, env, i32, i32, i32) +DEF_HELPER_4(msa_div_u_h, void, env, i32, i32, i32) +DEF_HELPER_4(msa_div_u_w, void, env, i32, i32, i32) +DEF_HELPER_4(msa_div_u_d, void, env, i32, i32, i32) + DEF_HELPER_4(msa_andi_b, void, env, i32, i32, i32)DEF_HELPER_4 (msa_ori_b, void, env, i32, i32, i32)
@@ -929,8 +939,6 @@ DEF_HELPER_5(msa_asub_u_df, void, env, i32, i32, i32, i32) DEF_HELPER_5(msa_mulv_df, void, env, i32, i32, i32, i32) DEF_HELPER_5(msa_maddv_df, void, env, i32, i32, i32, i32) DEF_HELPER_5(msa_msubv_df, void, env, i32, i32, i32, i32) -DEF_HELPER_5(msa_div_s_df, void, env, i32, i32, i32, i32) -DEF_HELPER_5(msa_div_u_df, void, env, i32, i32, i32, i32) DEF_HELPER_5(msa_mod_s_df, void, env, i32, i32, i32, i32) DEF_HELPER_5(msa_mod_u_df, void, env, i32, i32, i32, i32)DEF_HELPER_5 (msa_dotp_s_df, void, env, i32, i32, i32, i32)
target/mips/msa_helper.c +148 -19
185 lines not on this page · raw message
target/mips/translate.c +32 -6
@@ -28610,6 +28610,38 @@ static void gen_msa_3r(CPUMIPSState *env, DisasContext *ctx)break ; }break ; +case OPC_DIV_S_df: +switch (df) { +case DF_BYTE : +gen_helper_msa_div_s_b (cpu_env, twd, tws, twt); +break ; +case DF_HALF : +gen_helper_msa_div_s_h (cpu_env, twd, tws, twt); +break ; +case DF_WORD : +gen_helper_msa_div_s_w (cpu_env, twd, tws, twt); +break ; +case DF_DOUBLE : +gen_helper_msa_div_s_d (cpu_env, twd, tws, twt); +break ; + } +break ; +case OPC_DIV_U_df: +switch (df) { +case DF_BYTE : +gen_helper_msa_div_u_b (cpu_env, twd, tws, twt); +break ; +case DF_HALF : +gen_helper_msa_div_u_h (cpu_env, twd, tws, twt); +break ; +case DF_WORD : +gen_helper_msa_div_u_w (cpu_env, twd, tws, twt); +break ; +case DF_DOUBLE : +gen_helper_msa_div_u_d (cpu_env, twd, tws, twt); +break ; + } +break ;case OPC_SLL_df:gen_helper_msa_sll_df (cpu_env, tdf, twd, tws, twt);break ;
@@ -28691,9 +28723,6 @@ static void gen_msa_3r(CPUMIPSState *env, DisasContext *ctx)case OPC_ASUB_S_df:gen_helper_msa_asub_s_df (cpu_env, tdf, twd, tws, twt);break ; -case OPC_DIV_S_df: -gen_helper_msa_div_s_df (cpu_env, tdf, twd, tws, twt); -break ;case OPC_ILVL_df:gen_helper_msa_ilvl_df (cpu_env, tdf, twd, tws, twt);break ;
@@ -28703,9 +28732,6 @@ static void gen_msa_3r(CPUMIPSState *env, DisasContext *ctx)case OPC_ASUB_U_df:gen_helper_msa_asub_u_df (cpu_env, tdf, twd, tws, twt);break ; -case OPC_DIV_U_df: -gen_helper_msa_div_u_df (cpu_env, tdf, twd, tws, twt); -break ;case OPC_ILVR_df:gen_helper_msa_ilvr_df (cpu_env, tdf, twd, tws, twt);break ;
Signature · 1 line
2.7.4
[PULL 14/18] target/mips: msa: Split helpers for CLT_<S|U>.<B|H|W|D>
In reply to Aleksandar MarkovicFrom: Aleksandar Markovic <[email protected]>
Achieves clearer code and slightly better performance.
Message-Id: <[email protected]>
--- target/mips/helper.h | 12 +++- target/mips/msa_helper.c | 158 ++++++++++++++++++++++++++++++++++++++++++----- target/mips/translate.c | 38 ++++++++++-- 3 files changed, 186 insertions(+), 22 deletions(-)
target/mips/helper.h +10 -2
@@ -857,6 +857,16 @@ DEF_HELPER_4(msa_cle_u_h, void, env, i32, i32, i32) DEF_HELPER_4(msa_cle_u_w, void, env, i32, i32, i32) DEF_HELPER_4(msa_cle_u_d, void, env, i32, i32, i32) +DEF_HELPER_4(msa_clt_s_b, void, env, i32, i32, i32) +DEF_HELPER_4(msa_clt_s_h, void, env, i32, i32, i32) +DEF_HELPER_4(msa_clt_s_w, void, env, i32, i32, i32) +DEF_HELPER_4(msa_clt_s_d, void, env, i32, i32, i32) + +DEF_HELPER_4(msa_clt_u_b, void, env, i32, i32, i32) +DEF_HELPER_4(msa_clt_u_h, void, env, i32, i32, i32) +DEF_HELPER_4(msa_clt_u_w, void, env, i32, i32, i32) +DEF_HELPER_4(msa_clt_u_d, void, env, i32, i32, i32) + DEF_HELPER_4(msa_andi_b, void, env, i32, i32, i32)DEF_HELPER_4 (msa_ori_b, void, env, i32, i32, i32)
@@ -906,8 +916,6 @@ DEF_HELPER_5(msa_min_s_df, void, env, i32, i32, i32, i32) DEF_HELPER_5(msa_min_u_df, void, env, i32, i32, i32, i32) DEF_HELPER_5(msa_max_a_df, void, env, i32, i32, i32, i32) DEF_HELPER_5(msa_min_a_df, void, env, i32, i32, i32, i32) -DEF_HELPER_5(msa_clt_s_df, void, env, i32, i32, i32, i32) -DEF_HELPER_5(msa_clt_u_df, void, env, i32, i32, i32, i32) DEF_HELPER_5(msa_add_a_df, void, env, i32, i32, i32, i32) DEF_HELPER_5(msa_adds_a_df, void, env, i32, i32, i32, i32)DEF_HELPER_5 (msa_adds_s_df, void, env, i32, i32, i32, i32)
target/mips/msa_helper.c +144 -14
176 lines not on this page · raw message
target/mips/translate.c +32 -6
@@ -28578,6 +28578,38 @@ static void gen_msa_3r(CPUMIPSState *env, DisasContext *ctx)break ; }break ; +case OPC_CLT_S_df: +switch (df) { +case DF_BYTE : +gen_helper_msa_clt_s_b (cpu_env, twd, tws, twt); +break ; +case DF_HALF : +gen_helper_msa_clt_s_h (cpu_env, twd, tws, twt); +break ; +case DF_WORD : +gen_helper_msa_clt_s_w (cpu_env, twd, tws, twt); +break ; +case DF_DOUBLE : +gen_helper_msa_clt_s_d (cpu_env, twd, tws, twt); +break ; + } +break ; +case OPC_CLT_U_df: +switch (df) { +case DF_BYTE : +gen_helper_msa_clt_u_b (cpu_env, twd, tws, twt); +break ; +case DF_HALF : +gen_helper_msa_clt_u_h (cpu_env, twd, tws, twt); +break ; +case DF_WORD : +gen_helper_msa_clt_u_w (cpu_env, twd, tws, twt); +break ; +case DF_DOUBLE : +gen_helper_msa_clt_u_d (cpu_env, twd, tws, twt); +break ; + } +break ;case OPC_SLL_df:gen_helper_msa_sll_df (cpu_env, tdf, twd, tws, twt);break ;
@@ -28626,9 +28658,6 @@ static void gen_msa_3r(CPUMIPSState *env, DisasContext *ctx)case OPC_MAX_S_df:gen_helper_msa_max_s_df (cpu_env, tdf, twd, tws, twt);break ; -case OPC_CLT_S_df: -gen_helper_msa_clt_s_df (cpu_env, tdf, twd, tws, twt); -break ;case OPC_ADDS_S_df:gen_helper_msa_adds_s_df (cpu_env, tdf, twd, tws, twt);break ;
@@ -28647,9 +28676,6 @@ static void gen_msa_3r(CPUMIPSState *env, DisasContext *ctx)case OPC_MAX_U_df:gen_helper_msa_max_u_df (cpu_env, tdf, twd, tws, twt);break ; -case OPC_CLT_U_df: -gen_helper_msa_clt_u_df (cpu_env, tdf, twd, tws, twt); -break ;case OPC_ADDS_U_df:gen_helper_msa_adds_u_df (cpu_env, tdf, twd, tws, twt);break ;
Signature · 1 line
2.7.4
[PULL 16/18] target/mips: msa: Split helpers for MOD_<S|U>.<B|H|W|D>
In reply to Aleksandar MarkovicFrom: Aleksandar Markovic <[email protected]>
Achieves clearer code and slightly better performance.
Message-Id: <[email protected]>
--- target/mips/helper.h | 12 +++- target/mips/msa_helper.c | 164 +++++++++++++++++++++++++++++++++++++++++------ target/mips/translate.c | 38 +++++++++-- 3 files changed, 188 insertions(+), 26 deletions(-)
target/mips/helper.h +10 -2
@@ -877,6 +877,16 @@ DEF_HELPER_4(msa_div_u_h, void, env, i32, i32, i32) DEF_HELPER_4(msa_div_u_w, void, env, i32, i32, i32) DEF_HELPER_4(msa_div_u_d, void, env, i32, i32, i32) +DEF_HELPER_4(msa_mod_u_b, void, env, i32, i32, i32) +DEF_HELPER_4(msa_mod_u_h, void, env, i32, i32, i32) +DEF_HELPER_4(msa_mod_u_w, void, env, i32, i32, i32) +DEF_HELPER_4(msa_mod_u_d, void, env, i32, i32, i32) + +DEF_HELPER_4(msa_mod_s_b, void, env, i32, i32, i32) +DEF_HELPER_4(msa_mod_s_h, void, env, i32, i32, i32) +DEF_HELPER_4(msa_mod_s_w, void, env, i32, i32, i32) +DEF_HELPER_4(msa_mod_s_d, void, env, i32, i32, i32) + DEF_HELPER_4(msa_andi_b, void, env, i32, i32, i32)DEF_HELPER_4 (msa_ori_b, void, env, i32, i32, i32)
@@ -939,8 +949,6 @@ DEF_HELPER_5(msa_asub_u_df, void, env, i32, i32, i32, i32) DEF_HELPER_5(msa_mulv_df, void, env, i32, i32, i32, i32) DEF_HELPER_5(msa_maddv_df, void, env, i32, i32, i32, i32) DEF_HELPER_5(msa_msubv_df, void, env, i32, i32, i32, i32) -DEF_HELPER_5(msa_mod_s_df, void, env, i32, i32, i32, i32) -DEF_HELPER_5(msa_mod_u_df, void, env, i32, i32, i32, i32) DEF_HELPER_5(msa_dotp_s_df, void, env, i32, i32, i32, i32) DEF_HELPER_5(msa_dotp_u_df, void, env, i32, i32, i32, i32)DEF_HELPER_5 (msa_dpadd_s_df, void, env, i32, i32, i32, i32)
target/mips/msa_helper.c +146 -18
182 lines not on this page · raw message
target/mips/translate.c +32 -6
@@ -28642,6 +28642,38 @@ static void gen_msa_3r(CPUMIPSState *env, DisasContext *ctx)break ; }break ; +case OPC_MOD_S_df: +switch (df) { +case DF_BYTE : +gen_helper_msa_mod_s_b (cpu_env, twd, tws, twt); +break ; +case DF_HALF : +gen_helper_msa_mod_s_h (cpu_env, twd, tws, twt); +break ; +case DF_WORD : +gen_helper_msa_mod_s_w (cpu_env, twd, tws, twt); +break ; +case DF_DOUBLE : +gen_helper_msa_mod_s_d (cpu_env, twd, tws, twt); +break ; + } +break ; +case OPC_MOD_U_df: +switch (df) { +case DF_BYTE : +gen_helper_msa_mod_u_b (cpu_env, twd, tws, twt); +break ; +case DF_HALF : +gen_helper_msa_mod_u_h (cpu_env, twd, tws, twt); +break ; +case DF_WORD : +gen_helper_msa_mod_u_w (cpu_env, twd, tws, twt); +break ; +case DF_DOUBLE : +gen_helper_msa_mod_u_d (cpu_env, twd, tws, twt); +break ; + } +break ;case OPC_SLL_df:gen_helper_msa_sll_df (cpu_env, tdf, twd, tws, twt);break ;
@@ -28738,18 +28770,12 @@ static void gen_msa_3r(CPUMIPSState *env, DisasContext *ctx)case OPC_MAX_A_df:gen_helper_msa_max_a_df (cpu_env, tdf, twd, tws, twt);break ; -case OPC_MOD_S_df: -gen_helper_msa_mod_s_df (cpu_env, tdf, twd, tws, twt); -break ;case OPC_ILVEV_df:gen_helper_msa_ilvev_df (cpu_env, tdf, twd, tws, twt);break ;case OPC_MIN_A_df:gen_helper_msa_min_a_df (cpu_env, tdf, twd, tws, twt);break ; -case OPC_MOD_U_df: -gen_helper_msa_mod_u_df (cpu_env, tdf, twd, tws, twt); -break ;case OPC_ILVOD_df:gen_helper_msa_ilvod_df (cpu_env, tdf, twd, tws, twt);break ;
Signature · 1 line
2.7.4
Peter Maydell
AppliedQuoted 15 lines · Aleksandar Markovic
From: Aleksandar Markovic <[email protected]>
The following changes since commit
95e9d74fe4281f7ad79a5a7511400541729aa44a:Merge remote-tracking branch 'remotes/borntraeger/tags/s390x-20190930' into staging (2019-09-30 14:21:56 +0100)
are available in the git repository at:
https://github.com/AMarkovic/qemu tags/mips-queue-oct-01-2019
for you to fetch changes up to
0a1bb9127ba66c093d5af395ea2630b06b929011:target/mips: msa: Move helpers for <AND|NOR|OR|XOR>.V (2019-10-01 16:58:45 +0200)
Quoted 9 lines
----------------------------------------------------------------
MIPS queue for October 1st, 2019
Highlights:
- mostly cleanups related to "checkpatch.pl -f"
- slight optimization of handling of some MSA instructions
Applied, thanks.
Please update the changelog at https://wiki.qemu.org/ChangeLog/4.2
for any user-visible changes.
-- PMM