https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106680
Bug ID: 106680
Summary: Test gcc.target/powerpc/bswap64-4.c fails on 32-bit BE
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
Assignee: unassigned at gcc dot gnu.org
Reporter: meissner at gcc dot gnu.org
Target Milestone: ---
I was doing some builds for submitting patches, and I did runs on BE systems as
well as LE systems.
I noticed the test gcc.target/powerpc/bswap64-4.c fails in 32-bit, because it
does not generate ldbrx or stdbrx instructions. These instructions are not
supported on 32-bit. So the test has to be adjusted to either only be run on a
64-bit system, or adjust the insns generated when the test is run on a 32-bit
target.