diff options
| author | Christian Krinitsin <mail@krinitsin.com> | 2025-07-08 13:28:15 +0200 |
|---|---|---|
| committer | Christian Krinitsin <mail@krinitsin.com> | 2025-07-08 13:28:28 +0200 |
| commit | 5aa276efcbd67f4300ca1a7f809c6e00aadb03da (patch) | |
| tree | 9b8f0e074014cda8d42f5a97a95bc25082d8b764 /results/classifier/zero-shot-user-mode/output/syscall/1861605 | |
| parent | 1a3c4faf4e0a25ed0b86e8739d5319a634cb9112 (diff) | |
| download | emulator-bug-study-5aa276efcbd67f4300ca1a7f809c6e00aadb03da.tar.gz emulator-bug-study-5aa276efcbd67f4300ca1a7f809c6e00aadb03da.zip | |
restructure results
Diffstat (limited to 'results/classifier/zero-shot-user-mode/output/syscall/1861605')
| -rw-r--r-- | results/classifier/zero-shot-user-mode/output/syscall/1861605 | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/results/classifier/zero-shot-user-mode/output/syscall/1861605 b/results/classifier/zero-shot-user-mode/output/syscall/1861605 deleted file mode 100644 index 3b953ee6..00000000 --- a/results/classifier/zero-shot-user-mode/output/syscall/1861605 +++ /dev/null @@ -1,22 +0,0 @@ -syscall: 0.468 -instruction: 0.385 -runtime: 0.147 - - - -LL/SC broken for MIPS after 7dd547e5ab6b31e7a0cfc182d3ad131dd55a948f - -In that commit the env->llval value is loaded as an unsigned value (instead of sign-extended as before and therefore the CMPXCHG in gen_st_cond() in translate.c fails. - -I have committed a fix for this issue as https://github.com/CTSRD-CHERI/qemu/commit/a18d80c629989d002794f558968e1561edaf3dfd - -An alternative solution would be to change the cmpxchg line to perform a non-sign-extended compare, i.e. replace - tcg_gen_atomic_cmpxchg_tl(t0, addr, cpu_llval, val, - eva ? MIPS_HFLAG_UM : ctx->mem_idx, tcg_mo); -with - tcg_gen_atomic_cmpxchg_tl(t0, addr, cpu_llval, val, - eva ? MIPS_HFLAG_UM : ctx->mem_idx, tcg_mo & ~MO_SIGN); - - -I cannot send this patch to the QEMU mailing list as I am not able to setup git-send-email. -Feel free to apply this commit or the alternative solution.
\ No newline at end of file |
