Message ID | 1553525566-14913-8-git-send-email-mateja.marjanovic@rt-rk.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | target/mips: Add support for MSA instructions on a big endian host | expand |
diff --git a/target/mips/msa_helper.c b/target/mips/msa_helper.c index 5aea675..655148d 100644 --- a/target/mips/msa_helper.c +++ b/target/mips/msa_helper.c @@ -1649,11 +1649,13 @@ void helper_msa_fill_df(CPUMIPSState *env, uint32_t df, uint32_t wd, pwd->w[i] = (int32_t)env->active_tc.gpr[rs]; } break; +#ifdef TARGET_MIPS64 case DF_DOUBLE: for (i = 0; i < DF_ELEMENTS(DF_DOUBLE); i++) { pwd->d[i] = (int64_t)env->active_tc.gpr[rs]; } break; +#endif default: assert(0); }