This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Please accept this commit for the trunk


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;
>  


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]