qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 00/46] Add LoongArch LASX instructions
@ 2023-06-20  9:37 Song Gao
  2023-06-20  9:37 ` [PATCH v1 01/46] target/loongarch: Add LASX data type XReg Song Gao
                   ` (45 more replies)
  0 siblings, 46 replies; 54+ messages in thread
From: Song Gao @ 2023-06-20  9:37 UTC (permalink / raw)
  To: qemu-devel; +Cc: richard.henderson

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.

Song Gao (46):
  target/loongarch: Add LASX data type XReg
  target/loongarch: meson.build support build LASX
  target/loongarch: Add CHECK_ASXE maccro for check LASX enable
  target/loongarch: Implement xvadd/xvsub
  target/loongarch: Implement xvreplgr2vr
  target/loongarch: Implement xvaddi/xvsubi
  target/loongarch: Implement xvneg
  target/loongarch: Implement xvsadd/xvssub
  target/loongarch: Implement xvhaddw/xvhsubw
  target/loongarch: Implement xvaddw/xvsubw
  target/loongarch: Implement xavg/xvagr
  target/loongarch: Implement xvabsd
  target/loongarch: Implement xvadda
  target/loongarch: Implement xvmax/xvmin
  target/loongarch: Implement xvmul/xvmuh/xvmulw{ev/od}
  target/loongarch: Implement xvmadd/xvmsub/xvmaddw{ev/od}
  target/loongarch; Implement xvdiv/xvmod
  target/loongarch: Implement xvsat
  target/loongarch: Implement xvexth
  target/loongarch: Implement vext2xv
  target/loongarch: Implement xvsigncov
  target/loongarch: Implement xvmskltz/xvmskgez/xvmsknz
  target/loognarch: Implement xvldi
  target/loongarch: Implement LASX logic instructions
  target/loongarch: Implement xvsll xvsrl xvsra xvrotr
  target/loongarch: Implement xvsllwil xvextl
  target/loongarch: Implement xvsrlr xvsrar
  target/loongarch: Implement xvsrln xvsran
  target/loongarch: Implement xvsrlrn xvsrarn
  target/loongarch: Implement xvssrln xvssran
  target/loongarch: Implement xvssrlrn xvssrarn
  target/loongarch: Implement xvclo xvclz
  target/loongarch: Implement xvpcnt
  target/loongarch: Implement xvbitclr xvbitset xvbitrev
  target/loongarch: Implement xvfrstp
  target/loongarch: Implement LASX fpu arith instructions
  target/loongarch: Implement LASX fpu fcvt instructions
  target/loongarch: Implement xvseq xvsle xvslt
  target/loongarch: Implement xvfcmp
  target/loongarch: Implement xvbitsel xvset
  target/loongarch: Implement xvinsgr2vr xvpickve2gr
  target/loongarch: Implement xvreplve xvinsve0 xvpickve xvb{sll/srl}v
  target/loongarch: Implement xvpack xvpick xvilv{l/h}
  target/loongarch: Implement xvshuf xvperm{i} xvshuf4i xvextrins
  target/loongarch: Implement xvld xvst
  target/loongarch: CPUCFG support LASX

 linux-user/loongarch64/signal.c              |    1 +
 target/loongarch/cpu.c                       |    4 +
 target/loongarch/cpu.h                       |   16 +
 target/loongarch/disas.c                     |  924 +++++
 target/loongarch/gdbstub.c                   |    1 +
 target/loongarch/helper.h                    |  592 ++++
 target/loongarch/insn_trans/trans_lasx.c.inc | 3203 +++++++++++++++++
 target/loongarch/insns.decode                |  828 +++++
 target/loongarch/internals.h                 |   22 -
 target/loongarch/lasx_helper.c               | 3221 ++++++++++++++++++
 target/loongarch/lsx_helper.c                |  111 +-
 target/loongarch/machine.c                   |   40 +-
 target/loongarch/meson.build                 |    1 +
 target/loongarch/translate.c                 |   18 +
 target/loongarch/vec.h                       |  125 +
 15 files changed, 9006 insertions(+), 101 deletions(-)
 create mode 100644 target/loongarch/insn_trans/trans_lasx.c.inc
 create mode 100644 target/loongarch/lasx_helper.c
 create mode 100644 target/loongarch/vec.h

-- 
2.39.1



^ permalink raw reply	[flat|nested] 54+ messages in thread

end of thread, other threads:[~2023-06-21  9:57 UTC | newest]

