All of lore.kernel.org
 help / color / mirror / Atom feed
From: Markus Armbruster <armbru@redhat.com>
To: "Alex Bennée" <alex.bennee@linaro.org>
Cc: "Peter Maydell" <peter.maydell@linaro.org>,
	"Laurent Vivier" <lvivier@redhat.com>,
	"Thomas Huth" <thuth@redhat.com>,
	"Eduardo Habkost" <ehabkost@redhat.com>,
	"Viktor Prutyanov" <viktor.prutyanov@phystech.edu>,
	"QEMU Trivial" <qemu-trivial@nongnu.org>,
	"Michael Tokarev" <mjt@tls.msk.ru>,
	"Jason Wang" <jasowang@redhat.com>,
	"Mark Cave-Ayland" <mark.cave-ayland@ilande.co.uk>,
	"Laurent Vivier" <laurent@vivier.eu>,
	"Fabien Chouteau" <chouteau@adacore.com>,
	"QEMU Developers" <qemu-devel@nongnu.org>,
	"Gerd Hoffmann" <kraxel@redhat.com>,
	"Aurelien Jarno" <aurelien@aurel32.net>,
	"Paolo Bonzini" <pbonzini@redhat.com>,
	"Michael Roth" <mdroth@linux.vnet.ibm.com>,
	"Andreas Färber" <afaerber@suse.de>,
	"Artyom Tarasenko" <atar4qemu@gmail.com>,
	"Richard Henderson" <rth@twiddle.net>
