This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/64796] effective target bswap64 globally caches target-specific use of lp64
- From: "thopre01 at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 27 Jan 2015 06:41:17 +0000
- Subject: [Bug testsuite/64796] effective target bswap64 globally caches target-specific use of lp64
- Auto-submitted: auto-generated
- References: <bug-64796-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64796
thopre01 at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2015-01-27
CC| |thopre01 at gcc dot gnu.org
Assignee|unassigned at gcc dot gnu.org |thopre01 at gcc dot gnu.org
Ever confirmed|0 |1
Known to fail| |5.0
--- Comment #2 from thopre01 at gcc dot gnu.org ---
Indeed, I didn't realize --target_board could specifies several boards, which
rules out the use of a global. It is also true that 32-bit targets can do a
64-bit byte swap thanks to expand_doubleword_bswap () (called from expand_unop
when GET_MODE_SIZE (mode) == 2 * UNITS_PER_WORD and that there is a bswap optab
for word_mode).
Testing a patch right now.