This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Please accept this commit for the trunk
- From: Segher Boessenkool <segher at kernel dot crashing dot org>
- To: Mike Stump <mikestump at comcast dot net>
- Cc: Douglas Mencken <dougmencken at gmail dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>, Iain Sandoe <iain at codesourcery dot com>
- Date: Thu, 8 Feb 2018 14:36:43 -0600
- Subject: Re: Please accept this commit for the trunk
- Authentication-results: sourceware.org; auth=none
- References: <CACYvZ7g7G83aYi6mOp_6Z-bb4eSLd+=UObwvY9nak=35+iVqig@mail.gmail.com> <706C3A3C-7CA8-44C8-8C70-CC330E0C0FBB@comcast.net>
On Wed, Feb 07, 2018 at 03:52:27PM -0800, Mike Stump wrote:
> I dusted the pointed to patch off and check it in. Let us know how it goes.
I wanted to test this on the primary and secondary powerpc targets as
well, but okay.
> Does this resolve all of PR84113? If so, I can push the bug along.
It makes bootstrap work. We don't know if it is correct otherwise.
> What PR was the attachment url from?
It is not from a PR, and it has never been sent to gcc-patches; it is
from https://gcc.gnu.org/ml/gcc-testresults/2017-01/msg02971.html
(attachment #2).
It is also PR80865 btw (I'll take care of it).
Thanks,
Segher
> 2018-02-07 Iain Sandoe <iain@codesourcery.com>
>
> * config/rs6000/altivec.md (*restore_world): Remove LR use.
> * config/rs6000/predicates.md (restore_world_operation): Adjust op
> count, remove one USE.
>
> Index: gcc/config/rs6000/altivec.md
> ===================================================================
> --- gcc/config/rs6000/altivec.md (revision 257471)
> +++ gcc/config/rs6000/altivec.md (working copy)
> @@ -419,7 +419,6 @@
> (define_insn "*restore_world"
> [(match_parallel 0 "restore_world_operation"
> [(return)
> - (use (reg:SI LR_REGNO))
> (use (match_operand:SI 1 "call_operand" "s"))
> (clobber (match_operand:SI 2 "gpc_reg_operand" "=r"))])]
> "TARGET_MACHO && (DEFAULT_ABI == ABI_DARWIN) && TARGET_32BIT"
> Index: gcc/config/rs6000/predicates.md
> ===================================================================
> --- gcc/config/rs6000/predicates.md (revision 257471)
> +++ gcc/config/rs6000/predicates.md (working copy)
> @@ -1295,13 +1295,12 @@
> rtx elt;
> int count = XVECLEN (op, 0);
>
> - if (count != 59)
> + if (count != 58)
> return 0;
>
> index = 0;
> if (GET_CODE (XVECEXP (op, 0, index++)) != RETURN
> || GET_CODE (XVECEXP (op, 0, index++)) != USE
> - || GET_CODE (XVECEXP (op, 0, index++)) != USE
> || GET_CODE (XVECEXP (op, 0, index++)) != CLOBBER)
> return 0;
>