mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-06-23 05:37:47 +00:00
target/mips: Fix some space checkpatch errors in translate.c
Remove some space-related checkpatch warning. Backports commit 235785e8347558f36be21aa99efa1ba517ecc827 from qemu
This commit is contained in:
parent
802c626145
commit
1e52cb8fa1
|
@ -2842,7 +2842,8 @@ static inline int get_fp_bit (int cc)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Addresses computation */
|
/* Addresses computation */
|
||||||
static inline void gen_op_addr_add (DisasContext *ctx, TCGv ret, TCGv arg0, TCGv arg1)
|
static inline void gen_op_addr_add(DisasContext *ctx, TCGv ret, TCGv arg0,
|
||||||
|
TCGv arg1)
|
||||||
{
|
{
|
||||||
TCGContext *tcg_ctx = ctx->uc->tcg_ctx;
|
TCGContext *tcg_ctx = ctx->uc->tcg_ctx;
|
||||||
tcg_gen_add_tl(tcg_ctx, ret, arg0, arg1);
|
tcg_gen_add_tl(tcg_ctx, ret, arg0, arg1);
|
||||||
|
@ -10141,7 +10142,8 @@ die:
|
||||||
generate_exception_end(ctx, EXCP_RI);
|
generate_exception_end(ctx, EXCP_RI);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void gen_cp0 (CPUMIPSState *env, DisasContext *ctx, uint32_t opc, int rt, int rd)
|
static void gen_cp0(CPUMIPSState *env, DisasContext *ctx, uint32_t opc,
|
||||||
|
int rt, int rd)
|
||||||
{
|
{
|
||||||
TCGContext *tcg_ctx = ctx->uc->tcg_ctx;
|
TCGContext *tcg_ctx = ctx->uc->tcg_ctx;
|
||||||
TCGv *cpu_gpr = tcg_ctx->cpu_gpr;
|
TCGv *cpu_gpr = tcg_ctx->cpu_gpr;
|
||||||
|
@ -10701,6 +10703,7 @@ enum r6_f_cmp_op {
|
||||||
R6_OPC_CMP_SUNE_D = FOP(26, FMT_L),
|
R6_OPC_CMP_SUNE_D = FOP(26, FMT_L),
|
||||||
R6_OPC_CMP_SNE_D = FOP(27, FMT_L),
|
R6_OPC_CMP_SNE_D = FOP(27, FMT_L),
|
||||||
};
|
};
|
||||||
|
|
||||||
static void gen_cp1(DisasContext *ctx, uint32_t opc, int rt, int fs)
|
static void gen_cp1(DisasContext *ctx, uint32_t opc, int rt, int fs)
|
||||||
{
|
{
|
||||||
TCGContext *tcg_ctx = ctx->uc->tcg_ctx;
|
TCGContext *tcg_ctx = ctx->uc->tcg_ctx;
|
||||||
|
@ -10835,7 +10838,8 @@ static inline void gen_movcf_s(DisasContext *ctx, int fs, int fd, int cc,
|
||||||
tcg_temp_free_i32(tcg_ctx, t0);
|
tcg_temp_free_i32(tcg_ctx, t0);
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void gen_movcf_d (DisasContext *ctx, int fs, int fd, int cc, int tf)
|
static inline void gen_movcf_d(DisasContext *ctx, int fs, int fd, int cc,
|
||||||
|
int tf)
|
||||||
{
|
{
|
||||||
TCGContext *tcg_ctx = ctx->uc->tcg_ctx;
|
TCGContext *tcg_ctx = ctx->uc->tcg_ctx;
|
||||||
int cond;
|
int cond;
|
||||||
|
|
Loading…
Reference in a new issue