[PATCH 5/5] rs6000: Do not allow TImode with -m32 -mpowerpc64
David Edelsohn
dje.gcc@gmail.com
Thu Jan 15 16:18:00 GMT 2015
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
More information about the Gcc-patches
mailing list