[26/30] Changes to sh

Message ID c223aa7919a1a77f9f09e64b0f19e119a19de554.1561408899.git.acsawdey@linux.ibm.com
State New
Headers show
Series
  • Rename movmem pattern to cpymem
Related show

Commit Message

Aaron Sawdey June 25, 2019, 8:22 p.m.
From: Aaron Sawdey <acsawdey@linux.ibm.com>


	* config/sh/sh.md (movmemsi): Change name to cpymemsi.
---
 gcc/config/sh/sh.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.7.4

Comments

Oleg Endo June 29, 2019, 12:49 a.m. | #1
On Tue, 2019-06-25 at 15:22 -0500, acsawdey@linux.ibm.com wrote:
> From: Aaron Sawdey <acsawdey@linux.ibm.com>

> 

> 	* config/sh/sh.md (movmemsi): Change name to cpymemsi.

> ---

>  gcc/config/sh/sh.md | 2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)

> 

> diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md

> index 8354377..ed70e34 100644

> --- a/gcc/config/sh/sh.md

> +++ b/gcc/config/sh/sh.md

> @@ -8906,7 +8906,7 @@

>  

>  ;; String/block move insn.

>  

> -(define_expand "movmemsi"

> +(define_expand "cpymemsi"

>    [(parallel [(set (mem:BLK (match_operand:BLK 0))

>  		   (mem:BLK (match_operand:BLK 1)))

>  	      (use (match_operand:SI 2 "nonmemory_operand"))


Looks like a trivial change.  It's OK.

Cheers,
Oleg

Patch

diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md
index 8354377..ed70e34 100644
--- a/gcc/config/sh/sh.md
+++ b/gcc/config/sh/sh.md
@@ -8906,7 +8906,7 @@ 
 
 ;; String/block move insn.
 
-(define_expand "movmemsi"
+(define_expand "cpymemsi"
   [(parallel [(set (mem:BLK (match_operand:BLK 0))
 		   (mem:BLK (match_operand:BLK 1)))
 	      (use (match_operand:SI 2 "nonmemory_operand"))