target/mips/msa_helper: Perform comparison pass with qemu

Keeps code and formatting in sync
This commit is contained in:
Lioncash 2018-03-12 15:15:39 -04:00
parent 4e8a1f8d6b
commit 48429b2bcb
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -1352,6 +1352,7 @@ void helper_msa_ctcmsa(CPUMIPSState *env, target_ulong elm, uint32_t cd)
case 0:
break;
case 1:
env->active_tc.msacsr = (int32_t)elm & MSACSR_MASK;
restore_msa_fp_status(env);
/* check exception */
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)
{
float_status* status = &env->active_tc.msa_fp_status;
wr_t *pwd = &(env->active_fpu.fpr[wd].wr);
wr_t *pws = &(env->active_fpu.fpr[ws].wr);
if (df == DF_WORD) {