On 1/12/21 11:55 AM, Philippe Mathieu-Daudé wrote: > DIV.G and DDIV.G are very similar. Provide gen_lext_DIV_G() a > 'is_double' argument so it can generate DIV.G (divide 32-bit > signed integers). > > With this commit we explicit the template used to generate > opcode for 32/64-bit word variants. Next commits will be less > verbose by providing both variants at once. > > Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> > --- > target/mips/godson2.decode | 1 + > target/mips/loong-ext.decode | 1 + > target/mips/loong_translate.c | 28 ++++++++++++++++++++++------ > target/mips/translate.c | 26 -------------------------- > 4 files changed, 24 insertions(+), 32 deletions(-)
With the double-extend pasto fixed, Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~