diff options
author | Alan Modra <amodra@gmail.com> | 2020-10-24 20:01:17 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2020-10-27 09:29:53 +1030 |
commit | b1fc5c940e39981ffbbb1a038e9dca4a2f6fa523 (patch) | |
tree | 78854937b363ee305e42ce649de625f54e1e1c86 /gcc | |
parent | d7c71335c2a5bd65ee36b927af83ef97a1e06620 (diff) | |
download | gcc-b1fc5c940e39981ffbbb1a038e9dca4a2f6fa523.zip gcc-b1fc5c940e39981ffbbb1a038e9dca4a2f6fa523.tar.gz gcc-b1fc5c940e39981ffbbb1a038e9dca4a2f6fa523.tar.bz2 |
[RS6000] biarch test fail
* gcc.target/powerpc/bswap64-4.c: Comment.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/gcc.target/powerpc/bswap64-4.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/powerpc/bswap64-4.c b/gcc/testsuite/gcc.target/powerpc/bswap64-4.c index a3c0553..5acbb91 100644 --- a/gcc/testsuite/gcc.target/powerpc/bswap64-4.c +++ b/gcc/testsuite/gcc.target/powerpc/bswap64-4.c @@ -7,6 +7,12 @@ /* { dg-final { scan-assembler-times "ldbrx" 1 { target has_arch_pwr7 } } } */ /* { dg-final { scan-assembler-times "stdbrx" 1 { target has_arch_pwr7 } } } */ +/* On some versions of dejagnu this test will fail when biarch testing + with RUNTESTFLAGS="--target_board=unix'{-m64,-m32}'" due to -m32 + being added on the command line after the dg-options -mpowerpc64. + common/config/rs6000/rs6000-common.c:rs6000_handle_option disables + -mpowerpc64 for -m32. */ + long long swap_load (long long *a) { return __builtin_bswap64 (*a); } long long swap_reg (long long a) { return __builtin_bswap64 (a); } void swap_store (long long *a, long long b) { *a = __builtin_bswap64 (b); } |