Received: from list by lists.gnu.org with archive (Exim 4.71) id 1hONps-0004mU-7L for mharc-qemu-trivial@gnu.org; Wed, 08 May 2019 10:46:20 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57124) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hONpp-0004lu-RP for qemu-trivial@nongnu.org; Wed, 08 May 2019 10:46:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hONpn-0003ga-M4 for qemu-trivial@nongnu.org; Wed, 08 May 2019 10:46:17 -0400 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]:36823) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hONpk-0003dx-Tw for qemu-trivial@nongnu.org; Wed, 08 May 2019 10:46:13 -0400 Received: by mail-wr1-x443.google.com with SMTP id o4so27596725wra.3 for ; Wed, 08 May 2019 07:46:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-transfer-encoding; bh=K5COiiCB4oFUPNBU3qgmWvs8WxRY0Zve6KLrkJnsSFI=; b=ajCWKa4/NVYYU2MY+lH1SyimELJiufewro8/DHcyVW0Vm0LEL6IR+FVQ2DvcjRitu5 wc0imy5Imm8p+TUzcHJOoBqfH4X5663sVZeGwcda3ZOEVb0svc1u425n1HP+SBN/aOj+ aZ7vUvvaT2VNf2BGpW3pjYskpwzEhLoYj/mAi8sL9HHLMK2CLXyxR8P6irYaoxfiBsRJ P1BE/XylWIQkJ79YxQqT361PpZVO3Tiz1bhb2g79xgBeJmcdUwXgIfJQe2OG7Z87Lk0T AWfleuBgG+xG6WMZXbr0/OvBFJamuWYY31pJyEtJJY5nb6TIlkDGR+Rwvyj4Dh1Ii9E4 mwnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version:content-transfer-encoding; bh=K5COiiCB4oFUPNBU3qgmWvs8WxRY0Zve6KLrkJnsSFI=; b=jRw6t7i8C8TfkSRSb0pN2NvqsZaG2ehrshRZop6UmsHs8XWjZwnV5SJd2wuJJppLxW nllEC0AmjZIS34+xqU90IbAMoKb0yiq8BZP2DFFMcJettkqmsQN1oVgoyAFmjSmgte5y qF9CidqlCKuatA17YE9F77zA7ufPIQTw1L1hc+Ybl/r9sVjBiixL4whrBpYtK5XHggSq YqAdEjg4uM+//vuvvdp5QVF/csT7jY2RxQ/nh+Zz48zSP0fhz2sUr6T+ilPfE5YagW9g Yh7Km24pPADGc33ksm4ikVEIVdFLYqhzneGer1nhX/UobwOv7oqPJYGVGbh7nKoG2FWB I3UQ== X-Gm-Message-State: APjAAAVLKbLSW/pn8zY1+3oAhRM49oVBvVVcGa03aihu+ZfIcLj7VGE4 7r4M9k+Ian/+qA3KfAyP1DepVA== X-Google-Smtp-Source: APXvYqzooKjpibC645OKa5MgUGHcJ/0lh3hKm3or70X0NsNVkvfDIVvL6SHHTrrvK7jhdIsknu7Uzg== X-Received: by 2002:adf:a55b:: with SMTP id j27mr21017002wrb.55.1557326769370; Wed, 08 May 2019 07:46:09 -0700 (PDT) Received: from zen.linaroharston ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id j190sm4390488wmb.19.2019.05.08.07.46.08 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 08 May 2019 07:46:08 -0700 (PDT) Received: from zen (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 4BB711FF87; Wed, 8 May 2019 15:46:08 +0100 (BST) References: <20190502185835.15185-1-laurent@vivier.eu> <87sgtv4wjo.fsf@zen.linaroharston> <87imulaude.fsf@dusky.pond.sub.org> User-agent: mu4e 1.3.1; emacs 26.1 From: Alex =?utf-8?Q?Benn=C3=A9e?= To: Markus Armbruster Cc: Peter Maydell , Laurent Vivier , Thomas Huth , Eduardo Habkost , Viktor Prutyanov , QEMU Trivial , Michael Tokarev , Jason Wang , Mark Cave-Ayland , Laurent Vivier , Fabien Chouteau , QEMU Developers , Gerd Hoffmann , "Aurelien Jarno" , Paolo Bonzini , Michael Roth , Andreas =?utf-8?Q?F=C3=A4rber?= , Artyom Tarasenko , "Richard Henderson" In-reply-to: <87imulaude.fsf@dusky.pond.sub.org> Date: Wed, 08 May 2019 15:46:08 +0100 Message-ID: <87tve53sy7.fsf@zen.linaroharston> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::443 Subject: Re: [Qemu-trivial] [Qemu-devel] [PULL 00/13] Trivial branch patches X-BeenThere: qemu-trivial@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 May 2019 14:46:19 -0000 Markus Armbruster writes: > Alex Benn=C3=A9e writes: > >> Peter Maydell writes: >> >>> On Thu, 2 May 2019 at 19:58, Laurent Vivier wrote: >>>> >>>> The following changes since commit 8482ff2eb3bb95020eb2f370a9b3ea26511= e41df: >>>> >>>> Merge remote-tracking branch 'remotes/jnsnow/tags/bitmaps-pull-reque= st' 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 f7c03a68b814254df414977ff299468fbf0fa1c= 0: >>>> >>>> sockets: avoid string truncation warnings when copying UNIX path (20= 19-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= _to_f16 i >>> 64_to_f16 i32_to_f32 i64_to_f32 i32_to_f64 i64_to_f64 i32_to_f128 i64_t= o_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. > > Any luck? > > In my own poking, I stumbled over > > #ifndef HOST_WORDS_BIGENDIAN > #define LITTLEENDIAN 1 > /* otherwise do not define it */ > #endif > > in platform.h. Is LITTLEENDIAN unused, or am I confused? I couldn't replicate the bug with access to my s390 account so I think it might be existing build artefact related which is odd. -- Alex Benn=C3=A9e