This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][1/3] Fix PR54733 Optimize endian independent load/store
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Thomas Preud'homme <thomas dot preudhomme at arm dot com>
- Cc: <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 2 Apr 2014 14:41:15 +0000
- Subject: Re: [PATCH][1/3] Fix PR54733 Optimize endian independent load/store
- Authentication-results: sourceware.org; auth=none
- References: <000701cf4e0e$491c16c0$db544440$ at arm dot com>
On Wed, 2 Apr 2014, Thomas Preud'homme wrote:
> + if { [is-effective-target bswap]
> + && ![istarget x86_64-*-*] } {
That x86_64-*-* test is wrong. x86_64-*-* and i?86-*-* should always be
handled the same (if you then want to distinguish 32-bit and 64-bit
multilibs, you check the appropriate effective-target there, depending on
whether the condition is one on the ABI or which register size is being
used, which affects how x32 should be counted).
--
Joseph S. Myers
joseph@codesourcery.com