Commit 91b709ff authored by Mao Minkai's avatar Mao Minkai Committed by guzitao
Browse files

sw64: rename copy and set lib functions

Sunway inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/IB73UR



--------------------------------

Rename memcpy/memset like lib functions to help understand their
differences.

Signed-off-by: default avatarMao Minkai <maominkai@wxiat.com>
Reviewed-by: default avatarHe Sheng <hesheng@wxiat.com>
Signed-off-by: default avatarGu Zitao <guzitao@wxiat.com>
parent 3d670278
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -27,9 +27,9 @@
 * $18:	bytes left to copy
 *
 */
	.globl ____clear_user_sw_una
	.ent ____clear_user_sw_una
____clear_user_sw_una:
	.globl ____clear_user_simd_force_ali_addr
	.ent ____clear_user_simd_force_ali_addr
____clear_user_simd_force_ali_addr:
	.prologue 0
	bis	$31, $31, $7
	mov	$17, $18
@@ -44,4 +44,4 @@ $restore_simd:

$return:
	ret
	.end ____clear_user_sw_una
	.end ____clear_user_simd_force_ali_addr
+4 −4
Original line number Diff line number Diff line
@@ -27,9 +27,9 @@
 * $18:	bytes left to copy
 *
 */
	.globl ____clear_user_hw_una
	.ent ____clear_user_hw_una
____clear_user_hw_una:
	.globl ____clear_user_simd_no_una_check
	.ent ____clear_user_simd_no_una_check
____clear_user_simd_no_una_check:
	.prologue 0
	bis	$31, $31, $7
	mov	$17, $18
@@ -44,4 +44,4 @@ $restore_simd:

$return:
	ret
	.end ____clear_user_hw_una
	.end ____clear_user_simd_no_una_check
+4 −4
Original line number Diff line number Diff line
@@ -19,9 +19,9 @@
 * $18:	bytes left to copy
 *
 */
	.globl ____copy_user_sw_una
	.ent ____copy_user_sw_una
____copy_user_sw_una:
	.globl ____copy_user_simd_force_ali_addr
	.ent ____copy_user_simd_force_ali_addr
____copy_user_simd_force_ali_addr:
	.prologue 0
	.set noreorder
	bis	$31, $31, $7
@@ -41,4 +41,4 @@ $restore_simd:

$return:
	ret
	.end ____copy_user_sw_una
	.end ____copy_user_simd_force_ali_addr
+4 −4
Original line number Diff line number Diff line
@@ -19,9 +19,9 @@
 * $18:	bytes left to copy
 *
 */
	.globl ____copy_user_hw_una
	.ent ____copy_user_hw_una
____copy_user_hw_una:
	.globl ____copy_user_simd_no_una_check
	.ent ____copy_user_simd_no_una_check
____copy_user_simd_no_una_check:
	.prologue 0
	.set noreorder
	bis	$31, $31, $7
@@ -37,4 +37,4 @@ $restore_simd:

$return:
	ret
	.end ____copy_user_hw_una
	.end ____copy_user_simd_no_una_check
+4 −4
Original line number Diff line number Diff line
@@ -3,13 +3,13 @@
#define FIXUP_LDST(x, y)	\
	x, y

	.globl ____memcpy_sw_una
	.ent ____memcpy_sw_una
____memcpy_sw_una:
	.globl ____memcpy_simd_force_ali_addr
	.ent ____memcpy_simd_force_ali_addr
____memcpy_simd_force_ali_addr:
	.frame $30, 0, $26, 0
	.prologue 0
	mov	$16, $0
#include "deep-copy_template-force_ali_addr.S"
255:
	ret
	.end ____memcpy_sw_una
	.end ____memcpy_simd_force_ali_addr
Loading