[PULL 00/57] loongarch-to-apply queue

Song Gao posted 57 patches 7 months, 1 week ago
Failed in applying to current master (apply log)
Maintainers: Laurent Vivier <laurent@vivier.eu>, Song Gao <gaosong@loongson.cn>, Xiaojuan Yang <yangxiaojuan@loongson.cn>
There is a newer version of this series
target/loongarch/cpu.h                             |   26 +-
target/loongarch/helper.h                          |  689 ++--
target/loongarch/internals.h                       |   22 -
target/loongarch/translate.h                       |    1 +
target/loongarch/vec.h                             |   75 +
target/loongarch/insns.decode                      |  782 +++++
linux-user/loongarch64/signal.c                    |    1 +
target/loongarch/cpu.c                             |    4 +
target/loongarch/disas.c                           |  924 ++++++
target/loongarch/gdbstub.c                         |    1 +
target/loongarch/lsx_helper.c                      | 3004 -----------------
target/loongarch/machine.c                         |   36 +-
target/loongarch/translate.c                       |   19 +-
target/loongarch/vec_helper.c                      | 3494 ++++++++++++++++++++
.../{trans_lsx.c.inc => trans_vec.c.inc}           | 2393 ++++++++++----
target/loongarch/meson.build                       |    2 +-
16 files changed, 7386 insertions(+), 4087 deletions(-)
create mode 100644 target/loongarch/vec.h
delete mode 100644 target/loongarch/lsx_helper.c
create mode 100644 target/loongarch/vec_helper.c
rename target/loongarch/insn_trans/{trans_lsx.c.inc => trans_vec.c.inc} (61%)
[PULL 00/57] loongarch-to-apply queue
Posted by Song Gao 7 months, 1 week ago
The following changes since commit 4907644841e3200aea6475c0f72d3d987e9f3d93:

  Merge tag 'mem-2023-09-19' of https://github.com/davidhildenbrand/qemu into staging (2023-09-19 13:22:19 -0400)

are available in the Git repository at:

  https://gitlab.com/gaosong/qemu.git tags/pull-loongarch-20230920

for you to fetch changes up to 2cd81e37512648a03d7dd37c39fa7fd50e2e4478:

  target/loongarch: CPUCFG support LASX (2023-09-20 14:33:43 +0800)

----------------------------------------------------------------
Add LASX instructions support.

----------------------------------------------------------------
Song Gao (57):
      target/loongarch: Renamed lsx*.c to vec* .c
      target/loongarch: Implement gvec_*_vl functions
      target/loongarch: Use gen_helper_gvec_4_ptr for 4OP + env vector instructions
      target/loongarch: Use gen_helper_gvec_4 for 4OP vector instructions
      target/loongarch: Use gen_helper_gvec_3_ptr for 3OP + env vector instructions
      target/loongarch: Use gen_helper_gvec_3 for 3OP vector instructions
      target/loongarch: Use gen_helper_gvec_2_ptr for 2OP + env vector instructions
      target/loongarch: Use gen_helper_gvec_2 for 2OP vector instructions
      target/loongarch: Use gen_helper_gvec_2i for 2OP + imm vector instructions
      target/loongarch: Replace CHECK_SXE to check_vec(ctx, 16)
      target/loongarch: Add LASX data support
      target/loongarch: check_vec support check LASX instructions
      target/loongarch: Add avail_LASX to check LASX instructions
      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/loongarch: 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
      target/loongarch: Implement xvpack xvpick xvilv{l/h}
      target/loongarch: Implement xvshuf xvperm{i} xvshuf4i
      target/loongarch: Implement xvld xvst
      target/loongarch: Move simply DO_XX marcos togther
      target/loongarch: CPUCFG support LASX

 target/loongarch/cpu.h                             |   26 +-
 target/loongarch/helper.h                          |  689 ++--
 target/loongarch/internals.h                       |   22 -
 target/loongarch/translate.h                       |    1 +
 target/loongarch/vec.h                             |   75 +
 target/loongarch/insns.decode                      |  782 +++++
 linux-user/loongarch64/signal.c                    |    1 +
 target/loongarch/cpu.c                             |    4 +
 target/loongarch/disas.c                           |  924 ++++++
 target/loongarch/gdbstub.c                         |    1 +
 target/loongarch/lsx_helper.c                      | 3004 -----------------
 target/loongarch/machine.c                         |   36 +-
 target/loongarch/translate.c                       |   19 +-
 target/loongarch/vec_helper.c                      | 3494 ++++++++++++++++++++
 .../{trans_lsx.c.inc => trans_vec.c.inc}           | 2393 ++++++++++----
 target/loongarch/meson.build                       |    2 +-
 16 files changed, 7386 insertions(+), 4087 deletions(-)
 create mode 100644 target/loongarch/vec.h
 delete mode 100644 target/loongarch/lsx_helper.c
 create mode 100644 target/loongarch/vec_helper.c
 rename target/loongarch/insn_trans/{trans_lsx.c.inc => trans_vec.c.inc} (61%)
Re: [PULL 00/57] loongarch-to-apply queue
Posted by Stefan Hajnoczi 7 months, 1 week ago
Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/8.2 for any user-visible changes.