diff options
| author | Christian Krinitsin <mail@krinitsin.com> | 2025-05-30 16:52:07 +0200 |
|---|---|---|
| committer | Christian Krinitsin <mail@krinitsin.com> | 2025-05-30 16:52:17 +0200 |
| commit | 9260319e7411ff8281700a532caa436f40120ec4 (patch) | |
| tree | 2f6bfe5f3458dd49d328d3a9eb508595450adec0 /gitlab/issues/target_arm/host_missing/accel_TCG/1790.toml | |
| parent | 225caa38269323af1bfc2daadff5ec8bd930747f (diff) | |
| download | emulator-bug-study-9260319e7411ff8281700a532caa436f40120ec4.tar.gz emulator-bug-study-9260319e7411ff8281700a532caa436f40120ec4.zip | |
gitlab scraper: download in toml and text format
Diffstat (limited to 'gitlab/issues/target_arm/host_missing/accel_TCG/1790.toml')
| -rw-r--r-- | gitlab/issues/target_arm/host_missing/accel_TCG/1790.toml | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/gitlab/issues/target_arm/host_missing/accel_TCG/1790.toml b/gitlab/issues/target_arm/host_missing/accel_TCG/1790.toml deleted file mode 100644 index 2f3ed1ff..00000000 --- a/gitlab/issues/target_arm/host_missing/accel_TCG/1790.toml +++ /dev/null @@ -1,41 +0,0 @@ -id = 1790 -title = "[AARCH64] STGP instruction is not writing the value of the second register to memory" -state = "closed" -created_at = "2023-07-26T08:36:49.418Z" -closed_at = "2023-07-31T17:59:45.754Z" -labels = ["Closed::Fixed", "accel: TCG", "target: arm"] -url = "https://gitlab.com/qemu-project/qemu/-/issues/1790" -host-os = "Ubuntu 20.04.6 LTS" -host-arch = "- QEMU flavor: qemu-system-aarch64" -qemu-version = "QEMU 8.0.90 - 885fc169f09f5915ce037263d20a59eb226d473d" -guest-os = "Kinibi" -guest-arch = "AARCH64" -description = """My application is built with Clang 16 and the option -fsanitize=memtag-stack. -It means the the MTE protection is activated for the stack. -The local variables are tagged and the compiler is often using the STGP instruction "Store Allocation Tag and Pair of registers" in order to transfer the value of two 64-bit registers to memory. -The following instruction was not working as expected: - 18004: 69000895 \tstgp\tx21, x2, [x4] -The value of the second register x2 is not transferred to the memory. -Only x21 is written. - -I think that the issue is in trans_STGP(). -We don't call finalize_memop_pair() like we do for in the general trans_STP(). - -``` -diff --git a/target/arm/tcg/translate-a64.c b/target/arm/tcg/translate-a64.c -index 7d0c8f79a7..f599f3e136 100644 ---- a/target/arm/tcg/translate-a64.c -+++ b/target/arm/tcg/translate-a64.c -@@ -3034,6 +3034,8 @@ static bool trans_STGP(DisasContext *s, arg_ldstpair *a) - - tcg_rt = cpu_reg(s, a->rt); - tcg_rt2 = cpu_reg(s, a->rt2); -+ mop = a->sz + 1; -+ mop = finalize_memop_pair(s, mop); - - assert(a->sz == 3); -``` - -With this fix, my OS (Kinibi) is now able to boot.""" -reproduce = "n/a" -additional = "n/a" |
