[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] c3d2dd: target/loongarch: Add LSX data type V
From: |
Richard Henderson |
Subject: |
[Qemu-commits] [qemu/qemu] c3d2dd: target/loongarch: Add LSX data type VReg |
Date: |
Fri, 05 May 2023 08:09:33 -0700 |
Branch: refs/heads/staging
Home: https://github.com/qemu/qemu
Commit: c3d2dddd7e52c7b539dfbba5147af45da37aa75d
https://github.com/qemu/qemu/commit/c3d2dddd7e52c7b539dfbba5147af45da37aa75d
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M linux-user/loongarch64/signal.c
M target/loongarch/cpu.c
M target/loongarch/cpu.h
M target/loongarch/gdbstub.c
M target/loongarch/internals.h
M target/loongarch/machine.c
Log Message:
-----------
target/loongarch: Add LSX data type VReg
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230504122810.4094787-2-gaosong@loongson.cn>
Commit: 94358191761e0cdc805f022853d20bb41ac83485
https://github.com/qemu/qemu/commit/94358191761e0cdc805f022853d20bb41ac83485
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
A target/loongarch/insn_trans/trans_lsx.c.inc
A target/loongarch/lsx_helper.c
M target/loongarch/meson.build
M target/loongarch/translate.c
Log Message:
-----------
target/loongarch: meson.build support build LSX
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230504122810.4094787-3-gaosong@loongson.cn>
Commit: a48ae9ae3e4edadf00464d05a1e83fc9474d557f
https://github.com/qemu/qemu/commit/a48ae9ae3e4edadf00464d05a1e83fc9474d557f
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M target/loongarch/cpu.c
M target/loongarch/cpu.h
M target/loongarch/insn_trans/trans_lsx.c.inc
Log Message:
-----------
target/loongarch: Add CHECK_SXE maccro for check LSX enable
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230504122810.4094787-4-gaosong@loongson.cn>
Commit: 74e0d3d44f88e3f455b61be7aba21e9439bdf372
https://github.com/qemu/qemu/commit/74e0d3d44f88e3f455b61be7aba21e9439bdf372
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/insn_trans/trans_lsx.c.inc
M target/loongarch/insns.decode
M target/loongarch/translate.c
M target/loongarch/translate.h
Log Message:
-----------
target/loongarch: Implement vadd/vsub
This patch includes:
- VADD.{B/H/W/D/Q};
- VSUB.{B/H/W/D/Q}.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230504122810.4094787-5-gaosong@loongson.cn>
Commit: d8937187f214dbb9cf33a708cfd9255fad6e6cc3
https://github.com/qemu/qemu/commit/d8937187f214dbb9cf33a708cfd9255fad6e6cc3
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/insn_trans/trans_lsx.c.inc
M target/loongarch/insns.decode
Log Message:
-----------
target/loongarch: Implement vaddi/vsubi
This patch includes:
- VADDI.{B/H/W/D}U;
- VSUBI.{B/H/W/D}U.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230504122810.4094787-6-gaosong@loongson.cn>
Commit: c212169d24bb840035a918002c683139e00222e7
https://github.com/qemu/qemu/commit/c212169d24bb840035a918002c683139e00222e7
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/insn_trans/trans_lsx.c.inc
M target/loongarch/insns.decode
Log Message:
-----------
target/loongarch: Implement vneg
This patch includes;
- VNEG.{B/H/W/D}.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230504122810.4094787-7-gaosong@loongson.cn>
Commit: 800fc11541e188c809c8db2df4046f9a3ab720d7
https://github.com/qemu/qemu/commit/800fc11541e188c809c8db2df4046f9a3ab720d7
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/insn_trans/trans_lsx.c.inc
M target/loongarch/insns.decode
Log Message:
-----------
target/loongarch: Implement vsadd/vssub
This patch includes:
- VSADD.{B/H/W/D}[U];
- VSSUB.{B/H/W/D}[U].
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230504122810.4094787-8-gaosong@loongson.cn>
Commit: 0343252395d84677dce2239979670605038d7fed
https://github.com/qemu/qemu/commit/0343252395d84677dce2239979670605038d7fed
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/helper.h
M target/loongarch/insn_trans/trans_lsx.c.inc
M target/loongarch/insns.decode
M target/loongarch/lsx_helper.c
Log Message:
-----------
target/loongarch: Implement vhaddw/vhsubw
This patch includes:
- VHADDW.{H.B/W.H/D.W/Q.D/HU.BU/WU.HU/DU.WU/QU.DU};
- VHSUBW.{H.B/W.H/D.W/Q.D/HU.BU/WU.HU/DU.WU/QU.DU}.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230504122810.4094787-9-gaosong@loongson.cn>
Commit: 33b7499999651dc5d65492ad905a6e0984514c2e
https://github.com/qemu/qemu/commit/33b7499999651dc5d65492ad905a6e0984514c2e
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/helper.h
M target/loongarch/insn_trans/trans_lsx.c.inc
M target/loongarch/insns.decode
M target/loongarch/lsx_helper.c
Log Message:
-----------
target/loongarch: Implement vaddw/vsubw
This patch includes:
- VADDW{EV/OD}.{H.B/W.H/D.W/Q.D}[U];
- VSUBW{EV/OD}.{H.B/W.H/D.W/Q.D}[U];
- VADDW{EV/OD}.{H.BU.B/W.HU.H/D.WU.W/Q.DU.D}.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230504122810.4094787-10-gaosong@loongson.cn>
Commit: 34c5046ec4637a095cd5148241455c442771ac6b
https://github.com/qemu/qemu/commit/34c5046ec4637a095cd5148241455c442771ac6b
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/helper.h
M target/loongarch/insn_trans/trans_lsx.c.inc
M target/loongarch/insns.decode
M target/loongarch/lsx_helper.c
Log Message:
-----------
target/loongarch: Implement vavg/vavgr
This patch includes:
- VAVG.{B/H/W/D}[U];
- VAVGR.{B/H/W/D}[U].
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230504122810.4094787-11-gaosong@loongson.cn>
Commit: 39742121bef0ade2c86de18cda9734c1a0a50f58
https://github.com/qemu/qemu/commit/39742121bef0ade2c86de18cda9734c1a0a50f58
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/helper.h
M target/loongarch/insn_trans/trans_lsx.c.inc
M target/loongarch/insns.decode
M target/loongarch/lsx_helper.c
Log Message:
-----------
target/loongarch: Implement vabsd
This patch includes:
- VABSD.{B/H/W/D}[U].
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230504122810.4094787-12-gaosong@loongson.cn>
Commit: df808295b94647d6e46dec7c6089e0d378f76ce3
https://github.com/qemu/qemu/commit/df808295b94647d6e46dec7c6089e0d378f76ce3
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/helper.h
M target/loongarch/insn_trans/trans_lsx.c.inc
M target/loongarch/insns.decode
M target/loongarch/lsx_helper.c
Log Message:
-----------
target/loongarch: Implement vadda
This patch includes:
- VADDA.{B/H/W/D}.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230504122810.4094787-13-gaosong@loongson.cn>
Commit: 72a353957a9ffd1a68611b80ffe341670fd29159
https://github.com/qemu/qemu/commit/72a353957a9ffd1a68611b80ffe341670fd29159
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/helper.h
M target/loongarch/insn_trans/trans_lsx.c.inc
M target/loongarch/insns.decode
M target/loongarch/lsx_helper.c
Log Message:
-----------
target/loongarch: Implement vmax/vmin
This patch includes:
- VMAX[I].{B/H/W/D}[U];
- VMIN[I].{B/H/W/D}[U].
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230504122810.4094787-14-gaosong@loongson.cn>
Commit: 7d811ba2be37ad3a65d16f6a8a26e9ac12934d30
https://github.com/qemu/qemu/commit/7d811ba2be37ad3a65d16f6a8a26e9ac12934d30
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/helper.h
M target/loongarch/insn_trans/trans_lsx.c.inc
M target/loongarch/insns.decode
M target/loongarch/lsx_helper.c
Log Message:
-----------
target/loongarch: Implement vmul/vmuh/vmulw{ev/od}
This patch includes:
- VMUL.{B/H/W/D};
- VMUH.{B/H/W/D}[U];
- VMULW{EV/OD}.{H.B/W.H/D.W/Q.D}[U];
- VMULW{EV/OD}.{H.BU.B/W.HU.H/D.WU.W/Q.DU.D}.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230504122810.4094787-15-gaosong@loongson.cn>
Commit: 2a2e5b8d70db72a1c54d440d8bab216eff7a8078
https://github.com/qemu/qemu/commit/2a2e5b8d70db72a1c54d440d8bab216eff7a8078
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/helper.h
M target/loongarch/insn_trans/trans_lsx.c.inc
M target/loongarch/insns.decode
M target/loongarch/lsx_helper.c
Log Message:
-----------
target/loongarch: Implement vmadd/vmsub/vmaddw{ev/od}
This patch includes:
- VMADD.{B/H/W/D};
- VMSUB.{B/H/W/D};
- VMADDW{EV/OD}.{H.B/W.H/D.W/Q.D}[U];
- VMADDW{EV/OD}.{H.BU.B/W.HU.H/D.WU.W/Q.DU.D}.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230504122810.4094787-16-gaosong@loongson.cn>
Commit: c9bdb193d77678c4ba90bae20e671106ba300dd0
https://github.com/qemu/qemu/commit/c9bdb193d77678c4ba90bae20e671106ba300dd0
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/helper.h
M target/loongarch/insn_trans/trans_lsx.c.inc
M target/loongarch/insns.decode
M target/loongarch/lsx_helper.c
Log Message:
-----------
target/loongarch: Implement vdiv/vmod
This patch includes:
- VDIV.{B/H/W/D}[U];
- VMOD.{B/H/W/D}[U].
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230504122810.4094787-17-gaosong@loongson.cn>
Commit: c828b79fff91bb6811b89df18a28e11a05f4e55d
https://github.com/qemu/qemu/commit/c828b79fff91bb6811b89df18a28e11a05f4e55d
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/helper.h
M target/loongarch/insn_trans/trans_lsx.c.inc
M target/loongarch/insns.decode
M target/loongarch/lsx_helper.c
Log Message:
-----------
target/loongarch: Implement vsat
This patch includes:
- VSAT.{B/H/W/D}[U].
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230504122810.4094787-18-gaosong@loongson.cn>
Commit: 8e65530a24a56231eb7399f2df96ef84dee9c132
https://github.com/qemu/qemu/commit/8e65530a24a56231eb7399f2df96ef84dee9c132
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/helper.h
M target/loongarch/insn_trans/trans_lsx.c.inc
M target/loongarch/insns.decode
M target/loongarch/lsx_helper.c
Log Message:
-----------
target/loongarch: Implement vexth
This patch includes:
- VEXTH.{H.B/W.H/D.W/Q.D};
- VEXTH.{HU.BU/WU.HU/DU.WU/QU.DU}.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230504122810.4094787-19-gaosong@loongson.cn>
Commit: 16e338d46164112f291f3fe335df7ecdfd878c2b
https://github.com/qemu/qemu/commit/16e338d46164112f291f3fe335df7ecdfd878c2b
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/helper.h
M target/loongarch/insn_trans/trans_lsx.c.inc
M target/loongarch/insns.decode
M target/loongarch/lsx_helper.c
Log Message:
-----------
target/loongarch: Implement vsigncov
This patch includes:
- VSIGNCOV.{B/H/W/D}.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230504122810.4094787-20-gaosong@loongson.cn>
Commit: 3050d4c1e4c021b7b79c1f23a828bee62a46b920
https://github.com/qemu/qemu/commit/3050d4c1e4c021b7b79c1f23a828bee62a46b920
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/helper.h
M target/loongarch/insn_trans/trans_lsx.c.inc
M target/loongarch/insns.decode
M target/loongarch/lsx_helper.c
Log Message:
-----------
target/loongarch: Implement vmskltz/vmskgez/vmsknz
This patch includes:
- VMSKLTZ.{B/H/W/D};
- VMSKGEZ.B;
- VMSKNZ.B.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230504122810.4094787-21-gaosong@loongson.cn>
Commit: fafbb76b0a1b875441e00ff497857d350d75eb09
https://github.com/qemu/qemu/commit/fafbb76b0a1b875441e00ff497857d350d75eb09
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/helper.h
M target/loongarch/insn_trans/trans_lsx.c.inc
M target/loongarch/insns.decode
M target/loongarch/lsx_helper.c
Log Message:
-----------
target/loongarch: Implement LSX logic instructions
This patch includes:
- V{AND/OR/XOR/NOR/ANDN/ORN}.V;
- V{AND/OR/XOR/NOR}I.B.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230504122810.4094787-22-gaosong@loongson.cn>
Commit: 984c23dd352ff791d2f5260ba4410fc218979729
https://github.com/qemu/qemu/commit/984c23dd352ff791d2f5260ba4410fc218979729
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/insn_trans/trans_lsx.c.inc
M target/loongarch/insns.decode
Log Message:
-----------
target/loongarch: Implement vsll vsrl vsra vrotr
This patch includes:
- VSLL[I].{B/H/W/D};
- VSRL[I].{B/H/W/D};
- VSRA[I].{B/H/W/D};
- VROTR[I].{B/H/W/D}.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230504122810.4094787-23-gaosong@loongson.cn>
Commit: de808e38c6ed485c64e1139a454c8c1a894505ca
https://github.com/qemu/qemu/commit/de808e38c6ed485c64e1139a454c8c1a894505ca
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/helper.h
M target/loongarch/insn_trans/trans_lsx.c.inc
M target/loongarch/insns.decode
M target/loongarch/lsx_helper.c
Log Message:
-----------
target/loongarch: Implement vsllwil vextl
This patch includes:
- VSLLWIL.{H.B/W.H/D.W};
- VSLLWIL.{HU.BU/WU.HU/DU.WU};
- VEXTL.Q.D, VEXTL.QU.DU.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230504122810.4094787-24-gaosong@loongson.cn>
Commit: e173d203eb6496cdf1617e4cc4e03deb62597588
https://github.com/qemu/qemu/commit/e173d203eb6496cdf1617e4cc4e03deb62597588
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/helper.h
M target/loongarch/insn_trans/trans_lsx.c.inc
M target/loongarch/insns.decode
M target/loongarch/lsx_helper.c
Log Message:
-----------
target/loongarch: Implement vsrlr vsrar
This patch includes:
- VSRLR[I].{B/H/W/D};
- VSRAR[I].{B/H/W/D}.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230504122810.4094787-25-gaosong@loongson.cn>
Commit: 46d3f81e9d0bd94be3af0406a4ab364526f683c6
https://github.com/qemu/qemu/commit/46d3f81e9d0bd94be3af0406a4ab364526f683c6
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/helper.h
M target/loongarch/insn_trans/trans_lsx.c.inc
M target/loongarch/insns.decode
M target/loongarch/lsx_helper.c
Log Message:
-----------
target/loongarch: Implement vsrln vsran
This patch includes:
- VSRLN.{B.H/H.W/W.D};
- VSRAN.{B.H/H.W/W.D};
- VSRLNI.{B.H/H.W/W.D/D.Q};
- VSRANI.{B.H/H.W/W.D/D.Q}.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230504122810.4094787-26-gaosong@loongson.cn>
Commit: c68d4acd29fcae12e9dced30db8e10e78ecf63a5
https://github.com/qemu/qemu/commit/c68d4acd29fcae12e9dced30db8e10e78ecf63a5
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/helper.h
M target/loongarch/insn_trans/trans_lsx.c.inc
M target/loongarch/insns.decode
M target/loongarch/lsx_helper.c
Log Message:
-----------
target/loongarch: Implement vsrlrn vsrarn
This patch includes:
- VSRLRN.{B.H/H.W/W.D};
- VSRARN.{B.H/H.W/W.D};
- VSRLRNI.{B.H/H.W/W.D/D.Q};
- VSRARNI.{B.H/H.W/W.D/D.Q}.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230504122810.4094787-27-gaosong@loongson.cn>
Commit: 806a5f59ced2a6dce250496d93f00d2e4d902e58
https://github.com/qemu/qemu/commit/806a5f59ced2a6dce250496d93f00d2e4d902e58
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/helper.h
M target/loongarch/insn_trans/trans_lsx.c.inc
M target/loongarch/insns.decode
M target/loongarch/lsx_helper.c
Log Message:
-----------
target/loongarch: Implement vssrln vssran
This patch includes:
- VSSRLN.{B.H/H.W/W.D};
- VSSRAN.{B.H/H.W/W.D};
- VSSRLN.{BU.H/HU.W/WU.D};
- VSSRAN.{BU.H/HU.W/WU.D};
- VSSRLNI.{B.H/H.W/W.D/D.Q};
- VSSRANI.{B.H/H.W/W.D/D.Q};
- VSSRLNI.{BU.H/HU.W/WU.D/DU.Q};
- VSSRANI.{BU.H/HU.W/WU.D/DU.Q}.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230504122810.4094787-28-gaosong@loongson.cn>
Commit: ed430333290d68f13d455223ddbb0bdbbc1c9eaf
https://github.com/qemu/qemu/commit/ed430333290d68f13d455223ddbb0bdbbc1c9eaf
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/helper.h
M target/loongarch/insn_trans/trans_lsx.c.inc
M target/loongarch/insns.decode
M target/loongarch/lsx_helper.c
Log Message:
-----------
target/loongarch: Implement vssrlrn vssrarn
This patch includes:
- VSSRLRN.{B.H/H.W/W.D};
- VSSRARN.{B.H/H.W/W.D};
- VSSRLRN.{BU.H/HU.W/WU.D};
- VSSRARN.{BU.H/HU.W/WU.D};
- VSSRLRNI.{B.H/H.W/W.D/D.Q};
- VSSRARNI.{B.H/H.W/W.D/D.Q};
- VSSRLRNI.{BU.H/HU.W/WU.D/DU.Q};
- VSSRARNI.{BU.H/HU.W/WU.D/DU.Q}.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230504122810.4094787-29-gaosong@loongson.cn>
Commit: 93f478f3b9f03ed7c0df0baa6b560f26f46fa74d
https://github.com/qemu/qemu/commit/93f478f3b9f03ed7c0df0baa6b560f26f46fa74d
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/helper.h
M target/loongarch/insn_trans/trans_lsx.c.inc
M target/loongarch/insns.decode
M target/loongarch/lsx_helper.c
Log Message:
-----------
target/loongarch: Implement vclo vclz
This patch includes:
- VCLO.{B/H/W/D};
- VCLZ.{B/H/W/D}.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230504122810.4094787-30-gaosong@loongson.cn>
Commit: 8429548cc9a67d6c9250f7ee37f9c0921fd33d89
https://github.com/qemu/qemu/commit/8429548cc9a67d6c9250f7ee37f9c0921fd33d89
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/helper.h
M target/loongarch/insn_trans/trans_lsx.c.inc
M target/loongarch/insns.decode
M target/loongarch/lsx_helper.c
Log Message:
-----------
target/loongarch: Implement vpcnt
This patch includes:
- VPCNT.{B/H/W/D}.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230504122810.4094787-31-gaosong@loongson.cn>
Commit: 72fa8916b6642cbda49e5f922775c3cc78c01452
https://github.com/qemu/qemu/commit/72fa8916b6642cbda49e5f922775c3cc78c01452
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/helper.h
M target/loongarch/insn_trans/trans_lsx.c.inc
M target/loongarch/insns.decode
M target/loongarch/lsx_helper.c
Log Message:
-----------
target/loongarch: Implement vbitclr vbitset vbitrev
This patch includes:
- VBITCLR[I].{B/H/W/D};
- VBITSET[I].{B/H/W/D};
- VBITREV[I].{B/H/W/D}.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230504122810.4094787-32-gaosong@loongson.cn>
Commit: a5feb4b77410d59dc2aa1b743419c08dc9b1d359
https://github.com/qemu/qemu/commit/a5feb4b77410d59dc2aa1b743419c08dc9b1d359
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/helper.h
M target/loongarch/insn_trans/trans_lsx.c.inc
M target/loongarch/insns.decode
M target/loongarch/lsx_helper.c
Log Message:
-----------
target/loongarch: Implement vfrstp
This patch includes:
- VFRSTP[I].{B/H}.
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230504122810.4094787-33-gaosong@loongson.cn>
Commit: 8bd2198bf328ece6f66f71d7e2970559581e0e24
https://github.com/qemu/qemu/commit/8bd2198bf328ece6f66f71d7e2970559581e0e24
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M target/loongarch/cpu.h
M target/loongarch/disas.c
M target/loongarch/fpu_helper.c
M target/loongarch/helper.h
M target/loongarch/insn_trans/trans_lsx.c.inc
M target/loongarch/insns.decode
M target/loongarch/internals.h
M target/loongarch/lsx_helper.c
Log Message:
-----------
target/loongarch: Implement LSX fpu arith instructions
This patch includes:
- VF{ADD/SUB/MUL/DIV}.{S/D};
- VF{MADD/MSUB/NMADD/NMSUB}.{S/D};
- VF{MAX/MIN}.{S/D};
- VF{MAXA/MINA}.{S/D};
- VFLOGB.{S/D};
- VFCLASS.{S/D};
- VF{SQRT/RECIP/RSQRT}.{S/D}.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230504122810.4094787-34-gaosong@loongson.cn>
Commit: 8dfd1cab5c10bf5f67e1a734605e6a50e9375f7c
https://github.com/qemu/qemu/commit/8dfd1cab5c10bf5f67e1a734605e6a50e9375f7c
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/helper.h
M target/loongarch/insn_trans/trans_lsx.c.inc
M target/loongarch/insns.decode
M target/loongarch/lsx_helper.c
Log Message:
-----------
target/loongarch: Implement LSX fpu fcvt instructions
This patch includes:
- VFCVT{L/H}.{S.H/D.S};
- VFCVT.{H.S/S.D};
- VFRINT[{RNE/RZ/RP/RM}].{S/D};
- VFTINT[{RNE/RZ/RP/RM}].{W.S/L.D};
- VFTINT[RZ].{WU.S/LU.D};
- VFTINT[{RNE/RZ/RP/RM}].W.D;
- VFTINT[{RNE/RZ/RP/RM}]{L/H}.L.S;
- VFFINT.{S.W/D.L}[U];
- VFFINT.S.L, VFFINT{L/H}.D.W.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230504122810.4094787-35-gaosong@loongson.cn>
Commit: f896adc70ad8097f83de98dfcfd8504b682772be
https://github.com/qemu/qemu/commit/f896adc70ad8097f83de98dfcfd8504b682772be
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/helper.h
M target/loongarch/insn_trans/trans_lsx.c.inc
M target/loongarch/insns.decode
M target/loongarch/lsx_helper.c
Log Message:
-----------
target/loongarch: Implement vseq vsle vslt
This patch includes:
- VSEQ[I].{B/H/W/D};
- VSLE[I].{B/H/W/D}[U];
- VSLT[I].{B/H/W/D/}[U].
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230504122810.4094787-36-gaosong@loongson.cn>
Commit: 46f0ab35f1c89d5a78090aef816e2212224fee05
https://github.com/qemu/qemu/commit/46f0ab35f1c89d5a78090aef816e2212224fee05
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/helper.h
M target/loongarch/insn_trans/trans_lsx.c.inc
M target/loongarch/insns.decode
M target/loongarch/lsx_helper.c
Log Message:
-----------
target/loongarch: Implement vfcmp
This patch includes:
- VFCMP.cond.{S/D}.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230504122810.4094787-37-gaosong@loongson.cn>
Commit: 1b9656ca53d0155541c922b4cedb83f7ec7cf84b
https://github.com/qemu/qemu/commit/1b9656ca53d0155541c922b4cedb83f7ec7cf84b
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/helper.h
M target/loongarch/insn_trans/trans_lsx.c.inc
M target/loongarch/insns.decode
M target/loongarch/lsx_helper.c
Log Message:
-----------
target/loongarch: Implement vbitsel vset
This patch includes:
- VBITSEL.V;
- VBITSELI.B;
- VSET{EQZ/NEZ}.V;
- VSETANYEQZ.{B/H/W/D};
- VSETALLNEZ.{B/H/W/D}.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230504122810.4094787-38-gaosong@loongson.cn>
Commit: d20323f22f4ab54b40903cf851fc73fcf1cbe839
https://github.com/qemu/qemu/commit/d20323f22f4ab54b40903cf851fc73fcf1cbe839
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/insn_trans/trans_lsx.c.inc
M target/loongarch/insns.decode
Log Message:
-----------
target/loongarch: Implement vinsgr2vr vpickve2gr vreplgr2vr
This patch includes:
- VINSGR2VR.{B/H/W/D};
- VPICKVE2GR.{B/H/W/D}[U];
- VREPLGR2VR.{B/H/W/D}.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230504122810.4094787-39-gaosong@loongson.cn>
Commit: 590433bffe29d72818f1695fc707a79e17a8a337
https://github.com/qemu/qemu/commit/590433bffe29d72818f1695fc707a79e17a8a337
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/helper.h
M target/loongarch/insn_trans/trans_lsx.c.inc
M target/loongarch/insns.decode
M target/loongarch/lsx_helper.c
Log Message:
-----------
target/loongarch: Implement vreplve vpack vpick
This patch includes:
- VREPLVE[I].{B/H/W/D};
- VBSLL.V, VBSRL.V;
- VPACK{EV/OD}.{B/H/W/D};
- VPICK{EV/OD}.{B/H/W/D}.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230504122810.4094787-40-gaosong@loongson.cn>
Commit: ede56e2c874240d6fa15634b6e84b8e3b4711732
https://github.com/qemu/qemu/commit/ede56e2c874240d6fa15634b6e84b8e3b4711732
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/helper.h
M target/loongarch/insn_trans/trans_lsx.c.inc
M target/loongarch/insns.decode
M target/loongarch/lsx_helper.c
Log Message:
-----------
target/loongarch: Implement vilvl vilvh vextrins vshuf
This patch includes:
- VILV{L/H}.{B/H/W/D};
- VSHUF.{B/H/W/D};
- VSHUF4I.{B/H/W/D};
- VPERMI.W;
- VEXTRINS.{B/H/W/D}.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230504122810.4094787-41-gaosong@loongson.cn>
Commit: 7667c2b1a7f07ac2ffb5620d1d6c0835fa6275b7
https://github.com/qemu/qemu/commit/7667c2b1a7f07ac2ffb5620d1d6c0835fa6275b7
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/insn_trans/trans_lsx.c.inc
M target/loongarch/insns.decode
M target/loongarch/translate.c
Log Message:
-----------
target/loongarch: Implement vld vst
This patch includes:
- VLD[X], VST[X];
- VLDREPL.{B/H/W/D};
- VSTELM.{B/H/W/D}.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230504122810.4094787-42-gaosong@loongson.cn>
Commit: f3b3d76f74ea84babed8b2b816d67bd5710f5251
https://github.com/qemu/qemu/commit/f3b3d76f74ea84babed8b2b816d67bd5710f5251
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M target/loongarch/disas.c
M target/loongarch/insn_trans/trans_lsx.c.inc
M target/loongarch/insns.decode
Log Message:
-----------
target/loongarch: Implement vldi
This patch includes:
- VLDI.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230504122810.4094787-43-gaosong@loongson.cn>
Commit: d7a8a876f1543eba67b1288ac5fa2617375d4101
https://github.com/qemu/qemu/commit/d7a8a876f1543eba67b1288ac5fa2617375d4101
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M target/loongarch/insn_trans/trans_farith.c.inc
M target/loongarch/insn_trans/trans_fcmp.c.inc
M target/loongarch/insn_trans/trans_fmemory.c.inc
M target/loongarch/insn_trans/trans_fmov.c.inc
M target/loongarch/translate.c
Log Message:
-----------
target/loongarch: Use {set/get}_gpr replace to cpu_fpr
Introduce set_fpr() and get_fpr() and remove cpu_fpr.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230504122810.4094787-44-gaosong@loongson.cn>
Commit: a6ddbcade327e4ebef6264c36a3071709a3e4a93
https://github.com/qemu/qemu/commit/a6ddbcade327e4ebef6264c36a3071709a3e4a93
Author: Song Gao <gaosong@loongson.cn>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M target/loongarch/cpu.c
Log Message:
-----------
target/loongarch: CPUCFG support LSX
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230504122810.4094787-45-gaosong@loongson.cn>
Commit: 9dd207d409cc2eb08fe52965b9d1fd4a12a82bd5
https://github.com/qemu/qemu/commit/9dd207d409cc2eb08fe52965b9d1fd4a12a82bd5
Author: Alex Bennée <alex.bennee@linaro.org>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M hw/intc/loongarch_ipi.c
Log Message:
-----------
hw/intc: don't use target_ulong for LoongArch ipi
The calling function is already working with hwaddr and uint64_t so
lets avoid bringing target_ulong in if we don't need to.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230404132711.2563638-1-alex.bennee@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Commit: da41c749d371eba1345339945204ab4f84c995b9
https://github.com/qemu/qemu/commit/da41c749d371eba1345339945204ab4f84c995b9
Author: Richard Henderson <richard.henderson@linaro.org>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M hw/intc/loongarch_ipi.c
M linux-user/loongarch64/signal.c
M target/loongarch/cpu.c
M target/loongarch/cpu.h
M target/loongarch/disas.c
M target/loongarch/fpu_helper.c
M target/loongarch/gdbstub.c
M target/loongarch/helper.h
M target/loongarch/insn_trans/trans_farith.c.inc
M target/loongarch/insn_trans/trans_fcmp.c.inc
M target/loongarch/insn_trans/trans_fmemory.c.inc
M target/loongarch/insn_trans/trans_fmov.c.inc
A target/loongarch/insn_trans/trans_lsx.c.inc
M target/loongarch/insns.decode
M target/loongarch/internals.h
A target/loongarch/lsx_helper.c
M target/loongarch/machine.c
M target/loongarch/meson.build
M target/loongarch/translate.c
M target/loongarch/translate.h
Log Message:
-----------
Merge tag 'pull-loongarch-20230505' of https://gitlab.com/gaosong/qemu into
staging
Add LoongArch LSX instructions.
# -----BEGIN PGP SIGNATURE-----
#
# iLMEAAEIAB0WIQS4/x2g0v3LLaCcbCxAov/yOSY+3wUCZFRmOQAKCRBAov/yOSY+
# 33bwBADWR4slms+eN/WM8hRGez/Qr48abhBhF76nvKKVRluGOm1YITMEdERr/vR/
# Oo4sQkRCM+to7PyOM9QNoeFjXf/37F4LIjv/1AxXTnrybLuVpd3Y8Zequ/iO/ijc
# CCaKfl6C8OUnxOVLBmHFypLYfUThCimJczM9+lOWmAfRRTZrvA==
# =cIDi
# -----END PGP SIGNATURE-----
# gpg: Signature made Fri 05 May 2023 03:13:13 AM BST
# gpg: using RSA key B8FF1DA0D2FDCB2DA09C6C2C40A2FFF239263EDF
# gpg: Good signature from "Song Gao <m17746591750@163.com>" [unknown]
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg: There is no indication that the signature belongs to the owner.
# Primary key fingerprint: B8FF 1DA0 D2FD CB2D A09C 6C2C 40A2 FFF2 3926 3EDF
* tag 'pull-loongarch-20230505' of https://gitlab.com/gaosong/qemu: (45 commits)
hw/intc: don't use target_ulong for LoongArch ipi
target/loongarch: CPUCFG support LSX
target/loongarch: Use {set/get}_gpr replace to cpu_fpr
target/loongarch: Implement vldi
target/loongarch: Implement vld vst
target/loongarch: Implement vilvl vilvh vextrins vshuf
target/loongarch: Implement vreplve vpack vpick
target/loongarch: Implement vinsgr2vr vpickve2gr vreplgr2vr
target/loongarch: Implement vbitsel vset
target/loongarch: Implement vfcmp
target/loongarch: Implement vseq vsle vslt
target/loongarch: Implement LSX fpu fcvt instructions
target/loongarch: Implement LSX fpu arith instructions
target/loongarch: Implement vfrstp
target/loongarch: Implement vbitclr vbitset vbitrev
target/loongarch: Implement vpcnt
target/loongarch: Implement vclo vclz
target/loongarch: Implement vssrlrn vssrarn
target/loongarch: Implement vssrln vssran
target/loongarch: Implement vsrlrn vsrarn
...
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Compare: https://github.com/qemu/qemu/compare/a9fe9e191b43...da41c749d371
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] c3d2dd: target/loongarch: Add LSX data type VReg,
Richard Henderson <=