[17/30] Changes to microblaze

Message ID 7b5af1be83aec7666558548a742f5f4919db844e.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/microblaze/microblaze.c: Change movmem to cpymem in comment.
	* config/microblaze/microblaze.md (movmemsi): Change name to cpymemsi.
---
 gcc/config/microblaze/microblaze.c  | 2 +-
 gcc/config/microblaze/microblaze.md | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

-- 
2.7.4

Comments

Michael Eager June 25, 2019, 8:49 p.m. | #1
OK

On 6/25/19 1:22 PM, acsawdey@linux.ibm.com wrote:
> From: Aaron Sawdey <acsawdey@linux.ibm.com>

> 

> 	* config/microblaze/microblaze.c: Change movmem to cpymem in comment.

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

> ---

>   gcc/config/microblaze/microblaze.c  | 2 +-

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

>   2 files changed, 2 insertions(+), 2 deletions(-)

> 

> diff --git a/gcc/config/microblaze/microblaze.c b/gcc/config/microblaze/microblaze.c

> index 947eef8..c2cbe3b 100644

> --- a/gcc/config/microblaze/microblaze.c

> +++ b/gcc/config/microblaze/microblaze.c

> @@ -1250,7 +1250,7 @@ microblaze_block_move_loop (rtx dest, rtx src, HOST_WIDE_INT length)

>       microblaze_block_move_straight (dest, src, leftover);

>   }

>   

> -/* Expand a movmemsi instruction.  */

> +/* Expand a cpymemsi instruction.  */

>   

>   bool

>   microblaze_expand_block_move (rtx dest, rtx src, rtx length, rtx align_rtx)

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

> index 183afff..1509e43 100644

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

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

> @@ -1144,7 +1144,7 @@

>   ;; Argument 2 is the length

>   ;; Argument 3 is the alignment

>    

> -(define_expand "movmemsi"

> +(define_expand "cpymemsi"

>     [(parallel [(set (match_operand:BLK 0 "general_operand")

>   		   (match_operand:BLK 1 "general_operand"))

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

> 


-- 
Michael Eager    eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306

Patch

diff --git a/gcc/config/microblaze/microblaze.c b/gcc/config/microblaze/microblaze.c
index 947eef8..c2cbe3b 100644
--- a/gcc/config/microblaze/microblaze.c
+++ b/gcc/config/microblaze/microblaze.c
@@ -1250,7 +1250,7 @@  microblaze_block_move_loop (rtx dest, rtx src, HOST_WIDE_INT length)
     microblaze_block_move_straight (dest, src, leftover);
 }
 
-/* Expand a movmemsi instruction.  */
+/* Expand a cpymemsi instruction.  */
 
 bool
 microblaze_expand_block_move (rtx dest, rtx src, rtx length, rtx align_rtx)
diff --git a/gcc/config/microblaze/microblaze.md b/gcc/config/microblaze/microblaze.md
index 183afff..1509e43 100644
--- a/gcc/config/microblaze/microblaze.md
+++ b/gcc/config/microblaze/microblaze.md
@@ -1144,7 +1144,7 @@ 
 ;; Argument 2 is the length
 ;; Argument 3 is the alignment
  
-(define_expand "movmemsi"
+(define_expand "cpymemsi"
   [(parallel [(set (match_operand:BLK 0 "general_operand")
 		   (match_operand:BLK 1 "general_operand"))
 	      (use (match_operand:SI 2 ""))