Re: [PATCH 6/9] target/mips: Alias MSA vector registers on FPU scalar registers

2020-12-05 Thread Richard Henderson
On 12/4/20 4:40 PM, Philippe Mathieu-Daudé wrote: > Back to the patch, instead of aliasing FPU registers to the MSA ones > (even when MSA is absent), we now alias the MSA ones to the FPU ones > (only when MSA is present). This is what I call the "inverted logic". > > BTW the point of this change i

Re: [PATCH 6/9] target/mips: Alias MSA vector registers on FPU scalar registers

2020-12-04 Thread Philippe Mathieu-Daudé
On 12/4/20 5:28 PM, Richard Henderson wrote: > On 12/2/20 12:44 PM, Philippe Mathieu-Daudé wrote: >> Commits 863f264d10f ("add msa_reset(), global msa register") and >> cb269f273fd ("fix multiple TCG registers covering same data") >> removed the FPU scalar registers and replaced them by aliases to

Re: [PATCH 6/9] target/mips: Alias MSA vector registers on FPU scalar registers

2020-12-04 Thread Richard Henderson
On 12/2/20 12:44 PM, Philippe Mathieu-Daudé wrote: > Commits 863f264d10f ("add msa_reset(), global msa register") and > cb269f273fd ("fix multiple TCG registers covering same data") > removed the FPU scalar registers and replaced them by aliases to > the MSA vector registers. > While this might be

[PATCH 6/9] target/mips: Alias MSA vector registers on FPU scalar registers

2020-12-02 Thread Philippe Mathieu-Daudé
Commits 863f264d10f ("add msa_reset(), global msa register") and cb269f273fd ("fix multiple TCG registers covering same data") removed the FPU scalar registers and replaced them by aliases to the MSA vector registers. While this might be the case for CPU implementing MSA, this makes QEMU code incoh