This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 5/5] rs6000: Do not allow TImode with -m32 -mpowerpc64
- From: David Edelsohn <dje dot gcc at gmail dot com>
- To: Segher Boessenkool <segher at kernel dot crashing dot org>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 15 Jan 2015 11:06:38 -0500
- Subject: Re: [PATCH 5/5] rs6000: Do not allow TImode with -m32 -mpowerpc64
- Authentication-results: sourceware.org; auth=none
- References: <a0366c6b956020e6762b6b78a73b20aba5ec1408 dot 1421282067 dot git dot segher at kernel dot crashing dot org> <687b2e40d388708e5b7604b1fcc1ce7e4b127b5b dot 1421282067 dot git dot segher at kernel dot crashing dot org>
On Wed, Jan 14, 2015 at 8:14 PM, Segher Boessenkool
<segher@kernel.crashing.org> wrote:
> This fixes 141 FAILs.
>
> -mpowerpc64 does not change the ABI, but default_scalar_mode_supported_p
> does not know that, and allows TImode for -m32 -mpowerpc64.
>
> This fixes it. Okay for mainline?
>
>
> 2015-01-14 Segher Boessenkool <segher@kernel.crashing.org>
>
> gcc/
> * config/rs6000/rs6000.c (rs6000_scalar_mode_supported_p): Disallow
> TImode for TARGET_32BIT.
Okay.
Would you please add a comment that efficient TImode arithmetic
requires carry to explain the TARGET_32BIT relationship?
We can think about providing TImode logical operations in 32 bit, in
the long run.
Thanks, David