On 22.3.19. 19:04, Aleksandar Markovic wrote:
@@ -1511,9 +1518,11 @@ void helper_msa_insert_df(CPUMIPSState *env, uint32_t
df, uint32_t wd,
case DF_WORD:
pwd->w[n] = (int32_t)rs;
break;
+#ifdef TARGET_MIPS64
case DF_DOUBLE:
pwd->d[n] = (int64_t)rs
> >> @@ -1511,9 +1518,11 @@ void helper_msa_insert_df(CPUMIPSState *env,
> >> uint32_t df, uint32_t wd,
> >> case DF_WORD:
> >> pwd->w[n] = (int32_t)rs;
> >> break;
> >> +#ifdef TARGET_MIPS64
> >> case DF_DOUBLE:
> >> pwd->d[n] = (int64_t)rs;
> >>
On 22.3.19. 18:16, Aleksandar Markovic wrote:
From: Mateja Marjanovic
Subject: [PATCH 4/4] target/mips: Fix insert. for MIPS big endian host
From: Mateja Marjanovic
Inserting from GPR to an element in a MSA register when
executed on a MIPS big endian CPU, didn't pick the
right element, and
> From: Mateja Marjanovic
> Subject: [PATCH 4/4] target/mips: Fix insert. for MIPS big endian host
>
> From: Mateja Marjanovic
>
> Inserting from GPR to an element in a MSA register when
> executed on a MIPS big endian CPU, didn't pick the
> right element, and was behaving like on little endian
From: Mateja Marjanovic
Inserting from GPR to an element in a MSA register when
executed on a MIPS big endian CPU, didn't pick the
right element, and was behaving like on little endian.
Signed-off-by: Mateja Marjanovic
---
target/mips/msa_helper.c | 9 +
1 file changed, 9 insertions(+)