This patch includes:
- XVADD.{B/H/W/D/Q};
- XVSUB.{B/H/W/D/Q}.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
---
target/loongarch/insns.decode | 14 +++
target/loongarch/disas.c| 23 +
target/loongarch/translate.c| 4 +
Signed-off-by: Song Gao
---
target/loongarch/helper.h | 2 +-
target/loongarch/vec_helper.c | 11 +--
target/loongarch/insn_trans/trans_vec.c.inc | 22 -
3 files changed, 19 insertions(+), 16 deletions(-)
diff --git
This patch includes:
- XVNEG.{B/H/W/D}.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
---
target/loongarch/insns.decode | 5 +
target/loongarch/disas.c| 10 ++
target/loongarch/insn_trans/trans_vec.c.inc | 15 +++
3 files
This patch includes:
- XVSEQ[I].{B/H/W/D};
- XVSLE[I].{B/H/W/D}[U];
- XVSLT[I].{B/H/W/D/}[U].
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
---
target/loongarch/insns.decode | 43
target/loongarch/disas.c| 43
target/loongarch/vec_helper.c
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
---
target/loongarch/cpu.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/target/loongarch/cpu.c b/target/loongarch/cpu.c
index a1d3f680d8..fc7f70fbe5 100644
--- a/target/loongarch/cpu.c
+++ b/target/loongarch/cpu.c
@@ -393,6 +393,7 @@
This patch includes:
- XVMSKLTZ.{B/H/W/D};
- XVMSKGEZ.B;
- XVMSKNZ.B.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
---
target/loongarch/insns.decode | 7 ++
target/loongarch/disas.c| 7 ++
target/loongarch/vec_helper.c | 78
This patch includes:
- XVSRLN.{B.H/H.W/W.D};
- XVSRAN.{B.H/H.W/W.D};
- XVSRLNI.{B.H/H.W/W.D/D.Q};
- XVSRANI.{B.H/H.W/W.D/D.Q}.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
---
target/loongarch/insns.decode | 16 ++
target/loongarch/disas.c| 16 ++
Intrudce a new function check_vec to replace CHECK_SXE
Signed-off-by: Song Gao
---
target/loongarch/insn_trans/trans_vec.c.inc | 248 +++-
1 file changed, 192 insertions(+), 56 deletions(-)
diff --git a/target/loongarch/insn_trans/trans_vec.c.inc
This patch includes:
- XVBITSEL.V;
- XVBITSELI.B;
- XVSET{EQZ/NEZ}.V;
- XVSETANYEQZ.{B/H/W/D};
- XVSETALLNEZ.{B/H/W/D}.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
---
target/loongarch/helper.h | 16 ++--
target/loongarch/insns.decode | 15
This patch includes:
- XVLDI.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
---
target/loongarch/insns.decode | 2 ++
target/loongarch/disas.c| 7 +++
target/loongarch/insn_trans/trans_vec.c.inc | 13 ++---
3 files changed, 15
Signed-off-by: Song Gao
---
target/loongarch/helper.h | 146 +++
target/loongarch/vec_helper.c | 445 +---
target/loongarch/insn_trans/trans_vec.c.inc | 18 +-
3 files changed, 291 insertions(+), 318 deletions(-)
diff --git
This patch includes:
- XVCLO.{B/H/W/D};
- XVCLZ.{B/H/W/D}.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
---
target/loongarch/insns.decode | 9 +
target/loongarch/disas.c| 9 +
target/loongarch/vec_helper.c | 3 ++-
This patch includes:
- XVADDI.{B/H/W/D}U;
- XVSUBI.{B/H/W/D}U.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
---
target/loongarch/insns.decode | 9 +++
target/loongarch/disas.c| 14 +++
target/loongarch/insn_trans/trans_vec.c.inc | 28
Signed-off-by: Song Gao
---
target/loongarch/helper.h | 118 +++---
target/loongarch/vec_helper.c | 161 +++-
target/loongarch/insn_trans/trans_vec.c.inc | 129 +---
3 files changed, 219 insertions(+), 189 deletions(-)
diff
Hi,
This series adds LoongArch LASX instructions.
About test:
We use RISU test the LoongArch LASX instructions.
QEMU:
https://github.com/loongson/qemu/tree/tcg-old-abi-support-lasx
RISU:
https://github.com/loongson/risu/tree/loongarch-suport-lasx
Please review, Thanks.
Changes for v5:
This patch includes:
- XVMAX[I].{B/H/W/D}[U];
- XVMIN[I].{B/H/W/D}[U].
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
---
target/loongarch/insns.decode | 36 +
target/loongarch/disas.c| 34 +++
This patch includes:
- XVAVG.{B/H/W/D/}[U];
- XVAVGR.{B/H/W/D}[U].
Signed-off-by: Song Gao
---
target/loongarch/insns.decode | 17
target/loongarch/disas.c| 17
target/loongarch/vec_helper.c | 22
This patch includes:
- XVSSRLN.{B.H/H.W/W.D};
- XVSSRAN.{B.H/H.W/W.D};
- XVSSRLN.{BU.H/HU.W/WU.D};
- XVSSRAN.{BU.H/HU.W/WU.D};
- XVSSRLNI.{B.H/H.W/W.D/D.Q};
- XVSSRANI.{B.H/H.W/W.D/D.Q};
- XVSSRLNI.{BU.H/HU.W/WU.D/DU.Q};
- XVSSRANI.{BU.H/HU.W/WU.D/DU.Q}.
Signed-off-by: Song Gao
---
This patch includes:
- XV{AND/OR/XOR/NOR/ANDN/ORN}.V;
- XV{AND/OR/XOR/NOR}I.B.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
---
target/loongarch/insns.decode | 12 +++
target/loongarch/disas.c| 12 +++
target/loongarch/vec_helper.c
This patch includes:
- VEXT2XV.{H/W/D}.B, VEXT2XV.{HU/WU/DU}.BU;
- VEXT2XV.{W/D}.B, VEXT2XV.{WU/DU}.HU;
- VEXT2XV.D.W, VEXT2XV.DU.WU.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
---
target/loongarch/helper.h | 13 ++
target/loongarch/insns.decode
This patch includes:
- XVPACK{EV/OD}.{B/H/W/D};
- XVPICK{EV/OD}.{B/H/W/D};
- XVILV{L/H}.{B/H/W/D}.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
---
target/loongarch/insns.decode | 27
target/loongarch/disas.c| 27
This patch includes:
- XVSIGNCOV.{B/H/W/D}.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
---
target/loongarch/insns.decode | 5 +
target/loongarch/disas.c| 5 +
target/loongarch/insn_trans/trans_vec.c.inc | 4
3 files changed, 14
This patch includes:
- XVSRLRN.{B.H/H.W/W.D};
- XVSRARN.{B.H/H.W/W.D};
- XVSRLRNI.{B.H/H.W/W.D/D.Q};
- XVSRARNI.{B.H/H.W/W.D/D.Q}.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
---
target/loongarch/insns.decode | 16 ++
target/loongarch/disas.c| 16
This patch includes:
- XVEXTH.{H.B/W.H/D.W/Q.D};
- XVEXTH.{HU.BU/WU.HU/DU.WU/QU.DU}.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
---
target/loongarch/insns.decode | 9 ++
target/loongarch/disas.c| 9 ++
target/loongarch/vec_helper.c
This patch includes:
- XVFRSTP[I].{B/H}.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
---
target/loongarch/insns.decode | 5
target/loongarch/disas.c| 5
target/loongarch/vec_helper.c | 32 +
This patch includes:
- XVSAT.{B/H/W/D}[U].
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
---
target/loongarch/insns.decode | 9
target/loongarch/disas.c| 9
target/loongarch/vec_helper.c | 48 +++--
This patch includes:
- XVFCVT{L/H}.{S.H/D.S};
- XVFCVT.{H.S/S.D};
- XVFRINT[{RNE/RZ/RP/RM}].{S/D};
- XVFTINT[{RNE/RZ/RP/RM}].{W.S/L.D};
- XVFTINT[RZ].{WU.S/LU.D};
- XVFTINT[{RNE/RZ/RP/RM}].W.D;
- XVFTINT[{RNE/RZ/RP/RM}]{L/H}.L.S;
- XVFFINT.{S.W/D.L}[U];
- X[CVFFINT.S.L, VFFINT{L/H}.D.W.
This patch includes:
- XVREPLVE.{B/H/W/D};
- XVREPL128VEI.{B/H/W/D};
- XVREPLVE0.{B/H/W/D/Q};
- XVINSVE0.{W/D};
- XVPICKVE.{W/D};
- XVBSLL.V, XVBSRL.V.
Signed-off-by: Song Gao
---
target/loongarch/helper.h | 5 +
target/loongarch/insns.decode | 25 ++
This patch includes:
- XVF{ADD/SUB/MUL/DIV}.{S/D};
- XVF{MADD/MSUB/NMADD/NMSUB}.{S/D};
- XVF{MAX/MIN}.{S/D};
- XVF{MAXA/MINA}.{S/D};
- XVFLOGB.{S/D};
- XVFCLASS.{S/D};
- XVF{SQRT/RECIP/RSQRT}.{S/D}.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
---
target/loongarch/insns.decode
This patch includes:
- XVSLL[I].{B/H/W/D};
- XVSRL[I].{B/H/W/D};
- XVSRA[I].{B/H/W/D};
- XVROTR[I].{B/H/W/D}.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
---
target/loongarch/insns.decode | 33 +++
target/loongarch/disas.c| 36
This patch includes:
- XVADDA.{B/H/W/D}.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
---
target/loongarch/insns.decode | 5
target/loongarch/disas.c| 5
target/loongarch/vec_helper.c | 30 +++--
This patch includes:
- XVHADDW.{H.B/W.H/D.W/Q.D/HU.BU/WU.HU/DU.WU/QU.DU};
- XVHSUBW.{H.B/W.H/D.W/Q.D/HU.BU/WU.HU/DU.WU/QU.DU}.
Signed-off-by: Song Gao
---
target/loongarch/insns.decode | 18 +++
target/loongarch/disas.c| 17 +++
Signed-off-by: Song Gao
---
target/loongarch/helper.h | 48 +++
target/loongarch/vec_helper.c | 50
target/loongarch/insn_trans/trans_vec.c.inc | 66 +
3 files changed, 91 insertions(+), 73 deletions(-)
diff --git
Using gvec_*_vl functions hides oprsz. We can use gvec_v* for oprsz 16.
and gvec_v* for oprsz 32.
Signed-off-by: Song Gao
---
target/loongarch/insn_trans/trans_vec.c.inc | 68 +
1 file changed, 44 insertions(+), 24 deletions(-)
diff --git
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
---
target/loongarch/cpu.h | 24 --
target/loongarch/internals.h| 22
target/loongarch/vec.h | 33 ++
linux-user/loongarch64/signal.c | 1 +
On 07/09/2023 02.35, Gavin Shan wrote:
For target/s390x, the CPU type name is always the combination of the
CPU modle name and suffix. The CPU model names have been correctly
s/modle/model/
Thomas
On 01/09/2023 17.58, Nina Schoetterl-Glausch wrote:
From: Pierre Morel
Introduction of the s390x cpu topology core functions and
basic tests.
We test the correlation between the command line and
the QMP results in query-cpus-fast for various CPU topology.
Signed-off-by: Pierre Morel
---
Please ignore this series. I will resend.
Thanks.
Song Gao
在 2023/9/7 下午4:08, Song Gao 写道:
Hi,
This series adds LoongArch LASX instructions.
About test:
We use RISU test the LoongArch LASX instructions.
QEMU:
https://github.com/loongson/qemu/tree/tcg-old-abi-support-lasx
RISU:
On 07.09.23 02:35, Gavin Shan wrote:
For target/s390x, the CPU type name is always the combination of the
CPU modle name and suffix. The CPU model names have been correctly
shown in s390_print_cpu_model_list_entry() and create_cpu_model_list().
Use generic helper cpu_model_from_type() to show
On 7/9/23 09:43, Albert Esteve wrote:
This API manages objects (in this iteration,
dmabuf fds) that can be shared along different
virtio devices, associated to a UUID.
The API allows the different devices to add,
remove and/or retrieve the objects by simply
invoking the public functions that
Am 06.09.2023 um 17:13 hat Stefan Hajnoczi geschrieben:
> test-bdrv-drain is failing. I think my coroutine wrapper patch might
> be necessary:
> https://gitlab.com/qemu-project/qemu/-/jobs/5029372308#L4907
>
> I have dropped this patch series for the time being. Feel free to
> remove my patches
On 01/09/2023 17.58, Nina Schoetterl-Glausch wrote:
From: Pierre Morel
Add some basic examples for the definition of cpu topology
in s390x.
Signed-off-by: Pierre Morel
Co-developed-by: Nina Schoetterl-Glausch
Signed-off-by: Nina Schoetterl-Glausch
---
...
diff --git
Renamed lsx_helper.c to vec_helper.c and trans_lsx.c.inc to trans_vec.c.inc
So LASX can used them.
Signed-off-by: Song Gao
---
target/loongarch/translate.c| 2 +-
target/loongarch/{lsx_helper.c => vec_helper.c} | 2 +-
Intrudce a new function check_vec to replace CHECK_SXE
Signed-off-by: Song Gao
---
target/loongarch/insn_trans/trans_vec.c.inc | 248 +++-
1 file changed, 192 insertions(+), 56 deletions(-)
diff --git a/target/loongarch/insn_trans/trans_vec.c.inc
Signed-off-by: Song Gao
---
target/loongarch/helper.h | 2 +-
target/loongarch/vec_helper.c | 11 +--
target/loongarch/insn_trans/trans_vec.c.inc | 22 -
3 files changed, 19 insertions(+), 16 deletions(-)
diff --git
Signed-off-by: Song Gao
---
target/loongarch/helper.h | 48 +++
target/loongarch/vec_helper.c | 50
target/loongarch/insn_trans/trans_vec.c.inc | 66 +
3 files changed, 91 insertions(+), 73 deletions(-)
diff --git
Signed-off-by: Song Gao
---
target/loongarch/helper.h | 16 +-
target/loongarch/vec_helper.c | 12 +++
target/loongarch/insn_trans/trans_vec.c.inc | 35 -
3 files changed, 41 insertions(+), 22 deletions(-)
diff --git
Hi,
This series adds LoongArch LASX instructions.
About test:
We use RISU test the LoongArch LASX instructions.
QEMU:
https://github.com/loongson/qemu/tree/tcg-old-abi-support-lasx
RISU:
https://github.com/loongson/risu/tree/loongarch-suport-lasx
Please review, Thanks.
Changes for v5:
Signed-off-by: Song Gao
---
target/loongarch/helper.h | 146 +++
target/loongarch/vec_helper.c | 445 +---
target/loongarch/insn_trans/trans_vec.c.inc | 18 +-
3 files changed, 291 insertions(+), 318 deletions(-)
diff --git
Signed-off-by: Song Gao
---
target/loongarch/helper.h | 214 +-
target/loongarch/vec_helper.c | 444 +---
target/loongarch/insn_trans/trans_vec.c.inc | 19 +-
3 files changed, 326 insertions(+), 351 deletions(-)
diff --git
Signed-off-by: Song Gao
---
target/loongarch/helper.h | 58 -
target/loongarch/vec_helper.c | 124 ++--
target/loongarch/insn_trans/trans_vec.c.inc | 16 ++-
3 files changed, 101 insertions(+), 97 deletions(-)
diff --git
Using gvec_*_vl functions hides oprsz. We can use gvec_v* for oprsz 16.
and gvec_v* for oprsz 32.
Signed-off-by: Song Gao
---
target/loongarch/insn_trans/trans_vec.c.inc | 68 +
1 file changed, 44 insertions(+), 24 deletions(-)
diff --git
Signed-off-by: Song Gao
---
target/loongarch/helper.h | 118 +++---
target/loongarch/vec_helper.c | 161 +++-
target/loongarch/insn_trans/trans_vec.c.inc | 129 +---
3 files changed, 219 insertions(+), 189 deletions(-)
diff
Add three new vhost-user protocol
`VHOST_USER_BACKEND_SHARED_OBJECT_* messages`.
These new messages are sent from vhost-user
back-ends to interact with the virtio-dmabuf
table in order to add or remove themselves as
virtio exporters, or lookup for virtio dma-buf
shared objects.
The action taken
This API manages objects (in this iteration,
dmabuf fds) that can be shared along different
virtio devices, associated to a UUID.
The API allows the different devices to add,
remove and/or retrieve the objects by simply
invoking the public functions that reside in the
virtio-dmabuf file.
For
Add hash function to uuid module using the
djb2 hash algorithm.
Add a couple simple unit tests for the hash
function, checking collisions for similar UUIDs.
Reviewed-by: Philippe Mathieu-Daudé
Signed-off-by: Albert Esteve
---
include/qemu/uuid.h| 2 ++
tests/unit/test-uuid.c | 27
In the libvhost-user library we need to
handle VHOST_USER_GET_SHARED_OBJECT requests,
and add helper functions to allow sending messages
to interact with the virtio shared objects
hash table.
Signed-off-by: Albert Esteve
---
subprojects/libvhost-user/libvhost-user.c | 120 ++
v1 link -> https://lists.gnu.org/archive/html/qemu-devel/2023-05/msg00598.html
v2 link -> https://lists.gnu.org/archive/html/qemu-devel/2023-05/msg04530.html
v3 link -> https://lists.gnu.org/archive/html/qemu-devel/2023-05/msg06126.html
v4 link ->
On 9/7/23 02:35, Gavin Shan wrote:
For target/ppc, the CPU type name can be: (1) The combination of
the CPU model name and suffix; (2) the type name of the class whose
PVR matches with the specified one; (3) alias of the CPU model, plus
suffix; (4) MachineClass::default_cpu_type when the CPU
Hi, Richard
在 2023/8/31 上午11:09, Richard Henderson 写道:
Signed-off-by: Richard Henderson
---
accel/tcg/tcg-runtime.h | 25 ++
include/tcg/tcg-op-gvec-common.h | 6 ++
accel/tcg/tcg-runtime-gvec.c | 26 ++
tcg/tcg-op-gvec.c| 150
Widening Cc to ARM/VFIO.
On 4/8/23 11:15, Wu, Fei wrote:
On 8/3/2023 11:07 PM, Andrew Jones wrote:
On Mon, Jul 31, 2023 at 09:53:17AM +0800, Fei Wu wrote:
riscv virt platform's memory started at 0x8000 and
straddled the 4GiB boundary. Curiously enough, this choice
of a memory layout will
Add virtio-mmio bus support for LoongArch, so that devices
could be added in the virtio-mmio bus. And add it's address
info and interrupt number into fdt and dsdt.
Signed-off-by: Tianrui Zhao
---
hw/loongarch/Kconfig | 1 +
hw/loongarch/acpi-build.c | 20
As per the Priv and Smepmp specifications, certain bits such as the 'L'
bit of pmp entries and mseccfg.MML can only be cleared upon reset and it
is necessary to do so to allow 'M' mode firmware to correctly reinitialize
the pmp/smpemp state across reboots.
Signed-off-by: Mayuresh Chitale
---
On 6/9/23 18:18, Albert Esteve wrote:
So:
- Regarding the two functions with the same, seems to be solved with
the squash before,
and it was probably causing the compile error to begin with, so
one less thing to worry about!
- Regarding splitting the commit, sure, no
On 6/9/23 19:56, Richard Henderson wrote:
On 9/4/23 08:00, Alex Bennée wrote:
Due to the b4 dropping the vdso.so in the patch this fails:
Program build-vdso.sh found: YES
(/home/alex/lsrc/qemu.git/linux-user/build-vdso.sh)
../../linux-user/s390x/meson.build:24:0: ERROR: File vdso.so
On 7/9/23 05:43, John Snow wrote:
I guess the last time I sent IDE patches was for 6.2 and that tag got
stuck in my git-publish invocation, oops. I am not suggesting we break
the laws of causality to merge these patches.
lol
On Wed, Sep 6, 2023 at 11:42 PM John Snow wrote:
The following
301 - 366 of 366 matches
Mail list logo