qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 16f539: target/loongarch: Add LSX data type V


From: Richard Henderson
Subject: [Qemu-commits] [qemu/qemu] 16f539: target/loongarch: Add LSX data type VReg
Date: Sat, 06 May 2023 00:18:35 -0700

  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: 16f5396cec23960d5507e738d978bfc3d48628a3
      
https://github.com/qemu/qemu/commit/16f5396cec23960d5507e738d978bfc3d48628a3
  Author: Song Gao <gaosong@loongson.cn>
  Date:   2023-05-06 (Sat, 06 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: a0c9400a5b46a9a5ced2c76aebf25a80360ee4f6
      
https://github.com/qemu/qemu/commit/a0c9400a5b46a9a5ced2c76aebf25a80360ee4f6
  Author: Song Gao <gaosong@loongson.cn>
  Date:   2023-05-06 (Sat, 06 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: a3f3db5cda7bf6edf0fc0c94c3aa450eb79a2185
      
https://github.com/qemu/qemu/commit/a3f3db5cda7bf6edf0fc0c94c3aa450eb79a2185
  Author: Song Gao <gaosong@loongson.cn>
  Date:   2023-05-06 (Sat, 06 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: 57b4f1ac18871f2f3323bf6fc88e9ae2a1a5d4ec
      
https://github.com/qemu/qemu/commit/57b4f1ac18871f2f3323bf6fc88e9ae2a1a5d4ec
  Author: Song Gao <gaosong@loongson.cn>
  Date:   2023-05-06 (Sat, 06 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: d8be64c1c501f4e504d00a79ed472d66acd6ce81
      
https://github.com/qemu/qemu/commit/d8be64c1c501f4e504d00a79ed472d66acd6ce81
  Author: Song Gao <gaosong@loongson.cn>
  Date:   2023-05-06 (Sat, 06 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: be9ec55758b6e12a4e0bd3bbc03dbc9c95edab6b
      
https://github.com/qemu/qemu/commit/be9ec55758b6e12a4e0bd3bbc03dbc9c95edab6b
  Author: Song Gao <gaosong@loongson.cn>
  Date:   2023-05-06 (Sat, 06 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: a94cb91107160170ea3dfe09421e7e198dd2bcbe
      
https://github.com/qemu/qemu/commit/a94cb91107160170ea3dfe09421e7e198dd2bcbe
  Author: Song Gao <gaosong@loongson.cn>
  Date:   2023-05-06 (Sat, 06 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: c037fbc97d166195313f778e5a32cd82efbd4c59
      
https://github.com/qemu/qemu/commit/c037fbc97d166195313f778e5a32cd82efbd4c59
  Author: Song Gao <gaosong@loongson.cn>
  Date:   2023-05-06 (Sat, 06 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: 2d5f950c054b7d19bcf88438f9d9ef2b5d6708b3
      
https://github.com/qemu/qemu/commit/2d5f950c054b7d19bcf88438f9d9ef2b5d6708b3
  Author: Song Gao <gaosong@loongson.cn>
  Date:   2023-05-06 (Sat, 06 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: 39e9b0a741e7d0e5de791c679443466482a96903
      
https://github.com/qemu/qemu/commit/39e9b0a741e7d0e5de791c679443466482a96903
  Author: Song Gao <gaosong@loongson.cn>
  Date:   2023-05-06 (Sat, 06 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: 4972565967ee24574987b8e9817f2e433470c695
      
https://github.com/qemu/qemu/commit/4972565967ee24574987b8e9817f2e433470c695
  Author: Song Gao <gaosong@loongson.cn>
  Date:   2023-05-06 (Sat, 06 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: af448cb31a0dae28e8aa7da0a1fceb544f19e43c
      
https://github.com/qemu/qemu/commit/af448cb31a0dae28e8aa7da0a1fceb544f19e43c
  Author: Song Gao <gaosong@loongson.cn>
  Date:   2023-05-06 (Sat, 06 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: 9ab29520f7fe1fdd190fa89a5fd6b11d7dd942bf
      
https://github.com/qemu/qemu/commit/9ab29520f7fe1fdd190fa89a5fd6b11d7dd942bf
  Author: Song Gao <gaosong@loongson.cn>
  Date:   2023-05-06 (Sat, 06 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: cd1c49ada087aaceeacea6bf69f14451ff791a8b
      
https://github.com/qemu/qemu/commit/cd1c49ada087aaceeacea6bf69f14451ff791a8b
  Author: Song Gao <gaosong@loongson.cn>
  Date:   2023-05-06 (Sat, 06 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: d3aec65bc14594331c062d98f38448186b0ae693
      
https://github.com/qemu/qemu/commit/d3aec65bc14594331c062d98f38448186b0ae693
  Author: Song Gao <gaosong@loongson.cn>
  Date:   2023-05-06 (Sat, 06 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: 4cc4c0f78b5798836714dffd75486e71237132fa
      
https://github.com/qemu/qemu/commit/4cc4c0f78b5798836714dffd75486e71237132fa
  Author: Song Gao <gaosong@loongson.cn>
  Date:   2023-05-06 (Sat, 06 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: cbe44190cce12d62d5867d31a7348fee684c9ed1
      
https://github.com/qemu/qemu/commit/cbe44190cce12d62d5867d31a7348fee684c9ed1
  Author: Song Gao <gaosong@loongson.cn>
  Date:   2023-05-06 (Sat, 06 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: 3734ad9370db62c178faea9a714b69268b39d3d0
      
https://github.com/qemu/qemu/commit/3734ad9370db62c178faea9a714b69268b39d3d0
  Author: Song Gao <gaosong@loongson.cn>
  Date:   2023-05-06 (Sat, 06 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: f0e395dfb079ffe9e119fe2a7554916907d799e0
      
https://github.com/qemu/qemu/commit/f0e395dfb079ffe9e119fe2a7554916907d799e0
  Author: Song Gao <gaosong@loongson.cn>
  Date:   2023-05-06 (Sat, 06 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: 789f4a4c86cc6043d099c3d65acb048be1b645d2
      
https://github.com/qemu/qemu/commit/789f4a4c86cc6043d099c3d65acb048be1b645d2
  Author: Song Gao <gaosong@loongson.cn>
  Date:   2023-05-06 (Sat, 06 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: f205a539f6b911f96f1010361f23a77d9c9f94ca
      
https://github.com/qemu/qemu/commit/f205a539f6b911f96f1010361f23a77d9c9f94ca
  Author: Song Gao <gaosong@loongson.cn>
  Date:   2023-05-06 (Sat, 06 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: b281d6961d5f31d1bbcfc2cd50d2a7237ee9d062
      
https://github.com/qemu/qemu/commit/b281d6961d5f31d1bbcfc2cd50d2a7237ee9d062
  Author: Song Gao <gaosong@loongson.cn>
  Date:   2023-05-06 (Sat, 06 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: 9b21a7a5102b59573d1173e0e10bb0a0bdfa4923
      
https://github.com/qemu/qemu/commit/9b21a7a5102b59573d1173e0e10bb0a0bdfa4923
  Author: Song Gao <gaosong@loongson.cn>
  Date:   2023-05-06 (Sat, 06 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: ecb93716750d748517d699e0c9d1ecd733b7ae7c
      
https://github.com/qemu/qemu/commit/ecb93716750d748517d699e0c9d1ecd733b7ae7c
  Author: Song Gao <gaosong@loongson.cn>
  Date:   2023-05-06 (Sat, 06 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: d79fb8ddcda09ab8e5b7ebdaf992b9b3169079b2
      
https://github.com/qemu/qemu/commit/d79fb8ddcda09ab8e5b7ebdaf992b9b3169079b2
  Author: Song Gao <gaosong@loongson.cn>
  Date:   2023-05-06 (Sat, 06 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: a5200a17c917817bd531218dc74f13c2007a0029
      
https://github.com/qemu/qemu/commit/a5200a17c917817bd531218dc74f13c2007a0029
  Author: Song Gao <gaosong@loongson.cn>
  Date:   2023-05-06 (Sat, 06 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: 83b3815dbc96f9af126d6ed4fb718104e6bc3e69
      
https://github.com/qemu/qemu/commit/83b3815dbc96f9af126d6ed4fb718104e6bc3e69
  Author: Song Gao <gaosong@loongson.cn>
  Date:   2023-05-06 (Sat, 06 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: 162cd32cfef93fba17ee1cbab688f9a6c6004d8e
      
https://github.com/qemu/qemu/commit/162cd32cfef93fba17ee1cbab688f9a6c6004d8e
  Author: Song Gao <gaosong@loongson.cn>
  Date:   2023-05-06 (Sat, 06 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: 2e105e12a5003232ec334f96ab97d0562612adfd
      
https://github.com/qemu/qemu/commit/2e105e12a5003232ec334f96ab97d0562612adfd
  Author: Song Gao <gaosong@loongson.cn>
  Date:   2023-05-06 (Sat, 06 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: bb22ee576329076668577c2c9d9ab57923a3291e
      
https://github.com/qemu/qemu/commit/bb22ee576329076668577c2c9d9ab57923a3291e
  Author: Song Gao <gaosong@loongson.cn>
  Date:   2023-05-06 (Sat, 06 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: 0b1e67051d5853eaca5336c50115b8f6c9289e96
      
https://github.com/qemu/qemu/commit/0b1e67051d5853eaca5336c50115b8f6c9289e96
  Author: Song Gao <gaosong@loongson.cn>
  Date:   2023-05-06 (Sat, 06 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: ac95a0b975583de1ea70e03b70b8c866c109324c
      
https://github.com/qemu/qemu/commit/ac95a0b975583de1ea70e03b70b8c866c109324c
  Author: Song Gao <gaosong@loongson.cn>
  Date:   2023-05-06 (Sat, 06 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: aca67472d2bc236a4b4b85780925cd064a9dc16f
      
https://github.com/qemu/qemu/commit/aca67472d2bc236a4b4b85780925cd064a9dc16f
  Author: Song Gao <gaosong@loongson.cn>
  Date:   2023-05-06 (Sat, 06 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: 399665d2af66cf1b448f19c1712d40455d558b54
      
https://github.com/qemu/qemu/commit/399665d2af66cf1b448f19c1712d40455d558b54
  Author: Song Gao <gaosong@loongson.cn>
  Date:   2023-05-06 (Sat, 06 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: f435e1e5af02f72737a397b2f408fc20dfc8b0a0
      
https://github.com/qemu/qemu/commit/f435e1e5af02f72737a397b2f408fc20dfc8b0a0
  Author: Song Gao <gaosong@loongson.cn>
  Date:   2023-05-06 (Sat, 06 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: 386c4e86d016eabb4be3d70af38a140892bbd8c7
      
https://github.com/qemu/qemu/commit/386c4e86d016eabb4be3d70af38a140892bbd8c7
  Author: Song Gao <gaosong@loongson.cn>
  Date:   2023-05-06 (Sat, 06 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: d0dfa19a7b67e328d4d0a9f4460c79f3e31402da
      
https://github.com/qemu/qemu/commit/d0dfa19a7b67e328d4d0a9f4460c79f3e31402da
  Author: Song Gao <gaosong@loongson.cn>
  Date:   2023-05-06 (Sat, 06 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: cdbdefbf5afaeed541d4cbe0a54375c16edda6c5
      
https://github.com/qemu/qemu/commit/cdbdefbf5afaeed541d4cbe0a54375c16edda6c5
  Author: Song Gao <gaosong@loongson.cn>
  Date:   2023-05-06 (Sat, 06 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: d5e5563cb376061e8d2ded74c0212f3f307eb2f9
      
https://github.com/qemu/qemu/commit/d5e5563cb376061e8d2ded74c0212f3f307eb2f9
  Author: Song Gao <gaosong@loongson.cn>
  Date:   2023-05-06 (Sat, 06 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: e93dd43147351290ec1eac83e04cfc0a7f641d63
      
https://github.com/qemu/qemu/commit/e93dd43147351290ec1eac83e04cfc0a7f641d63
  Author: Song Gao <gaosong@loongson.cn>
  Date:   2023-05-06 (Sat, 06 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: 843b627a395a8f6cda8a717c5c8b081358b9d711
      
https://github.com/qemu/qemu/commit/843b627a395a8f6cda8a717c5c8b081358b9d711
  Author: Song Gao <gaosong@loongson.cn>
  Date:   2023-05-06 (Sat, 06 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: 29bb5d727ff8434218ad03a16a4be24a5eee59bd
      
https://github.com/qemu/qemu/commit/29bb5d727ff8434218ad03a16a4be24a5eee59bd
  Author: Song Gao <gaosong@loongson.cn>
  Date:   2023-05-06 (Sat, 06 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: 4854bbbe015ccb07959103b1fd816581f00f4397
      
https://github.com/qemu/qemu/commit/4854bbbe015ccb07959103b1fd816581f00f4397
  Author: Song Gao <gaosong@loongson.cn>
  Date:   2023-05-06 (Sat, 06 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: c6c2fec4b95c1f574a8b1d045986ac88abbbc850
      
https://github.com/qemu/qemu/commit/c6c2fec4b95c1f574a8b1d045986ac88abbbc850
  Author: Song Gao <gaosong@loongson.cn>
  Date:   2023-05-06 (Sat, 06 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: 725d7e763a802321e1bb303348afc551d564d31e
      
https://github.com/qemu/qemu/commit/725d7e763a802321e1bb303348afc551d564d31e
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2023-05-06 (Sat, 06 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: 792f77f376adef944f9a03e601f6ad90c2f891b2
      
https://github.com/qemu/qemu/commit/792f77f376adef944f9a03e601f6ad90c2f891b2
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-05-06 (Sat, 06 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-20230506' of https://gitlab.com/gaosong/qemu into 
staging

Add LoongArch LSX instructions.

# -----BEGIN PGP SIGNATURE-----
#
# iLMEAAEIAB0WIQS4/x2g0v3LLaCcbCxAov/yOSY+3wUCZFXxGwAKCRBAov/yOSY+
# 39EoA/0Uy2DPz6g7J5+9tcIRk9jLrp36aYQJ9J8zRJd226YFvHSfiBWSIteMFOEX
# Z0Jx1bL6N97KK/HA74Nx++x0kVuplEGp1s5cO/odL3gYy8RaJm23p9iaDa0D/UaB
# ygLvXtuzN4unDFP5EF/wa9zRkDb7qX2iBBvc8OIal7eT4dDX+g==
# =gyVU
# -----END PGP SIGNATURE-----
# gpg: Signature made Sat 06 May 2023 07:18:03 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-20230506' 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/47d3878422ed...792f77f376ad



reply via email to

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