Re: [RFC PATCH] target/mips: Fix DEXTRV_S.H DSP opcode

2021-10-13 Thread Richard Henderson
On 10/13/21 2:56 PM, Philippe Mathieu-Daudé wrote: While for the DEXTR_S.H opcode: "The shift argument is provided in the instruction." For the DEXTRV_S.H opcode we have: "The five least-significant bits of register rs provide the shift argument, interpreted as a five-bit unsigned in

[RFC PATCH] target/mips: Fix DEXTRV_S.H DSP opcode

2021-10-13 Thread Philippe Mathieu-Daudé
While for the DEXTR_S.H opcode: "The shift argument is provided in the instruction." For the DEXTRV_S.H opcode we have: "The five least-significant bits of register rs provide the shift argument, interpreted as a five-bit unsigned integer; the remaining bits in rs are ignored." While