Received: from eggs.gnu.org ([209.51.188.92]:58992) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMWBs-0007K2-8X for qemu-devel@nongnu.org; Fri, 03 May 2019 07:17:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hMWBr-0007Jg-85 for qemu-devel@nongnu.org; Fri, 03 May 2019 07:17:20 -0400 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]:38423) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hMWBr-0007IW-0e for qemu-devel@nongnu.org; Fri, 03 May 2019 07:17:19 -0400 Received: by mail-wm1-x344.google.com with SMTP id f2so1355746wmj.3 for ; Fri, 03 May 2019 04:17:18 -0700 (PDT) References: <20190502185835.15185-1-laurent@vivier.eu> From: Alex =?utf-8?Q?Benn=C3=A9e?= In-reply-to: Date: Fri, 03 May 2019 12:17:15 +0100 Message-ID: <87sgtv4wjo.fsf@zen.linaroharston> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PULL 00/13] Trivial branch patches List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Laurent Vivier , QEMU Developers , Paolo Bonzini , Fabien Chouteau , Viktor Prutyanov , Richard Henderson , Thomas Huth , Artyom Tarasenko , Mark Cave-Ayland , Eduardo Habkost , Andreas =?utf-8?Q?F=C3=A4rber?= , Marcel Apfelbaum , Aurelien Jarno , Jason Wang , QEMU Trivial , Laurent Vivier , Michael Tokarev , =?utf-8?Q?Daniel_P=2E_Berrang=C3=A9?= , Gerd Hoffmann , Michael Roth Peter Maydell writes: > On Thu, 2 May 2019 at 19:58, Laurent Vivier wrote: >> >> The following changes since commit 8482ff2eb3bb95020eb2f370a9b3ea26511e4= 1df: >> >> Merge remote-tracking branch 'remotes/jnsnow/tags/bitmaps-pull-request= ' into staging (2019-05-02 12:04:51 +0100) >> >> are available in the Git repository at: >> >> git://github.com/vivier/qemu.git tags/trivial-branch-pull-request >> >> for you to fetch changes up to f7c03a68b814254df414977ff299468fbf0fa1c0: >> >> sockets: avoid string truncation warnings when copying UNIX path (2019= -05-02 20:50:47 +0200) >> >> ---------------------------------------------------------------- >> Pull request trivial branch 2019-05-02 >> >> ---------------------------------------------------------------- > > Markus's "Clean up includes" patch breaks 'make check' on > big-endian hosts: > cd /home/pm215/qemu/build/all/tests/fp && ./fp-test -s -l 1 -r all i32_t= o_f16 i > 64_to_f16 i32_to_f32 i64_to_f32 i32_to_f64 i64_to_f64 i32_to_f128 i64_to_= f128 > > int-to-float.out 2>&1 || (cat int-to-float.out && exit 1;) >>> Testing i32_to_f16, rounding near_even > ^M372 tests total. > ^M372 tests performed. > In 372 tests, no errors found in i32_to_f16, rounding near_even. >>> Testing i32_to_f16, rounding minMag > [...] > ^MErrors found in i32_to_f128: > 1006FFFF =3D> +0000.000000000000401B006FFFF00000 ..... > expected +401B.006FFFF000000000000000000000 ..... > ^M0001DDEB =3D> +0000.000000000000400FDDEB00000000 ..... > expected +400F.DDEB000000000000000000000000 ..... > ^MFFF6FFFC =3D> +0000.000000000000C012200080000000 ..... > expected -4012.2000800000000000000000000000 ..... > ^MFFFFFFF8 =3D> +0000.000000000000C002000000000000 ..... > expected -4002.0000000000000000000000000000 ..... > [etc] Considering the header clean-ups moved bswap related stuff and the patterns look incorrectly swapped something has gone fishy. If it's just stuff touching f128 then we have some magic in softfloat-types: typedef struct { #ifdef HOST_WORDS_BIGENDIAN uint64_t high, low; #else uint64_t low, high; #endif } float128; but I would have though HOST_WORDS_BIGENDIAN is in the config. I shall have a poke once I get onto the s390 machine. > > (I had to bounce Markus' own pullreq from a week or > so back because it had this patch in too and also failed > for this reason.) > > thanks > -- PMM -- Alex Benn=C3=A9e