diff mbox series

[17/30] Changes to microblaze

Message ID 7b5af1be83aec7666558548a742f5f4919db844e.1561408899.git.acsawdey@linux.ibm.com
State New
Headers show
Series Rename movmem pattern to cpymem | expand

Commit Message

Aaron Sawdey June 25, 2019, 8:22 p.m. UTC
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(-)

Comments

Michael Eager June 25, 2019, 8:49 p.m. UTC | #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 ""))
>
diff mbox series

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 ""))