diff options
author | Iain Sandoe <iain@codesourcery.com> | 2018-02-07 23:42:51 +0000 |
---|---|---|
committer | Mike Stump <mrs@gcc.gnu.org> | 2018-02-07 23:42:51 +0000 |
commit | 11e887c45a6a1c708016a08c8aeeae03b30a007b (patch) | |
tree | a14ee45fdcaef3edcc257d00271a9fee97952f4e /gcc | |
parent | 3f636462f8b342b5d8b0eb2e652a9d1320a15936 (diff) | |
download | gcc-11e887c45a6a1c708016a08c8aeeae03b30a007b.zip gcc-11e887c45a6a1c708016a08c8aeeae03b30a007b.tar.gz gcc-11e887c45a6a1c708016a08c8aeeae03b30a007b.tar.bz2 |
altivec.md (*restore_world): Remove LR use.
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.
From-SVN: r257472
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/rs6000/altivec.md | 1 | ||||
-rw-r--r-- | gcc/config/rs6000/predicates.md | 3 |
3 files changed, 7 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 59e1f8f..a4f295ea 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +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. + 2018-02-07 Michael Meissner <meissner@linux.vnet.ibm.com> PR target/84154 diff --git a/gcc/config/rs6000/altivec.md b/gcc/config/rs6000/altivec.md index 5c28b2d..a01a3c6 100644 --- a/gcc/config/rs6000/altivec.md +++ b/gcc/config/rs6000/altivec.md @@ -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" diff --git a/gcc/config/rs6000/predicates.md b/gcc/config/rs6000/predicates.md index b6d18f3..f526b65 100644 --- a/gcc/config/rs6000/predicates.md +++ b/gcc/config/rs6000/predicates.md @@ -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; |