Thread overview: 54+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-20  9:37 [PATCH v1 00/46] Add LoongArch LASX instructions Song Gao
2023-06-20  9:37 ` [PATCH v1 01/46] target/loongarch: Add LASX data type XReg Song Gao
2023-06-20 12:09   ` Richard Henderson
2023-06-21  9:19     ` Song Gao
2023-06-20  9:37 ` [PATCH v1 02/46] target/loongarch: meson.build support build LASX Song Gao
2023-06-20  9:37 ` [PATCH v1 03/46] target/loongarch: Add CHECK_ASXE maccro for check LASX enable Song Gao
2023-06-20 12:10   ` Richard Henderson
2023-06-20  9:37 ` [PATCH v1 04/46] target/loongarch: Implement xvadd/xvsub Song Gao
2023-06-20 12:25   ` Richard Henderson
2023-06-21  9:19     ` Song Gao
2023-06-21  9:27       ` Richard Henderson
2023-06-21  9:56         ` Song Gao
2023-06-20  9:37 ` [PATCH v1 05/46] target/loongarch: Implement xvreplgr2vr Song Gao
2023-06-20  9:37 ` [PATCH v1 06/46] target/loongarch: Implement xvaddi/xvsubi Song Gao
2023-06-20  9:37 ` [PATCH v1 07/46] target/loongarch: Implement xvneg Song Gao
2023-06-20  9:37 ` [PATCH v1 08/46] target/loongarch: Implement xvsadd/xvssub Song Gao
2023-06-20  9:37 ` [PATCH v1 09/46] target/loongarch: Implement xvhaddw/xvhsubw Song Gao
2023-06-20  9:37 ` [PATCH v1 10/46] target/loongarch: Implement xvaddw/xvsubw Song Gao
2023-06-20  9:37 ` [PATCH v1 11/46] target/loongarch: Implement xavg/xvagr Song Gao
2023-06-20  9:37 ` [PATCH v1 12/46] target/loongarch: Implement xvabsd Song Gao
2023-06-20  9:37 ` [PATCH v1 13/46] target/loongarch: Implement xvadda Song Gao
2023-06-20  9:37 ` [PATCH v1 14/46] target/loongarch: Implement xvmax/xvmin Song Gao
2023-06-20  9:37 ` [PATCH v1 15/46] target/loongarch: Implement xvmul/xvmuh/xvmulw{ev/od} Song Gao
2023-06-20  9:37 ` [PATCH v1 16/46] target/loongarch: Implement xvmadd/xvmsub/xvmaddw{ev/od} Song Gao
2023-06-20  9:37 ` [PATCH v1 17/46] target/loongarch; Implement xvdiv/xvmod Song Gao
2023-06-20  9:37 ` [PATCH v1 18/46] target/loongarch: Implement xvsat Song Gao
2023-06-20  9:37 ` [PATCH v1 19/46] target/loongarch: Implement xvexth Song Gao
2023-06-20  9:37 ` [PATCH v1 20/46] target/loongarch: Implement vext2xv Song Gao
2023-06-20  9:37 ` [PATCH v1 21/46] target/loongarch: Implement xvsigncov Song Gao
2023-06-20  9:37 ` [PATCH v1 22/46] target/loongarch: Implement xvmskltz/xvmskgez/xvmsknz Song Gao
2023-06-20  9:37 ` [PATCH v1 23/46] target/loognarch: Implement xvldi Song Gao
2023-06-20  9:37 ` [PATCH v1 24/46] target/loongarch: Implement LASX logic instructions Song Gao
2023-06-20  9:37 ` [PATCH v1 25/46] target/loongarch: Implement xvsll xvsrl xvsra xvrotr Song Gao
2023-06-20  9:37 ` [PATCH v1 26/46] target/loongarch: Implement xvsllwil xvextl Song Gao
2023-06-20  9:37 ` [PATCH v1 27/46] target/loongarch: Implement xvsrlr xvsrar Song Gao
2023-06-20  9:37 ` [PATCH v1 28/46] target/loongarch: Implement xvsrln xvsran Song Gao
2023-06-20  9:37 ` [PATCH v1 29/46] target/loongarch: Implement xvsrlrn xvsrarn Song Gao
2023-06-20  9:37 ` [PATCH v1 30/46] target/loongarch: Implement xvssrln xvssran Song Gao
2023-06-20  9:37 ` [PATCH v1 31/46] target/loongarch: Implement xvssrlrn xvssrarn Song Gao
2023-06-20  9:38 ` [PATCH v1 32/46] target/loongarch: Implement xvclo xvclz Song Gao
2023-06-20  9:38 ` [PATCH v1 33/46] target/loongarch: Implement xvpcnt Song Gao
2023-06-20  9:38 ` [PATCH v1 34/46] target/loongarch: Implement xvbitclr xvbitset xvbitrev Song Gao
2023-06-20  9:38 ` [PATCH v1 35/46] target/loongarch: Implement xvfrstp Song Gao
2023-06-20  9:38 ` [PATCH v1 36/46] target/loongarch: Implement LASX fpu arith instructions Song Gao
2023-06-20  9:38 ` [PATCH v1 37/46] target/loongarch: Implement LASX fpu fcvt instructions Song Gao
2023-06-20  9:38 ` [PATCH v1 38/46] target/loongarch: Implement xvseq xvsle xvslt Song Gao
2023-06-20  9:38 ` [PATCH v1 39/46] target/loongarch: Implement xvfcmp Song Gao
2023-06-20  9:38 ` [PATCH v1 40/46] target/loongarch: Implement xvbitsel xvset Song Gao
2023-06-20  9:38 ` [PATCH v1 41/46] target/loongarch: Implement xvinsgr2vr xvpickve2gr Song Gao
2023-06-20  9:38 ` [PATCH v1 42/46] target/loongarch: Implement xvreplve xvinsve0 xvpickve xvb{sll/srl}v Song Gao
2023-06-20  9:38 ` [PATCH v1 43/46] target/loongarch: Implement xvpack xvpick xvilv{l/h} Song Gao
2023-06-20  9:38 ` [PATCH v1 44/46] target/loongarch: Implement xvshuf xvperm{i} xvshuf4i xvextrins Song Gao
2023-06-20  9:38 ` [PATCH v1 45/46] target/loongarch: Implement xvld xvst Song Gao
2023-06-20  9:38 ` [PATCH v1 46/46] target/loongarch: CPUCFG support LASX Song Gao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).