Subject: Re: [Qemu-trivial] [Qemu-devel] [PULL 00/13] Trivial branch patches
Date: Wed, 08 May 2019 16:48:13 +0200	[thread overview]
Message-ID: <87ftpp9f4i.fsf@dusky.pond.sub.org> (raw)
In-Reply-To: <87imulaude.fsf@dusky.pond.sub.org> (Markus Armbruster's message of "Wed, 08 May 2019 16:33:33 +0200")

Markus Armbruster <armbru@redhat.com> writes:

> Alex Bennée <alex.bennee@linaro.org> writes:
>
>> Peter Maydell <peter.maydell@linaro.org> writes:
>>
>>> On Thu, 2 May 2019 at 19:58, Laurent Vivier <laurent@vivier.eu> wrote:
>>>>
>>>> The following changes since commit 8482ff2eb3bb95020eb2f370a9b3ea26511e41df:
>>>>
>>>>   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_to_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  => +0000.000000000000401B006FFFF00000 .....
>>>         expected +401B.006FFFF000000000000000000000 .....
>>> ^M0001DDEB  => +0000.000000000000400FDDEB00000000 .....
>>>         expected +400F.DDEB000000000000000000000000 .....
>>> ^MFFF6FFFC  => +0000.000000000000C012200080000000 .....
>>>         expected -4012.2000800000000000000000000000 .....
>>> ^MFFFFFFF8  => +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

Me too; qemu/osdep.h should pull it in.

>> 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?

INLINE appears just as unused.

> [...]


WARNING: multiple messages have this Message-ID (diff)
From: Markus Armbruster <armbru@redhat.com>
To: "Alex Bennée" <alex.bennee@linaro.org>
Cc: "Laurent Vivier" <lvivier@redhat.com>,
	"Peter Maydell" <peter.maydell@linaro.org>,
	"Thomas Huth" <thuth@redhat.com>,
	"Eduardo Habkost" <ehabkost@redhat.com>,
	"Viktor Prutyanov" <viktor.prutyanov@phystech.edu>,
	"QEMU Trivial" <qemu-trivial@nongnu.org>,
	"Mark Cave-Ayland" <mark.cave-ayland@ilande.co.uk>,
	"Jason Wang" <jasowang@redhat.com>,
	"Michael Tokarev" <mjt@tls.msk.ru>,
	"Laurent Vivier" <laurent@vivier.eu>,
	"Fabien Chouteau" <chouteau@adacore.com>,
	"QEMU Developers" <qemu-devel@nongnu.org>,
	"Gerd Hoffmann" <kraxel@redhat.com>,
	"Andreas Färber" <afaerber@suse.de>,
	"Paolo Bonzini" <pbonzini@redhat.com>,
	"Richard Henderson" <rth@twiddle.net>,
	"Michael Roth" <mdroth@linux.vnet.ibm.com>,
	"Aurelien Jarno" <aurelien@aurel32.net>,
	"Artyom Tarasenko" <atar4qemu@gmail.com>
Subject: Re: [Qemu-devel] [PULL 00/13] Trivial branch patches
Date: Wed, 08 May 2019 16:48:13 +0200	[thread overview]
Message-ID: <87ftpp9f4i.fsf@dusky.pond.sub.org> (raw)
In-Reply-To: <87imulaude.fsf@dusky.pond.sub.org> (Markus Armbruster's message of "Wed, 08 May 2019 16:33:33 +0200")

Markus Armbruster <armbru@redhat.com> writes:

> Alex Bennée <alex.bennee@linaro.org> writes:
>
>> Peter Maydell <peter.maydell@linaro.org> writes:
>>
>>> On Thu, 2 May 2019 at 19:58, Laurent Vivier <laurent@vivier.eu> wrote:
>>>>
>>>> The following changes since commit 8482ff2eb3bb95020eb2f370a9b3ea26511e41df:
>>>>
>>>>   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_to_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  => +0000.000000000000401B006FFFF00000 .....
>>>         expected +401B.006FFFF000000000000000000000 .....
>>> ^M0001DDEB  => +0000.000000000000400FDDEB00000000 .....
>>>         expected +400F.DDEB000000000000000000000000 .....
>>> ^MFFF6FFFC  => +0000.000000000000C012200080000000 .....
>>>         expected -4012.2000800000000000000000000000 .....
>>> ^MFFFFFFF8  => +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

Me too; qemu/osdep.h should pull it in.

>> 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?

INLINE appears just as unused.

> [...]


  parent reply	other threads:[~2019-05-08 14:48 UTC|newest]

Thread overview: 70+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-02 18:58 [Qemu-trivial] [PULL 00/13] Trivial branch patches Laurent Vivier
2019-05-02 18:58 ` [Qemu-devel] " Laurent Vivier
2019-05-02 18:58 ` Laurent Vivier
2019-05-02 18:58 ` [Qemu-trivial] [PULL 01/13] hw/net/pcnet: Use qemu_log_mask(GUEST_ERROR) instead of printf Laurent Vivier
2019-05-02 18:58   ` [Qemu-devel] " Laurent Vivier
2019-05-02 18:58   ` Laurent Vivier
2019-05-02 18:58 ` [Qemu-trivial] [PULL 02/13] CODING_STYLE: specify the indent rule for multiline code Laurent Vivier
2019-05-02 18:58   ` [Qemu-devel] " Laurent Vivier
2019-05-02 18:58   ` Laurent Vivier
2019-05-02 18:58 ` [Qemu-trivial] [PULL 03/13] CODING_STYLE: indent example code as all others Laurent Vivier
2019-05-02 18:58   ` [Qemu-devel] " Laurent Vivier
2019-05-02 18:58   ` Laurent Vivier
2019-05-02 18:58 ` [Qemu-trivial] [PULL 04/13] Clean up includes Laurent Vivier
2019-05-02 18:58   ` [Qemu-devel] " Laurent Vivier
2019-05-02 18:58   ` Laurent Vivier
2019-05-02 18:58 ` [Qemu-trivial] [PULL 05/13] doc: fix the configuration path Laurent Vivier
2019-05-02 18:58   ` [Qemu-devel] " Laurent Vivier
2019-05-02 18:58   ` Laurent Vivier
2019-05-02 18:58 ` [Qemu-trivial] [PULL 06/13] qom: use object_new_with_type in object_new_with_propv Laurent Vivier
2019-05-02 18:58   ` [Qemu-devel] " Laurent Vivier
2019-05-02 18:58   ` Laurent Vivier
2019-05-02 18:58 ` [Qemu-trivial] [PULL 07/13] configure: fix pam test warning Laurent Vivier
2019-05-02 18:58   ` [Qemu-devel] " Laurent Vivier
2019-05-02 18:58   ` Laurent Vivier
2019-05-02 18:58 ` [Qemu-trivial] [PULL 08/13] Update configure Laurent Vivier
2019-05-02 18:58   ` [Qemu-devel] " Laurent Vivier
2019-05-02 18:58   ` Laurent Vivier
2019-05-02 18:58 ` [Qemu-trivial] [PULL 09/13] Header cleanups Laurent Vivier
2019-05-02 18:58   ` [Qemu-devel] " Laurent Vivier
2019-05-02 18:58   ` Laurent Vivier
2019-05-02 18:58 ` [Qemu-trivial] [PULL 10/13] net: Print output of "-net nic, model=help" to stdout instead of stderr Laurent Vivier
2019-05-02 18:58   ` [Qemu-devel] " Laurent Vivier
2019-05-02 18:58   ` Laurent Vivier
2019-05-02 18:58 ` [Qemu-trivial] [PULL 11/13] Makefile: Let the 'clean' rule remove qemu-ga.exe on Windows hosts Laurent Vivier
2019-05-02 18:58   ` [Qemu-devel] " Laurent Vivier
2019-05-02 18:58   ` Laurent Vivier
2019-05-02 18:58 ` [Qemu-trivial] [PULL 12/13] hw/sparc/leon3: Allow load of uImage firmwares Laurent Vivier
2019-05-02 18:58   ` [Qemu-devel] " Laurent Vivier
2019-05-02 18:58   ` Laurent Vivier
2019-05-02 18:58 ` [Qemu-trivial] [PULL 13/13] sockets: avoid string truncation warnings when copying UNIX path Laurent Vivier
2019-05-02 18:58   ` [Qemu-devel] " Laurent Vivier
2019-05-02 18:58   ` Laurent Vivier
2019-05-03 10:34 ` [Qemu-trivial] [PULL 00/13] Trivial branch patches Peter Maydell
2019-05-03 10:34   ` [Qemu-devel] " Peter Maydell
2019-05-03 10:34   ` Peter Maydell
2019-05-03 11:03   ` [Qemu-trivial] " Laurent Vivier
2019-05-03 11:03     ` [Qemu-devel] " Laurent Vivier
2019-05-03 11:03     ` Laurent Vivier
2019-05-03 11:17   ` [Qemu-trivial] " Alex Bennée
2019-05-03 11:17     ` [Qemu-devel] " Alex Bennée
2019-05-03 11:17     ` Alex Bennée
2019-05-08 14:33     ` [Qemu-trivial] " Markus Armbruster
2019-05-08 14:33       ` Markus Armbruster
2019-05-08 14:46       ` [Qemu-trivial] " Alex Bennée
2019-05-08 14:46         ` Alex Bennée
2019-05-09  8:32         ` [Qemu-trivial] " Markus Armbruster
2019-05-09  8:32           ` Markus Armbruster
2019-05-09  8:53           ` [Qemu-trivial] " Peter Maydell
2019-05-09  8:53             ` Peter Maydell
2019-05-10 15:04             ` [Qemu-trivial] " Markus Armbruster
2019-05-10 15:04               ` Markus Armbruster
2019-05-10 16:25               ` [Qemu-trivial] " Peter Maydell
2019-05-10 16:25                 ` Peter Maydell
2019-05-10 16:32                 ` [Qemu-trivial] " Peter Maydell
2019-05-10 16:32                   ` Peter Maydell
2019-05-10 16:51                 ` [Qemu-trivial] " Markus Armbruster
2019-05-10 16:51                   ` Markus Armbruster
2019-05-08 14:48       ` Markus Armbruster [this message]
2019-05-08 14:48         ` Markus Armbruster
  -- strict thread matches above, loose matches on Subject: below --
2019-01-30 13:22 [Qemu-trivial] " Laurent Vivier
2019-01-31 18:59 ` [Qemu-trivial] [Qemu-devel] " Peter Maydell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ftpp9f4i.fsf@dusky.pond.sub.org \
    --to=armbru@redhat.com \
    --cc=afaerber@suse.de \
    --cc=alex.bennee@linaro.org \
    --cc=atar4qemu@gmail.com \
    --cc=aurelien@aurel32.net \
    --cc=chouteau@adacore.com \
    --cc=ehabkost@redhat.com \
    --cc=jasowang@redhat.com \
    --cc=kraxel@redhat.com \
    --cc=laurent@vivier.eu \
    --cc=lvivier@redhat.com \
    --cc=mark.cave-ayland@ilande.co.uk \
    --cc=mdroth@linux.vnet.ibm.com \
    --cc=mjt@tls.msk.ru \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@nongnu.org \
    --cc=rth@twiddle.net \
    --cc=thuth@redhat.com \
    --cc=viktor.prutyanov@phystech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.