qemu-e2k/tests/fp
Marc-André Lureau e03b56863d Replace config-time define HOST_WORDS_BIGENDIAN
Replace a config-time define with a compile time condition
define (compatible with clang and gcc) that must be declared prior to
its usage. This avoids having a global configure time define, but also
prevents from bad usage, if the config header wasn't included before.

This can help to make some code independent from qemu too.

gcc supports __BYTE_ORDER__ from about 4.6 and clang from 3.2.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
[ For the s390x parts I'm involved in ]
Acked-by: Halil Pasic <pasic@linux.ibm.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220323155743.1585078-7-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2022-04-06 10:50:37 +02:00
..
berkeley-softfloat-3@b64af41c32
berkeley-testfloat-3@5a59dcec19 berkeley-testfloat-3: pull changes 2019-01-22 20:47:57 +00:00
fp-bench.c softfloat: Move muladd_floats to softfloat-parts.c.inc 2021-05-16 07:13:51 -05:00
fp-test-log2.c softfloat: Move floatN_log2 to softfloat-parts.c.inc 2021-06-03 14:09:02 -07:00
fp-test.c tests/fp/fp-test: Reverse order of floatx80 precision tests 2021-06-03 14:09:02 -07:00
meson.build tests/fp/berkeley-testfloat-3: Ignore ignored #pragma directives 2022-03-15 13:36:33 +01:00
platform.h Replace config-time define HOST_WORDS_BIGENDIAN 2022-04-06 10:50:37 +02:00
wrap.c.inc tests/fp: Enable more tests 2021-06-03 14:09:03 -07:00