qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH V14 2/8] target/mips: Add loongson-ext lswc2 group of instruc


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH V14 2/8] target/mips: Add loongson-ext lswc2 group of instructions (Part 1)
Date: Fri, 16 Oct 2020 17:12:32 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1

On 10/16/20 8:51 AM, Huacai Chen wrote:
From: Jiaxun Yang <jiaxun.yang@flygoat.com>

LWC2 & SWC2 have been rewritten by Loongson EXT vendor ASE
as "load/store quad word" and "shifted load/store" groups of
instructions.

This patch add implementation of these instructions:
gslq: load 16 bytes to GPR
gssq: store 16 bytes from GPR
gslqc1: load 16 bytes to FPR
gssqc1: store 16 bytes from FPR

Details of Loongson-EXT is here:
https://github.com/FlyGoat/loongson-insn/blob/master/loongson-ext.md

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Huacai Chen <chenhc@lemote.com>
---
  target/mips/translate.c | 86 +++++++++++++++++++++++++++++++++++++++++
  1 file changed, 86 insertions(+)

Build failure:

target/mips/translate.c: In function ‘gen_loongson_lswc2’:
target/mips/translate.c:5928:14: error: unused variable ‘fp0’ [-Werror=unused-variable]
 5928 |     TCGv_i32 fp0;
      |              ^~~
target/mips/translate.c:5927:18: error: unused variable ‘t2’ [-Werror=unused-variable]
 5927 |     TCGv t0, t1, t2;
      |                  ^~
target/mips/translate.c:5927:14: error: unused variable ‘t1’ [-Werror=unused-variable]
 5927 |     TCGv t0, t1, t2;
      |              ^~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]