mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-24 10:28:12 +00:00
target/sparc/cc_helper: Perform a comparison pass against qemu
This commit is contained in:
parent
bcc8bc5c18
commit
2114d28f7e
1 changed files with 5 additions and 20 deletions
|
@ -205,10 +205,7 @@ static uint32_t compute_all_addx_xcc(CPUSPARCState *env)
|
|||
|
||||
static uint32_t compute_C_addx_xcc(CPUSPARCState *env)
|
||||
{
|
||||
uint32_t ret;
|
||||
|
||||
ret = get_C_addx_xcc(CC_DST, CC_SRC, CC_SRC2);
|
||||
return ret;
|
||||
return get_C_addx_xcc(CC_DST, CC_SRC, CC_SRC2);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -224,10 +221,7 @@ static uint32_t compute_all_addx(CPUSPARCState *env)
|
|||
|
||||
static uint32_t compute_C_addx(CPUSPARCState *env)
|
||||
{
|
||||
uint32_t ret;
|
||||
|
||||
ret = get_C_addx_icc(CC_DST, CC_SRC, CC_SRC2);
|
||||
return ret;
|
||||
return get_C_addx_icc(CC_DST, CC_SRC, CC_SRC2);
|
||||
}
|
||||
|
||||
static inline uint32_t get_V_tag_icc(target_ulong src1, target_ulong src2)
|
||||
|
@ -370,10 +364,7 @@ static uint32_t compute_all_subx_xcc(CPUSPARCState *env)
|
|||
|
||||
static uint32_t compute_C_subx_xcc(CPUSPARCState *env)
|
||||
{
|
||||
uint32_t ret;
|
||||
|
||||
ret = get_C_subx_xcc(CC_DST, CC_SRC, CC_SRC2);
|
||||
return ret;
|
||||
return get_C_subx_xcc(CC_DST, CC_SRC, CC_SRC2);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -389,10 +380,7 @@ static uint32_t compute_all_subx(CPUSPARCState *env)
|
|||
|
||||
static uint32_t compute_C_subx(CPUSPARCState *env)
|
||||
{
|
||||
uint32_t ret;
|
||||
|
||||
ret = get_C_subx_icc(CC_DST, CC_SRC, CC_SRC2);
|
||||
return ret;
|
||||
return get_C_subx_icc(CC_DST, CC_SRC, CC_SRC2);
|
||||
}
|
||||
|
||||
static uint32_t compute_all_tsub(CPUSPARCState *env)
|
||||
|
@ -486,8 +474,5 @@ void helper_compute_psr(CPUSPARCState *env)
|
|||
|
||||
uint32_t helper_compute_C_icc(CPUSPARCState *env)
|
||||
{
|
||||
uint32_t ret;
|
||||
|
||||
ret = icc_table[CC_OP].compute_c(env) >> PSR_CARRY_SHIFT;
|
||||
return ret;
|
||||
return icc_table[CC_OP].compute_c(env) >> PSR_CARRY_SHIFT;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue