mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-06-30 08:03:11 +00:00
target/mips/msa_helper: Perform comparison pass with qemu
Keeps code and formatting in sync
This commit is contained in:
parent
4e8a1f8d6b
commit
48429b2bcb
|
@ -1352,6 +1352,7 @@ void helper_msa_ctcmsa(CPUMIPSState *env, target_ulong elm, uint32_t cd)
|
||||||
case 0:
|
case 0:
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
|
env->active_tc.msacsr = (int32_t)elm & MSACSR_MASK;
|
||||||
restore_msa_fp_status(env);
|
restore_msa_fp_status(env);
|
||||||
/* check exception */
|
/* check exception */
|
||||||
if ((GET_FP_ENABLE(env->active_tc.msacsr) | FP_UNIMPLEMENTED)
|
if ((GET_FP_ENABLE(env->active_tc.msacsr) | FP_UNIMPLEMENTED)
|
||||||
|
@ -2923,6 +2924,7 @@ void helper_msa_fclass_df(CPUMIPSState *env, uint32_t df,
|
||||||
uint32_t wd, uint32_t ws)
|
uint32_t wd, uint32_t ws)
|
||||||
{
|
{
|
||||||
float_status* status = &env->active_tc.msa_fp_status;
|
float_status* status = &env->active_tc.msa_fp_status;
|
||||||
|
|
||||||
wr_t *pwd = &(env->active_fpu.fpr[wd].wr);
|
wr_t *pwd = &(env->active_fpu.fpr[wd].wr);
|
||||||
wr_t *pws = &(env->active_fpu.fpr[ws].wr);
|
wr_t *pws = &(env->active_fpu.fpr[ws].wr);
|
||||||
if (df == DF_WORD) {
|
if (df == DF_WORD) {
|
||||||
|
|
Loading…
Reference in a new issue