* [PULL 0/1] late tcg fix
@ 2023-08-15 2:10 Richard Henderson
2023-08-15 2:10 ` [PULL 1/1] tcg/i386: Output %gs prefix in tcg_out_vex_opc Richard Henderson
2023-08-15 5:26 ` [PULL 0/1] late tcg fix Richard Henderson
0 siblings, 2 replies; 3+ messages in thread
From: Richard Henderson @ 2023-08-15 2:10 UTC (permalink / raw)
To: qemu-devel
The following changes since commit bb5f142cb320d45d3d8dee2c82dae003cad39da8:
Merge tag 'pull-riscv-to-apply-20230811-3' of https://github.com/alistair23/qemu into staging (2023-08-11 14:47:23 -0700)
are available in the Git repository at:
https://gitlab.com/rth7680/qemu.git tags/pull-tcg-20230814
for you to fetch changes up to d3b41127c205062ca6c29c89c9542c4112c39ca0:
tcg/i386: Output %gs prefix in tcg_out_vex_opc (2023-08-12 08:51:12 -0700)
----------------------------------------------------------------
tcg/i386: Output %gs prefix in tcg_out_vex_opc
----------------------------------------------------------------
Richard Henderson (1):
tcg/i386: Output %gs prefix in tcg_out_vex_opc
tcg/i386/tcg-target.c.inc | 3 +++
1 file changed, 3 insertions(+)
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PULL 1/1] tcg/i386: Output %gs prefix in tcg_out_vex_opc
2023-08-15 2:10 [PULL 0/1] late tcg fix Richard Henderson
@ 2023-08-15 2:10 ` Richard Henderson
2023-08-15 5:26 ` [PULL 0/1] late tcg fix Richard Henderson
1 sibling, 0 replies; 3+ messages in thread
From: Richard Henderson @ 2023-08-15 2:10 UTC (permalink / raw)
To: qemu-devel
Missing the segment prefix means that user-only fails
to add guest_base for some 128-bit load/store.
Fixes: 098d0fc10d2 ("tcg/i386: Support 128-bit load/store")
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1763
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
tcg/i386/tcg-target.c.inc | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tcg/i386/tcg-target.c.inc b/tcg/i386/tcg-target.c.inc
index 77482da070..a6b2eae995 100644
--- a/tcg/i386/tcg-target.c.inc
+++ b/tcg/i386/tcg-target.c.inc
@@ -595,6 +595,9 @@ static void tcg_out_vex_opc(TCGContext *s, int opc, int r, int v,
{
int tmp;
+ if (opc & P_GS) {
+ tcg_out8(s, 0x65);
+ }
/* Use the two byte form if possible, which cannot encode
VEX.W, VEX.B, VEX.X, or an m-mmmm field other than P_EXT. */
if ((opc & (P_EXT | P_EXT38 | P_EXT3A | P_VEXW)) == P_EXT
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PULL 0/1] late tcg fix
2023-08-15 2:10 [PULL 0/1] late tcg fix Richard Henderson
2023-08-15 2:10 ` [PULL 1/1] tcg/i386: Output %gs prefix in tcg_out_vex_opc Richard Henderson
@ 2023-08-15 5:26 ` Richard Henderson
1 sibling, 0 replies; 3+ messages in thread
From: Richard Henderson @ 2023-08-15 5:26 UTC (permalink / raw)
To: qemu-devel
On 8/14/23 19:10, Richard Henderson wrote:
> The following changes since commit bb5f142cb320d45d3d8dee2c82dae003cad39da8:
>
> Merge tag 'pull-riscv-to-apply-20230811-3' of https://github.com/alistair23/qemu into staging (2023-08-11 14:47:23 -0700)
>
> are available in the Git repository at:
>
> https://gitlab.com/rth7680/qemu.git tags/pull-tcg-20230814
>
> for you to fetch changes up to d3b41127c205062ca6c29c89c9542c4112c39ca0:
>
> tcg/i386: Output %gs prefix in tcg_out_vex_opc (2023-08-12 08:51:12 -0700)
>
> ----------------------------------------------------------------
> tcg/i386: Output %gs prefix in tcg_out_vex_opc
>
> ----------------------------------------------------------------
> Richard Henderson (1):
> tcg/i386: Output %gs prefix in tcg_out_vex_opc
>
> tcg/i386/tcg-target.c.inc | 3 +++
> 1 file changed, 3 insertions(+)
Applied, thanks. Please update https://wiki.qemu.org/ChangeLog/8.1 as appropriate.
r~
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-08-15 5:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-15 2:10 [PULL 0/1] late tcg fix Richard Henderson
2023-08-15 2:10 ` [PULL 1/1] tcg/i386: Output %gs prefix in tcg_out_vex_opc Richard Henderson
2023-08-15 5:26 ` [PULL 0/1] late tcg fix Richard Henderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).