xemu/target/ppc/translate
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
..
branch-impl.c.inc PPC64/TCG: Implement 'rfebb' instruction 2021-12-17 17:57:19 +01:00
dfp-impl.c.inc target/ppc: Move ddedpd[q],denbcd[q],dscli[q],dscri[q] to decodetree 2021-11-09 10:32:52 +11:00
fixedpoint-impl.c.inc exec/memop: Adding signedness to quad definitions 2022-01-08 15:46:10 +10:00
fp-impl.c.inc target/ppc: Remove PowerPC 601 CPUs 2022-02-09 09:08:55 +01:00
fp-ops.c.inc target/ppc: Move load and store floating point instructions to decodetree 2021-11-09 10:32:51 +11:00
spe-impl.c.inc ppc patch queue 2020-08-18 2020-08-24 09:35:21 +01:00
spe-ops.c.inc meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
vmx-impl.c.inc Replace config-time define HOST_WORDS_BIGENDIAN 2022-04-06 10:50:37 +02:00
vmx-ops.c.inc target/ppc: Move vsel and vperm/vpermr to decodetree 2022-03-02 06:51:37 +01:00
vsx-impl.c.inc Replace config-time define HOST_WORDS_BIGENDIAN 2022-04-06 10:50:37 +02:00
vsx-ops.c.inc target/ppc: Move xscmp{eq,ge,gt}dp to decodetree 2022-03-02 06:51:38 +01:00