[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] Incorrect handling of more PPC64 insns
From: |
Torbjorn Granlund |
Subject: |
[Qemu-ppc] Incorrect handling of more PPC64 insns |
Date: |
Tue, 07 May 2013 12:27:33 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) |
Alexander Graf <address@hidden> writes:
There's a certain chance that happens, yes. We don't have instruction
test suites for the PPC target.
There certainly are more bugs. GMP still crashes all over the place.
I have semi-isolated one more.
Extracted stand-alone sources:
bug-qemu-ppc-again.c
Description: Binary data
Asm code generated on gcc110 from the source file:
bug-qemu-ppc-again.s
Description: Binary data
Generate executable and execute:
gcc -m32 -mpowerpc64 bug-qemu-ppc-again.s && ./a.out
This runs silently as it should on real hardware. Under qemu (from
2013-05-02 plus the rldcl patch) I incorrectly get the error message:
GMP_NUMB_CEIL_MAX_DIV3 too small
This seems reproducible every time, unlike most qemu bugs that hit GMP.
I haven't isolated this bug to a single instruction, but if rldcl was
untested, expecting all of there here used rldicl rldimi rlwinm to be
tested is perhaps over-optimistic?
--
Torbjörn
- Re: [Qemu-ppc] [Qemu-devel] Incorrect handling of PPC64 rldcl insn, Alexander Graf, 2013/05/06
- Re: [Qemu-ppc] [Qemu-devel] Incorrect handling of PPC64 rldcl insn, Torbjorn Granlund, 2013/05/06
- Re: [Qemu-ppc] Incorrect handling of more PPC64 insns (PATCH), Torbjorn Granlund, 2013/05/07
- Re: [Qemu-ppc] Incorrect handling of more PPC64 insns (PATCH), Alexander Graf, 2013/05/07
- Re: [Qemu-ppc] Incorrect handling of more PPC64 insns (PATCH), Torbjorn Granlund, 2013/05/07
- Re: [Qemu-ppc] Incorrect handling of more PPC64 insns (PATCH), Torbjorn Granlund, 2013/05/07
- Re: [Qemu-ppc] Incorrect handling of more PPC64 insns (PATCH), Alexander Graf, 2013/05/07
- Re: [Qemu-ppc] [Qemu-devel] Incorrect handling of more PPC64 insns (PATCH), Aurelien Jarno, 2013/05/08
- Re: [Qemu-ppc] [Qemu-devel] Incorrect handling of more PPC64 insns (PATCH), Alexander Graf, 2013/05/08