[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] eb63ef: target/ppc: introduce do_ea_calc
From: |
Richard Henderson |
Subject: |
[Qemu-commits] [qemu/qemu] eb63ef: target/ppc: introduce do_ea_calc |
Date: |
Tue, 09 Nov 2021 00:40:33 -0800 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: eb63efd9f63fabc2ce7ee070f1d8e75585d26543
https://github.com/qemu/qemu/commit/eb63efd9f63fabc2ce7ee070f1d8e75585d26543
Author: Fernando Eckhardt Valle <phervalle@gmail.com>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M target/ppc/translate.c
M target/ppc/translate/fixedpoint-impl.c.inc
Log Message:
-----------
target/ppc: introduce do_ea_calc
The do_ea_calc function will calculate the effective address(EA)
according to PowerIsa 3.1. With that, it was replaced part of
do_ldst() that calculates the EA by this new function.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Fernando Eckhardt Valle (pherde) <phervalle@gmail.com>
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Message-Id: <20211029202424.175401-2-matheus.ferst@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: 725b2d4dac67c96c044ed53df2c5e7128e9aa013
https://github.com/qemu/qemu/commit/725b2d4dac67c96c044ed53df2c5e7128e9aa013
Author: Fernando Eckhardt Valle <phervalle@gmail.com>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M target/ppc/translate.c
M target/ppc/translate/fixedpoint-impl.c.inc
Log Message:
-----------
target/ppc: move resolve_PLS_D to translate.c
Move resolve_PLS_D from fixedpoint-impl.c.inc to translate.c
because this way the function can be used not only by fixed
point instructions.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Fernando Eckhardt Valle <phervalle@gmail.com>
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Message-Id: <20211029202424.175401-3-matheus.ferst@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: fbd2e60ef1bdd626c1430a6c1c653e63fed56040
https://github.com/qemu/qemu/commit/fbd2e60ef1bdd626c1430a6c1c653e63fed56040
Author: Fernando Eckhardt Valle <phervalle@gmail.com>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M target/ppc/insn32.decode
M target/ppc/translate/fp-impl.c.inc
M target/ppc/translate/fp-ops.c.inc
Log Message:
-----------
target/ppc: Move load and store floating point instructions to decodetree
Move load floating point instructions (lfs, lfsu, lfsx, lfsux, lfd, lfdu, lfdx,
lfdux)
and store floating point instructions(stfs, stfsu, stfsx, stfsux, stfd, stfdu,
stfdx,
stfdux) from legacy system to decodetree.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Fernando Eckhardt Valle <fernando.valle@eldorado.org.br>
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Message-Id: <20211029202424.175401-4-matheus.ferst@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: dcb4e5b72cffbbb09b149ce34898e58c3f581c62
https://github.com/qemu/qemu/commit/dcb4e5b72cffbbb09b149ce34898e58c3f581c62
Author: Fernando Eckhardt Valle <phervalle@gmail.com>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M target/ppc/insn64.decode
M target/ppc/translate/fp-impl.c.inc
Log Message:
-----------
target/ppc: Implement PLFS, PLFD, PSTFS and PSTFD instructions
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Fernando Eckhardt Valle <fernando.valle@eldorado.org.br>
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Message-Id: <20211029202424.175401-5-matheus.ferst@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: e10271e1044d5d744e4e200fd8414deaf16b0e18
https://github.com/qemu/qemu/commit/e10271e1044d5d744e4e200fd8414deaf16b0e18
Author: Matheus Ferst <matheus.ferst@eldorado.org.br>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M target/ppc/insn32.decode
M target/ppc/translate.c
M target/ppc/translate/fixedpoint-impl.c.inc
Log Message:
-----------
target/ppc: Move LQ and STQ to decodetree
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Message-Id: <20211029202424.175401-6-matheus.ferst@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: 49de064889b9af091767b78d575d361cba6c8f82
https://github.com/qemu/qemu/commit/49de064889b9af091767b78d575d361cba6c8f82
Author: Matheus Ferst <matheus.ferst@eldorado.org.br>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M target/ppc/insn64.decode
M target/ppc/translate/fixedpoint-impl.c.inc
Log Message:
-----------
target/ppc: Implement PLQ and PSTQ
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Message-Id: <20211029202424.175401-7-matheus.ferst@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: 82be6e02b480b2c7427b0ab91f2c297717d3cfa6
https://github.com/qemu/qemu/commit/82be6e02b480b2c7427b0ab91f2c297717d3cfa6
Author: Luis Pires <luis.pires@eldorado.org.br>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M target/ppc/insn32.decode
M target/ppc/translate/fixedpoint-impl.c.inc
Log Message:
-----------
target/ppc: Implement cntlzdm
Implement the following PowerISA v3.1 instruction:
cntlzdm: Count Leading Zeros Doubleword Under Bit Mask
Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Luis Pires <luis.pires@eldorado.org.br>
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Message-Id: <20211029202424.175401-8-matheus.ferst@eldorado.org.br>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: f356b3ba4745d892156931ba7c82067c4a9c18ab
https://github.com/qemu/qemu/commit/f356b3ba4745d892156931ba7c82067c4a9c18ab
Author: Luis Pires <luis.pires@eldorado.org.br>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M target/ppc/insn32.decode
M target/ppc/translate/fixedpoint-impl.c.inc
Log Message:
-----------
target/ppc: Implement cnttzdm
Implement the following PowerISA v3.1 instruction:
cnttzdm: Count Trailing Zeros Doubleword Under Bit Mask
Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Luis Pires <luis.pires@eldorado.org.br>
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Message-Id: <20211029202424.175401-9-matheus.ferst@eldorado.org.br>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: 21ba6e58733b650b6af3505c4a7a44e14ff9492e
https://github.com/qemu/qemu/commit/21ba6e58733b650b6af3505c4a7a44e14ff9492e
Author: Matheus Ferst <matheus.ferst@eldorado.org.br>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M target/ppc/helper.h
M target/ppc/insn32.decode
M target/ppc/int_helper.c
M target/ppc/translate/fixedpoint-impl.c.inc
Log Message:
-----------
target/ppc: Implement pdepd instruction
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Message-Id: <20211029202424.175401-10-matheus.ferst@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: 8bdb760606dadf6b7454aac84f214bb0f2c80654
https://github.com/qemu/qemu/commit/8bdb760606dadf6b7454aac84f214bb0f2c80654
Author: Matheus Ferst <matheus.ferst@eldorado.org.br>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M target/ppc/helper.h
M target/ppc/insn32.decode
M target/ppc/int_helper.c
M target/ppc/translate/fixedpoint-impl.c.inc
Log Message:
-----------
target/ppc: Implement pextd instruction
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Message-Id: <20211029202424.175401-11-matheus.ferst@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: 727385c4e13e1a5a985124a20a2370855141111d
https://github.com/qemu/qemu/commit/727385c4e13e1a5a985124a20a2370855141111d
Author: Luis Pires <luis.pires@eldorado.org.br>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M include/libdecnumber/decNumber.h
M libdecnumber/decNumber.c
Log Message:
-----------
libdecnumber: introduce decNumberFrom[U]Int128
This will be used to implement PowerPC's dcffixqq.
Signed-off-by: Luis Pires <luis.pires@eldorado.org.br>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20211029192417.400707-2-luis.pires@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: e2205a4609750f824362a2110f49e9d60c4315e0
https://github.com/qemu/qemu/commit/e2205a4609750f824362a2110f49e9d60c4315e0
Author: Bruno Larsen <bruno.larsen@eldorado.org.br>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M target/ppc/translate.c
M target/ppc/translate/vector-impl.c.inc
Log Message:
-----------
target/ppc: Move REQUIRE_ALTIVEC/VECTOR to translate.c
Move REQUIRE_ALTIVEC to translate.c and rename it to REQUIRE_VECTOR.
Signed-off-by: Bruno Larsen <bruno.larsen@eldorado.org.br>
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Signed-off-by: Fernando Valle <fernando.valle@eldorado.org.br>
Signed-off-by: Luis Pires <luis.pires@eldorado.org.br>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Message-Id: <20211029192417.400707-3-luis.pires@eldorado.org.br>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: 86057426d037ca023632156777a28d8493eaeb9d
https://github.com/qemu/qemu/commit/86057426d037ca023632156777a28d8493eaeb9d
Author: Fernando Valle <fernando.valle@eldorado.org.br>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M target/ppc/translate.c
Log Message:
-----------
target/ppc: Introduce REQUIRE_FPU
Signed-off-by: Fernando Valle <fernando.valle@eldorado.org.br>
Signed-off-by: Luis Pires <luis.pires@eldorado.org.br>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20211029192417.400707-4-luis.pires@eldorado.org.br>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: d39b2cc7d0b87d95bbecbd142179efdc0b85c4e5
https://github.com/qemu/qemu/commit/d39b2cc7d0b87d95bbecbd142179efdc0b85c4e5
Author: Luis Pires <luis.pires@eldorado.org.br>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M target/ppc/dfp_helper.c
M target/ppc/helper.h
M target/ppc/insn32.decode
M target/ppc/translate.c
M target/ppc/translate/dfp-impl.c.inc
Log Message:
-----------
target/ppc: Implement DCFFIXQQ
Implement the following PowerISA v3.1 instruction:
dcffixqq: DFP Convert From Fixed Quadword Quad
Signed-off-by: Luis Pires <luis.pires@eldorado.org.br>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20211029192417.400707-5-luis.pires@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: e06049f38074b9533c4beef37d634dad3bd97c73
https://github.com/qemu/qemu/commit/e06049f38074b9533c4beef37d634dad3bd97c73
Author: Luis Pires <luis.pires@eldorado.org.br>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M include/qemu/host-utils.h
Log Message:
-----------
host-utils: Introduce mulu128
Signed-off-by: Luis Pires <luis.pires@eldorado.org.br>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20211029192417.400707-6-luis.pires@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: 21d7826fdbf13bc3180f8f23f3f87967604fdf7e
https://github.com/qemu/qemu/commit/21d7826fdbf13bc3180f8f23f3f87967604fdf7e
Author: Luis Pires <luis.pires@eldorado.org.br>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M include/libdecnumber/decNumber.h
M include/libdecnumber/decNumberLocal.h
M libdecnumber/decContext.c
M libdecnumber/decNumber.c
Log Message:
-----------
libdecnumber: Introduce decNumberIntegralToInt128
This will be used to implement PowerPC's dctfixqq.
Signed-off-by: Luis Pires <luis.pires@eldorado.org.br>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20211029192417.400707-7-luis.pires@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: 328747f32f50491e9a6a2ec245b09058c55f9682
https://github.com/qemu/qemu/commit/328747f32f50491e9a6a2ec245b09058c55f9682
Author: Luis Pires <luis.pires@eldorado.org.br>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M target/ppc/dfp_helper.c
M target/ppc/helper.h
M target/ppc/insn32.decode
M target/ppc/translate/dfp-impl.c.inc
Log Message:
-----------
target/ppc: Implement DCTFIXQQ
Implement the following PowerISA v3.1 instruction:
dctfixqq: DFP Convert To Fixed Quadword Quad
Signed-off-by: Luis Pires <luis.pires@eldorado.org.br>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20211029192417.400707-8-luis.pires@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: 17fded9d963c767781485fdbffd6be005f7eea5a
https://github.com/qemu/qemu/commit/17fded9d963c767781485fdbffd6be005f7eea5a
Author: Luis Pires <luis.pires@eldorado.org.br>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M target/ppc/translate/dfp-impl.c.inc
Log Message:
-----------
target/ppc: Do not update nip on DFP instructions
Before moving the existing DFP instructions to decodetree, drop the
nip update that shouldn't be done for these instructions.
Signed-off-by: Luis Pires <luis.pires@eldorado.org.br>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20211029192417.400707-9-luis.pires@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: 87bc8e52b146706ab55b986bf27daba16cb7fbb8
https://github.com/qemu/qemu/commit/87bc8e52b146706ab55b986bf27daba16cb7fbb8
Author: Luis Pires <luis.pires@eldorado.org.br>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M target/ppc/dfp_helper.c
M target/ppc/helper.h
M target/ppc/insn32.decode
M target/ppc/translate/dfp-impl.c.inc
M target/ppc/translate/dfp-ops.c.inc
Log Message:
-----------
target/ppc: Move dtstdc[q]/dtstdg[q] to decodetree
Move the following instructions to decodetree:
dtstdc: DFP Test Data Class
dtstdcq: DFP Test Data Class Quad
dtstdg: DFP Test Data Group
dtstdgq: DFP Test Data Group Quad
Signed-off-by: Luis Pires <luis.pires@eldorado.org.br>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20211029192417.400707-10-luis.pires@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: afdc9310134a0aab6966b895bd560b64f46a21ca
https://github.com/qemu/qemu/commit/afdc9310134a0aab6966b895bd560b64f46a21ca
Author: Luis Pires <luis.pires@eldorado.org.br>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M target/ppc/dfp_helper.c
M target/ppc/helper.h
M target/ppc/insn32.decode
M target/ppc/translate/dfp-impl.c.inc
M target/ppc/translate/dfp-ops.c.inc
Log Message:
-----------
target/ppc: Move d{add,sub,mul,div,iex}[q] to decodetree
Move the following instructions to decodetree:
dadd: DFP Add
daddq: DFP Add Quad
dsub: DFP Subtract
dsubq: DFP Subtract Quad
dmul: DFP Multiply
dmulq: DFP Multiply Quad
ddiv: DFP Divide
ddivq: DFP Divide Quad
diex: DFP Insert Biased Exponent
diexq: DFP Insert Biased Exponent Quad
Signed-off-by: Luis Pires <luis.pires@eldorado.org.br>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20211029192417.400707-11-luis.pires@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: 85c38a460c4034b2f0aab0e4a19ec22180a7433e
https://github.com/qemu/qemu/commit/85c38a460c4034b2f0aab0e4a19ec22180a7433e
Author: Luis Pires <luis.pires@eldorado.org.br>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M target/ppc/dfp_helper.c
M target/ppc/helper.h
M target/ppc/insn32.decode
M target/ppc/translate/dfp-impl.c.inc
M target/ppc/translate/dfp-ops.c.inc
Log Message:
-----------
target/ppc: Move dcmp{u,o}[q],dts{tex,tsf,tsfi}[q] to decodetree
Move the following instructions to decodetree:
dcmpu: DFP Compare Unordered
dcmpuq: DFP Compare Unordered Quad
dcmpo: DFP Compare Ordered
dcmpoq: DFP Compare Ordered Quad
dtstex: DFP Test Exponent
dtstexq: DFP Test Exponent Quad
dtstsf: DFP Test Significance
dtstsfq: DFP Test Significance Quad
dtstsfi: DFP Test Significance Immediate
dtstsfiq: DFP Test Significance Immediate Quad
Signed-off-by: Luis Pires <luis.pires@eldorado.org.br>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20211029192417.400707-12-luis.pires@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: 78464edb8fe7b59b76303dc6666868a30c643d0e
https://github.com/qemu/qemu/commit/78464edb8fe7b59b76303dc6666868a30c643d0e
Author: Luis Pires <luis.pires@eldorado.org.br>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M target/ppc/dfp_helper.c
M target/ppc/helper.h
M target/ppc/insn32.decode
M target/ppc/translate/dfp-impl.c.inc
M target/ppc/translate/dfp-ops.c.inc
Log Message:
-----------
target/ppc: Move dquai[q], drint{x,n}[q] to decodetree
Move the following instructions to decodetree:
dquai: DFP Quantize Immediate
dquaiq: DFP Quantize Immediate Quad
drintx: DFP Round to FP Integer With Inexact
drintxq: DFP Round to FP Integer With Inexact Quad
drintn: DFP Round to FP Integer Without Inexact
drintnq: DFP Round to FP Integer Without Inexact Quad
Signed-off-by: Luis Pires <luis.pires@eldorado.org.br>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20211029192417.400707-13-luis.pires@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: a8f4bce6f8eeb51d4682bf1f14bd9fe04f6b1d78
https://github.com/qemu/qemu/commit/a8f4bce6f8eeb51d4682bf1f14bd9fe04f6b1d78
Author: Luis Pires <luis.pires@eldorado.org.br>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M target/ppc/dfp_helper.c
M target/ppc/helper.h
M target/ppc/insn32.decode
M target/ppc/translate/dfp-impl.c.inc
M target/ppc/translate/dfp-ops.c.inc
Log Message:
-----------
target/ppc: Move dqua[q], drrnd[q] to decodetree
Move the following instructions to decodetree:
dqua: DFP Quantize
dquaq: DFP Quantize Quad
drrnd: DFP Reround
drrndq: DFP Reround Quad
Signed-off-by: Luis Pires <luis.pires@eldorado.org.br>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20211029192417.400707-14-luis.pires@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: c8ef4d1ec0ac395f6e4aac7f6013807db8178547
https://github.com/qemu/qemu/commit/c8ef4d1ec0ac395f6e4aac7f6013807db8178547
Author: Luis Pires <luis.pires@eldorado.org.br>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M target/ppc/dfp_helper.c
M target/ppc/helper.h
M target/ppc/insn32.decode
M target/ppc/translate/dfp-impl.c.inc
M target/ppc/translate/dfp-ops.c.inc
Log Message:
-----------
target/ppc: Move dct{dp,qpq},dr{sp,dpq},dc{f,t}fix[q],dxex[q] to decodetree
Move the following instructions to decodetree:
dctdp: DFP Convert To DFP Long
dctqpq: DFP Convert To DFP Extended
drsp: DFP Round To DFP Short
drdpq: DFP Round To DFP Long
dcffix: DFP Convert From Fixed
dcffixq: DFP Convert From Fixed Quad
dctfix: DFP Convert To Fixed
dctfixq: DFP Convert To Fixed Quad
dxex: DFP Extract Biased Exponent
dxexq: DFP Extract Biased Exponent Quad
Signed-off-by: Luis Pires <luis.pires@eldorado.org.br>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20211029192417.400707-15-luis.pires@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: a23297479cc07812526fb6d9d213392dba555145
https://github.com/qemu/qemu/commit/a23297479cc07812526fb6d9d213392dba555145
Author: Luis Pires <luis.pires@eldorado.org.br>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M target/ppc/dfp_helper.c
M target/ppc/helper.h
M target/ppc/insn32.decode
M target/ppc/translate.c
M target/ppc/translate/dfp-impl.c.inc
R target/ppc/translate/dfp-ops.c.inc
Log Message:
-----------
target/ppc: Move ddedpd[q],denbcd[q],dscli[q],dscri[q] to decodetree
Move the following instructions to decodetree:
ddedpd: DFP Decode DPD To BCD
ddedpdq: DFP Decode DPD To BCD Quad
denbcd: DFP Encode BCD To DPD
denbcdq: DFP Encode BCD To DPD Quad
dscli: DFP Shift Significand Left Immediate
dscliq: DFP Shift Significand Left Immediate Quad
dscri: DFP Shift Significand Right Immediate
dscriq: DFP Shift Significand Right Immediate Quad
Also deleted dfp-ops.c.inc, now that all PPC DFP instructions were
moved to decodetree.
Signed-off-by: Luis Pires <luis.pires@eldorado.org.br>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20211029192417.400707-16-luis.pires@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: 957c52aed5efcf036affb30907514262643f556a
https://github.com/qemu/qemu/commit/957c52aed5efcf036affb30907514262643f556a
Author: Cédric Le Goater <clg@kaod.org>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M hw/ppc/pnv_pnor.c
Log Message:
-----------
ppc/pnv: Fix check on block device before updating drive contents
Test is wrong and the backend can never updated. It could have led to
a QEMU crash but since the firmware deactivates flash access if a valid
layout is not detected, it went unnoticed.
Reported-by: Coverity CID 1465223
Fixes: 35dde5766211 ("ppc/pnv: Add a PNOR model")
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20211102162905.762078-1-clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: 88adcbf2800c92fb55bf6ecfbaed8d1d21445bea
https://github.com/qemu/qemu/commit/88adcbf2800c92fb55bf6ecfbaed8d1d21445bea
Author: BALATON Zoltan <balaton@eik.bme.hu>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M hw/ppc/pegasos2.c
Log Message:
-----------
ppc/pegasos2: Suppress warning when qtest enabled
Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Message-Id: <20211101151023.F0D02748F5A@zero.eik.bme.hu>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: 6e0bbc4048225cca44f6f060ccd4e286f2a06d61
https://github.com/qemu/qemu/commit/6e0bbc4048225cca44f6f060ccd4e286f2a06d61
Author: Matheus Ferst <matheus.ferst@eldorado.org.br>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M target/ppc/helper.h
M target/ppc/int_helper.c
M target/ppc/translate.c
M target/ppc/translate/fixedpoint-impl.c.inc
R target/ppc/translate/vector-impl.c.inc
M target/ppc/translate/vmx-impl.c.inc
Log Message:
-----------
target/ppc: Move vcfuged to vmx-impl.c.inc
There's no reason to keep vector-impl.c.inc separate from
vmx-impl.c.inc. Additionally, let GVec handle the multiple calls to
helper_cfuged for us.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Message-Id: <20211104123719.323713-2-matheus.ferst@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: a2c975e119af289d8611df1d8649685b928cfd71
https://github.com/qemu/qemu/commit/a2c975e119af289d8611df1d8649685b928cfd71
Author: Matheus Ferst <matheus.ferst@eldorado.org.br>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M target/ppc/insn32.decode
M target/ppc/translate/fixedpoint-impl.c.inc
M target/ppc/translate/vmx-impl.c.inc
Log Message:
-----------
target/ppc: Implement vclzdm/vctzdm instructions
The signature of do_cntzdm is changed to allow reuse as GVecGen3i.fni8.
The method is also moved out of #ifdef TARGET_PPC64, as PowerISA doesn't
say vclzdm and vctzdm are 64-bit only.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Luis Pires <luis.pires@eldorado.org.br>
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Message-Id: <20211104123719.323713-3-matheus.ferst@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: 00a16569ebb0123fe1a7d820c61d6d9be28705ac
https://github.com/qemu/qemu/commit/00a16569ebb0123fe1a7d820c61d6d9be28705ac
Author: Matheus Ferst <matheus.ferst@eldorado.org.br>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M target/ppc/helper.h
M target/ppc/insn32.decode
M target/ppc/int_helper.c
M target/ppc/translate/vmx-impl.c.inc
Log Message:
-----------
target/ppc: Implement vpdepd/vpextd instruction
pdepd and pextd helpers are moved out of #ifdef (TARGET_PPC64) to allow
them to be reused as GVecGen3.fni8.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Luis Pires <luis.pires@eldorado.org.br>
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Message-Id: <20211104123719.323713-4-matheus.ferst@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: 2c716b4da5251aa8428bd3a9a4a5cc6a6c2c5c89
https://github.com/qemu/qemu/commit/2c716b4da5251aa8428bd3a9a4a5cc6a6c2c5c89
Author: Matheus Ferst <matheus.ferst@eldorado.org.br>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M target/ppc/insn32.decode
M target/ppc/translate/vmx-impl.c.inc
Log Message:
-----------
target/ppc: Implement vsldbi/vsrdbi instructions
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Message-Id: <20211104123719.323713-5-matheus.ferst@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: 2cc12af399d6f8abb8433ef7f7e75ece177d4d39
https://github.com/qemu/qemu/commit/2cc12af399d6f8abb8433ef7f7e75ece177d4d39
Author: Matheus Ferst <matheus.ferst@eldorado.org.br>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M target/ppc/helper.h
M target/ppc/insn32.decode
M target/ppc/int_helper.c
M target/ppc/translate/vmx-impl.c.inc
Log Message:
-----------
target/ppc: Implement Vector Insert from GPR using GPR index insns
Implements the following PowerISA v3.1 instructions:
vinsblx: Vector Insert Byte from GPR using GPR-specified Left-Index
vinshlx: Vector Insert Halfword from GPR using GPR-specified Left-Index
vinswlx: Vector Insert Word from GPR using GPR-specified Left-Index
vinsdlx: Vector Insert Doubleword from GPR using GPR-specified
Left-Index
vinsbrx: Vector Insert Byte from GPR using GPR-specified Right-Index
vinshrx: Vector Insert Halfword from GPR using GPR-specified
Right-Index
vinswrx: Vector Insert Word from GPR using GPR-specified Right-Index
vinsdrx: Vector Insert Doubleword from GPR using GPR-specified
Right-Index
The helpers and do_vinsx receive i64 to allow code sharing with the
future implementation of Vector Insert from VSR using GPR Index.
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Message-Id: <20211104123719.323713-6-matheus.ferst@eldorado.org.br>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: 23832ae6d53a25e3a56f103fcba55ead17e8e0cf
https://github.com/qemu/qemu/commit/23832ae6d53a25e3a56f103fcba55ead17e8e0cf
Author: Matheus Ferst <matheus.ferst@eldorado.org.br>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M target/ppc/insn32.decode
M target/ppc/translate/vmx-impl.c.inc
Log Message:
-----------
target/ppc: Implement Vector Insert Word from GPR using Immediate insns
Implements the following PowerISA v3.1 instructions:
vinsw: Vector Insert Word from GPR using immediate-specified index
vinsd: Vector Insert Doubleword from GPR using immediate-specified
index
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Message-Id: <20211104123719.323713-7-matheus.ferst@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: 2c9f79584107313e880995ffd2b36f6d28b7bc2e
https://github.com/qemu/qemu/commit/2c9f79584107313e880995ffd2b36f6d28b7bc2e
Author: Matheus Ferst <matheus.ferst@eldorado.org.br>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M target/ppc/insn32.decode
M target/ppc/translate/vmx-impl.c.inc
Log Message:
-----------
target/ppc: Implement Vector Insert from VSR using GPR index insns
Implements the following PowerISA v3.1 instructions:
vinsbvlx: Vector Insert Byte from VSR using GPR-specified Left-Index
vinshvlx: Vector Insert Halfword from VSR using GPR-specified
Left-Index
vinswvlx: Vector Insert Word from VSR using GPR-specified Left-Index
vinsbvrx: Vector Insert Byte from VSR using GPR-specified Right-Index
vinshvrx: Vector Insert Halfword from VSR using GPR-specified
Right-Index
vinswvrx: Vector Insert Word from VSR using GPR-specified Right-Index
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Message-Id: <20211104123719.323713-8-matheus.ferst@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: b422c2cb52c7c94d34dfc78d439aa2e653af9337
https://github.com/qemu/qemu/commit/b422c2cb52c7c94d34dfc78d439aa2e653af9337
Author: Matheus Ferst <matheus.ferst@eldorado.org.br>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M target/ppc/helper.h
M target/ppc/insn32.decode
M target/ppc/int_helper.c
M target/ppc/translate/vmx-impl.c.inc
M target/ppc/translate/vmx-ops.c.inc
Log Message:
-----------
target/ppc: Move vinsertb/vinserth/vinsertw/vinsertd to decodetree
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Message-Id: <20211104123719.323713-9-matheus.ferst@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: 28110b72a804e0cd8d5b4a14408ac7c38baa3f2c
https://github.com/qemu/qemu/commit/28110b72a804e0cd8d5b4a14408ac7c38baa3f2c
Author: Matheus Ferst <matheus.ferst@eldorado.org.br>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M target/ppc/helper.h
M target/ppc/insn32.decode
M target/ppc/int_helper.c
M target/ppc/translate/vmx-impl.c.inc
Log Message:
-----------
target/ppc: Implement Vector Extract Double to VSR using GPR index insns
Implement the following PowerISA v3.1 instructions:
vextdubvlx: Vector Extract Double Unsigned Byte to VSR using
GPR-specified Left-Index
vextduhvlx: Vector Extract Double Unsigned Halfword to VSR using
GPR-specified Left-Index
vextduwvlx: Vector Extract Double Unsigned Word to VSR using
GPR-specified Left-Index
vextddvlx: Vector Extract Double Doubleword to VSR using
GPR-specified Left-Index
vextdubvrx: Vector Extract Double Unsigned Byte to VSR using
GPR-specified Right-Index
vextduhvrx: Vector Extract Double Unsigned Halfword to VSR using
GPR-specified Right-Index
vextduwvrx: Vector Extract Double Unsigned Word to VSR using
GPR-specified Right-Index
vextddvrx: Vector Extract Double Doubleword to VSR using
GPR-specified Right-Index
Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Luis Pires <luis.pires@eldorado.org.br>
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Message-Id: <20211104123719.323713-10-matheus.ferst@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: 8226cb2d9c4c309664ed3f224c29aae536475443
https://github.com/qemu/qemu/commit/8226cb2d9c4c309664ed3f224c29aae536475443
Author: Bruno Larsen (billionai) <bruno.larsen@eldorado.org.br>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M target/ppc/translate.c
Log Message:
-----------
target/ppc: Introduce REQUIRE_VSX macro
Introduce the macro to centralize checking if the VSX facility is
enabled and handle it correctly.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Bruno Larsen (billionai) <bruno.larsen@eldorado.org.br>
Signed-off-by: Luis Pires <luis.pires@eldorado.org.br>
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Message-Id: <20211104123719.323713-11-matheus.ferst@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: c2aecae10826c356b043b93b8458825c856c8ba8
https://github.com/qemu/qemu/commit/c2aecae10826c356b043b93b8458825c856c8ba8
Author: Matheus Ferst <matheus.ferst@eldorado.org.br>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M target/ppc/translate/vsx-impl.c.inc
Log Message:
-----------
target/ppc: receive high/low as argument in get/set_cpu_vsr
Changes get_cpu_vsr to receive a new argument indicating whether the
high or low part of the register is being accessed. This change improves
consistency between the interfaces used to access Vector and VSX
registers and helps to handle endianness in some cases.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Message-Id: <20211104123719.323713-12-matheus.ferst@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: 72b70d5c3cdca7eaa7be448a1dc91af52167b9ab
https://github.com/qemu/qemu/commit/72b70d5c3cdca7eaa7be448a1dc91af52167b9ab
Author: Lucas Mateus Castro (alqotel) <lucas.castro@eldorado.org.br>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M target/ppc/insn32.decode
M target/ppc/translate.c
M target/ppc/translate/vsx-impl.c.inc
Log Message:
-----------
target/ppc: moved stxv and lxv from legacy to decodtree
Moved stxv and lxv implementation from the legacy system to
decodetree.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Luis Pires <luis.pires@eldorado.org.br>
Signed-off-by: Lucas Mateus Castro (alqotel) <lucas.castro@eldorado.org.br>
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Message-Id: <20211104123719.323713-13-matheus.ferst@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: 70426b5bb738c3d8b70d6f7484c2a9b91739ac54
https://github.com/qemu/qemu/commit/70426b5bb738c3d8b70d6f7484c2a9b91739ac54
Author: Lucas Mateus Castro (alqotel) <lucas.castro@eldorado.org.br>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M target/ppc/insn32.decode
M target/ppc/translate/vsx-impl.c.inc
M target/ppc/translate/vsx-ops.c.inc
Log Message:
-----------
target/ppc: moved stxvx and lxvx from legacy to decodtree
Moved stxvx and lxvx implementation from the legacy system to
decodetree.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Lucas Mateus Castro (alqotel) <lucas.castro@eldorado.org.br>
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Message-Id: <20211104123719.323713-14-matheus.ferst@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: 96fa2632472c5cde4d64c579647a0fbf0e6617da
https://github.com/qemu/qemu/commit/96fa2632472c5cde4d64c579647a0fbf0e6617da
Author: Lucas Mateus Castro (alqotel) <lucas.castro@eldorado.org.br>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M target/ppc/insn32.decode
M target/ppc/translate/vsx-impl.c.inc
Log Message:
-----------
target/ppc: added the instructions LXVP and STXVP
Implemented the instructions lxvp and stxvp using decodetree
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Luis Pires <luis.pires@eldorado.org.br>
Signed-off-by: Lucas Mateus Castro (alqotel) <lucas.castro@eldorado.org.br>
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Message-Id: <20211104123719.323713-15-matheus.ferst@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: 226ce506b1d3fa121128e22d5f3c0a3c438a388c
https://github.com/qemu/qemu/commit/226ce506b1d3fa121128e22d5f3c0a3c438a388c
Author: Lucas Mateus Castro (alqotel) <lucas.castro@eldorado.org.br>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M target/ppc/insn32.decode
M target/ppc/translate/vsx-impl.c.inc
Log Message:
-----------
target/ppc: added the instructions LXVPX and STXVPX
Implemented the instructions lxvpx and stxvpx using decodetree
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Lucas Mateus Castro (alqotel) <lucas.castro@eldorado.org.br>
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Message-Id: <20211104123719.323713-16-matheus.ferst@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: 5301d0219c7b281542d5bdf0f84817703c62b464
https://github.com/qemu/qemu/commit/5301d0219c7b281542d5bdf0f84817703c62b464
Author: Lucas Mateus Castro (alqotel) <lucas.castro@eldorado.org.br>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M target/ppc/insn64.decode
M target/ppc/translate/vsx-impl.c.inc
Log Message:
-----------
target/ppc: added the instructions PLXV and PSTXV
Implemented the instructions plxv and pstxv using decodetree
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Lucas Mateus Castro (alqotel) <lucas.castro@eldorado.org.br>
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Message-Id: <20211104123719.323713-17-matheus.ferst@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: dcbf48316f98a71e03ccdb1cd2d8709a90062078
https://github.com/qemu/qemu/commit/dcbf48316f98a71e03ccdb1cd2d8709a90062078
Author: Lucas Mateus Castro (alqotel) <lucas.castro@eldorado.org.br>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M target/ppc/insn64.decode
M target/ppc/translate/vsx-impl.c.inc
Log Message:
-----------
target/ppc: added the instructions PLXVP and PSTXVP
Implemented the instructions plxvp and pstxvp using decodetree
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Lucas Mateus Castro (alqotel) <lucas.castro@eldorado.org.br>
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Message-Id: <20211104123719.323713-18-matheus.ferst@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: 30dfca8d8f83c936565c080a5e52de0bba86651d
https://github.com/qemu/qemu/commit/30dfca8d8f83c936565c080a5e52de0bba86651d
Author: Bruno Larsen (billionai) <bruno.larsen@eldorado.org.br>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M target/ppc/insn32.decode
M target/ppc/translate/vsx-impl.c.inc
M target/ppc/translate/vsx-ops.c.inc
Log Message:
-----------
target/ppc: moved XXSPLTW to using decodetree
Changed the function that handles XXSPLTW emulation to using decodetree,
but still using the same logic.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Bruno Larsen (billionai) <bruno.larsen@eldorado.org.br>
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Message-Id: <20211104123719.323713-19-matheus.ferst@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: 6166fced10f635b789807df23af70037031ea56d
https://github.com/qemu/qemu/commit/6166fced10f635b789807df23af70037031ea56d
Author: Bruno Larsen (billionai) <bruno.larsen@eldorado.org.br>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M target/ppc/insn32.decode
M target/ppc/translate/vsx-impl.c.inc
M target/ppc/translate/vsx-ops.c.inc
Log Message:
-----------
target/ppc: moved XXSPLTIB to using decodetree
Changed the function that handles XXSPLTIB emulation to using
decodetree, but still use the same logic as before
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Bruno Larsen (billionai) <bruno.larsen@eldorado.org.br>
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Message-Id: <20211104123719.323713-20-matheus.ferst@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: aa4592fab7cc28ef230ecab5c7e5b4d3936917ce
https://github.com/qemu/qemu/commit/aa4592fab7cc28ef230ecab5c7e5b4d3936917ce
Author: Bruno Larsen (billionai) <bruno.larsen@eldorado.org.br>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M target/ppc/insn64.decode
M target/ppc/translate/vsx-impl.c.inc
Log Message:
-----------
target/ppc: implemented XXSPLTI32DX
Implemented XXSPLTI32DX emulation using decodetree
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Bruno Larsen (billionai) <bruno.larsen@eldorado.org.br>
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Message-Id: <20211104123719.323713-21-matheus.ferst@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: ec10f73eb92c0f72891808e58d4d47932e39797b
https://github.com/qemu/qemu/commit/ec10f73eb92c0f72891808e58d4d47932e39797b
Author: Bruno Larsen (billionai) <bruno.larsen@eldorado.org.br>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M target/ppc/insn64.decode
M target/ppc/translate/vsx-impl.c.inc
Log Message:
-----------
target/ppc: Implemented XXSPLTIW using decodetree
Implemented the XXSPLTIW instruction, using decodetree.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Bruno Larsen (billionai) <bruno.larsen@eldorado.org.br>
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Message-Id: <20211104123719.323713-22-matheus.ferst@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: 236a628599b2d1307b3f3d095e0c15d7b7524f83
https://github.com/qemu/qemu/commit/236a628599b2d1307b3f3d095e0c15d7b7524f83
Author: Bruno Larsen (billionai) <bruno.larsen@eldorado.org.br>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M target/ppc/insn64.decode
M target/ppc/translate/vsx-impl.c.inc
Log Message:
-----------
target/ppc: implemented XXSPLTIDP instruction
Implemented the instruction XXSPLTIDP using decodetree.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Bruno Larsen (billionai) <bruno.larsen@eldorado.org.br>
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Message-Id: <20211104123719.323713-23-matheus.ferst@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: 788c63998ce6e17b7d7f2e30d28ee5979a6d6cec
https://github.com/qemu/qemu/commit/788c63998ce6e17b7d7f2e30d28ee5979a6d6cec
Author: Matheus Ferst <matheus.ferst@eldorado.org.br>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M target/ppc/helper.h
M target/ppc/insn64.decode
M target/ppc/int_helper.c
M target/ppc/translate/vsx-impl.c.inc
Log Message:
-----------
target/ppc: Implement xxblendvb/xxblendvh/xxblendvw/xxblendvd instructions
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Bruno Larsen (billionai) <bruno.larsen@eldorado.org.br>
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Message-Id: <20211104123719.323713-24-matheus.ferst@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: 6e26b85de5f00629e074aef9260a7632a8978f08
https://github.com/qemu/qemu/commit/6e26b85de5f00629e074aef9260a7632a8978f08
Author: Matheus Ferst <matheus.ferst@eldorado.org.br>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M target/ppc/insn32.decode
M target/ppc/translate/vsx-impl.c.inc
Log Message:
-----------
target/ppc: Implement lxvkq instruction
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Luis Pires <luis.pires@eldorado.org.br>
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Message-Id: <20211104123719.323713-25-matheus.ferst@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: ab1e25ad2f2fcc3c3d0f01b24f272a2bc2a42e3e
https://github.com/qemu/qemu/commit/ab1e25ad2f2fcc3c3d0f01b24f272a2bc2a42e3e
Author: Matheus Ferst <matheus.ferst@eldorado.org.br>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M target/ppc/translate/fixedpoint-impl.c.inc
Log Message:
-----------
target/ppc: cntlzdm/cnttzdm implementation without brcond
Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Message-Id: <20211104123719.323713-26-matheus.ferst@eldorado.org.br>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: 14fe3222e5bd74f5075b774416dd193852f1e535
https://github.com/qemu/qemu/commit/14fe3222e5bd74f5075b774416dd193852f1e535
Author: David Gibson <david@gibson.dropbear.id.au>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M MAINTAINERS
Log Message:
-----------
target/ppc, hw/ppc: Change maintainers
As our day jobs and interests have moved onto other things, Greg and I have
been struggling to keep on top of maintainership of target/ppc and
associated pieces like the pseries and powernv machine types, with their
platform specific devices.
We've therefore discussed and plan to transfer maintainership to Cédric Le
Goater (primary) and Daniel Henrique Barboza (backup). Cédric and Daniel
have been actively contributing to the area for some time, and they're
supported in this by their current employer, IBM, who has an obvious
interest in the platform.
Greg and I do plan to stay around in some capacity for at least the next
6 months, providing reviews and advice to assist the new maintainers into
the role.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Acked-by: Cédric Le Goater <clg@kaod.org>
Commit: 71e6fae3a994ab5c69e37d6a52a30c840883fbfb
https://github.com/qemu/qemu/commit/71e6fae3a994ab5c69e37d6a52a30c840883fbfb
Author: Nicholas Piggin <npiggin@gmail.com>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M hw/ppc/spapr_numa.c
Log Message:
-----------
spapr_numa.c: FORM2 table handle nodes with no distance info
A configuration that specifies multiple nodes without distance info
results in the non-local points in the FORM2 matrix having a distance of
0. This causes Linux to complain "Invalid distance value range" because
a node distance is smaller than the local distance.
Fix this by building a simple local / remote fallback for points where
distance information is missing.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Message-Id: <20211105135137.1584840-1-npiggin@gmail.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Commit: f10e7b9f6fc18be390b3bc189e04b5147eb8dbf8
https://github.com/qemu/qemu/commit/f10e7b9f6fc18be390b3bc189e04b5147eb8dbf8
Author: Richard Henderson <richard.henderson@linaro.org>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M MAINTAINERS
M hw/ppc/pegasos2.c
M hw/ppc/pnv_pnor.c
M hw/ppc/spapr_numa.c
M include/libdecnumber/decNumber.h
M include/libdecnumber/decNumberLocal.h
M include/qemu/host-utils.h
M libdecnumber/decContext.c
M libdecnumber/decNumber.c
M target/ppc/dfp_helper.c
M target/ppc/helper.h
M target/ppc/insn32.decode
M target/ppc/insn64.decode
M target/ppc/int_helper.c
M target/ppc/translate.c
M target/ppc/translate/dfp-impl.c.inc
R target/ppc/translate/dfp-ops.c.inc
M target/ppc/translate/fixedpoint-impl.c.inc
M target/ppc/translate/fp-impl.c.inc
M target/ppc/translate/fp-ops.c.inc
R target/ppc/translate/vector-impl.c.inc
M target/ppc/translate/vmx-impl.c.inc
M target/ppc/translate/vmx-ops.c.inc
M target/ppc/translate/vsx-impl.c.inc
M target/ppc/translate/vsx-ops.c.inc
Log Message:
-----------
Merge remote-tracking branch 'remotes/dgibson/tags/ppc-for-6.2-20211109' into
staging
ppc patch queue for 2021-11-09
Here's the latest set of ppc related patches for qemu-6.2, which I
hope will squeeze in just barely before the hard freeze.
This set includes a change to MAINTAINERS moving maintainership of ppc
from myself and Greg Kurz to Cédric le Goater and Daniel Henrique
Barboza. So, I expect this to be my last pull request as ppc
maintainer. It's been great, but it's time I moved onto other things.
Apart from that, this patchset is mostly a lot of updates to TCG
implementations of ISA 3.1 (POWER10) instructions from the El Dorado
team. There are also a handful of other fixes.
# gpg: Signature made Tue 09 Nov 2021 05:14:33 AM CET
# gpg: using RSA key 75F46586AE61A66CC44E87DC6C38CACA20D9B392
# gpg: Good signature from "David Gibson <david@gibson.dropbear.id.au>" [full]
# gpg: aka "David Gibson (kernel.org) <dwg@kernel.org>"
[unknown]
# gpg: aka "David Gibson (Red Hat) <dgibson@redhat.com>" [full]
# gpg: aka "David Gibson (ozlabs.org) <dgibson@ozlabs.org>"
[full]
* remotes/dgibson/tags/ppc-for-6.2-20211109: (54 commits)
spapr_numa.c: FORM2 table handle nodes with no distance info
target/ppc, hw/ppc: Change maintainers
target/ppc: cntlzdm/cnttzdm implementation without brcond
target/ppc: Implement lxvkq instruction
target/ppc: Implement xxblendvb/xxblendvh/xxblendvw/xxblendvd instructions
target/ppc: implemented XXSPLTIDP instruction
target/ppc: Implemented XXSPLTIW using decodetree
target/ppc: implemented XXSPLTI32DX
target/ppc: moved XXSPLTIB to using decodetree
target/ppc: moved XXSPLTW to using decodetree
target/ppc: added the instructions PLXVP and PSTXVP
target/ppc: added the instructions PLXV and PSTXV
target/ppc: added the instructions LXVPX and STXVPX
target/ppc: added the instructions LXVP and STXVP
target/ppc: moved stxvx and lxvx from legacy to decodtree
target/ppc: moved stxv and lxv from legacy to decodtree
target/ppc: receive high/low as argument in get/set_cpu_vsr
target/ppc: Introduce REQUIRE_VSX macro
target/ppc: Implement Vector Extract Double to VSR using GPR index insns
target/ppc: Move vinsertb/vinserth/vinsertw/vinsertd to decodetree
...
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Compare: https://github.com/qemu/qemu/compare/114f3c8cc427...f10e7b9f6fc1