qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC PATCH 0/4] improve coverage of vector backend


From: Richard Henderson
Subject: Re: [RFC PATCH 0/4] improve coverage of vector backend
Date: Fri, 4 Feb 2022 08:31:38 +1100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

On 2/4/22 07:00, Alex Bennée wrote:
Does:

   #if BYTE_ORDER == BIG_ENDIAN

work for your compiler?

No, but this does
#if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__

With that change in the source, the tests passes.  Will that work for
other targets?

At least not hppa-linux-user. The joy of having no standard compile time
way to report byte order in the C standard despite most things needing
to know one way or another.

Richard,

Any ideas?

I see you're not explicitly including <endian.h>.
I would expect that to be of some use.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]