[Qemu-devel] [Bug 1843651] [NEW] m68k fpu bug

2019-09-11 Thread Pierre Muller
Public bug reported: On gcc123 cfarm machine, I was testing m68k executables generated by Free Pascal Compiler. muller@gcc123:~/pas/check$ cat inf.pp function get_double(x : double):double; begin get_double:=x; end; var y : double; py : pbyte; i : byte; begin y:=1.0/0.0;

[Qemu-devel] [PATCH] * include/fpu/softfloat.h (floatx80_invalid_encoding): Handle m68k specific infinity pattern.

2019-09-17 Thread Pierre Muller
not properly handle those m68k infinity patterns. The patch below seems to fix the reported problem on current git. Pierre Muller Member of core development team of Free Pascal compiler >From e053d3d07b1951faf0b4637ce1ec4194b8d952e5 Mon Sep 17 00:00:00 2001 From: Pierre Muller Date: Thu, 12

Re: [Qemu-devel] [PATCH] * include/fpu/softfloat.h (floatx80_invalid_encoding): Handle m68k specific infinity pattern.

2019-09-18 Thread Pierre Muller
$ cat 0001-Fix-floatx80_invalid_encoding-function-for-m68k-cpu.patch >From a017dc6d43aaa4ffc7be40ae3adee4086be9cec2 Mon Sep 17 00:00:00 2001 From: Pierre Muller Date: Wed, 18 Sep 2019 08:04:19 + Subject: [PATCH]Fix floatx80_invalid_encoding function for m68k cpu As m68k acce

Re: m68k: gdbstub crashing setting float register on cfv4e cpu

2020-04-16 Thread Pierre Muller
Le 16/04/2020 à 22:09, Laurent Vivier a écrit : > Le 16/04/2020 à 22:03, Pierre Muller a écrit : >> Le 16/04/2020 à 13:18, Laurent Vivier a écrit : >>> Le 14/04/2020 à 18:56, Alex Bennée a écrit : >>>> >>>> Philippe Mathieu-Daudé writes: >&g

Re: m68k: gdbstub crashing setting float register on cfv4e cpu

2020-04-16 Thread Pierre Muller
broken that and no one > noticed. I bisected and found the commit but it was really too complex > and difficult to fix. > > To be able to debug remotely m68k I use gdb from etch-m68k in a chroot > (or from real hardware). I do have a fix for gdb-8.3 release: it works for me. See patch

[Bug 1843651] Re: m68k fpu bug

2021-04-23 Thread Pierre Muller
I tested, in release 5.2.0, this issue is fixed. Thanks ** Changed in: qemu Status: Incomplete => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1843651 Title: m68k fpu bug

Re: [PATCH v3 15/17] linux-user/strace: Fix print_syscall_err

2022-03-17 Thread Pierre Muller
not generate a warning, to write this? Adding an explicit typecast to -4096 seems sufficient to silence that warning. Pierre Muller Le 16/03/2022 à 06:58, Richard Henderson a écrit : Errors are not all negative numbers, but only the top 4k. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Ri

Re: [PATCH v2 21/30] Deprecate 32 bit big-endian MIPS

2022-09-16 Thread Pierre Muller
Le 16/09/2022 à 10:38, Richard Henderson a écrit : On 9/16/22 10:08, Pierre Muller wrote:   I am using gcc230 machine for the gcc compile farm.   This is a big endian mips64 machine runnig Debian Buster. When compiling the qemu 7.1.0 release source, the generated binaries are 32-bit

Re: [PATCH v2 21/30] Deprecate 32 bit big-endian MIPS

2022-09-16 Thread Pierre Muller
. As mips32 seems to still be the default arch that gcc uses, I don't really understand the idea of depreciating big endian mips32. Is this solely related to cross-compilation issues? Pierre Muller More information on gcc230: muller@gcc230:~$ uname -a Linux gcc230 4.9.79-UBNT_E300 #9 SMP Tue Jul 13 13

[RFC] Testing 7.1.0-rc2, qemu-ppc does not give valid disassembly

2022-08-11 Thread Pierre Muller
Hello, I don't know if this is the right place to submit this report, but I have a problem with my attempt to check the 7.1.0 release candidate for linux user powerpc CPU. I am testing a simple executable, compiled with Free Pacal compiler, but also linked to libc. This is what I obtain

Re: [RFC] Testing 7.1.0-rc2, qemu-ppc does not give valid disassembly

2022-08-11 Thread Pierre Muller
Le 11/08/2022 à 19:11, Peter Maydell a écrit : On Thu, 11 Aug 2022 at 14:35, Pierre Muller wrote: I don't know if this is the right place to submit this report, but I have a problem with my attempt to check the 7.1.0 release candidate for linux user powerpc CPU. I am testing

[RFC] Unable to use qemu-ppc to run 32-bit powerpc executables generated on gcc110 machine

2022-08-11 Thread Pierre Muller
: IBM,8231-E2B machine : CHRP IBM,8231-E2B Is there a way to enable cpu features separately for ppc like is done for x86_64? Or would it be possible to define a new cpu inside qemu source that would match the description above? Pierre Muller

Re: [RFC] Unable to use qemu-ppc to run 32-bit powerpc executables generated on gcc110 machine

2022-08-11 Thread Pierre Muller
Le 11/08/2022 à 23:38, Pierre Muller a écrit : I am using qemu to check code generated by Free Pascal compiler for various CPUs. Recently, this allowed me to find out that Free Pascal was generating wrong instructions, leading to SIGBUS errors using qemu-mips. The same binaries

Re: [RFC] Unable to use qemu-ppc to run 32-bit powerpc executables generated on gcc110 machine

2022-08-12 Thread Pierre Muller
Le 12/08/2022 à 06:16, Thomas Huth a écrit : On 11/08/2022 23.38, Pierre Muller wrote:   I am using qemu to check code generated by Free Pascal compiler for various CPUs.   Recently, this allowed me to find out that Free Pascal was generating wrong instructions, leading to SIGBUS errors