From 081301795ca2b53bfa46392e0a018bf759d74321 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Tue, 27 Feb 2024 15:57:36 -0500 Subject: [PATCH] ppc: Rename RSEQ_ASM_OP_R_MEMCPY to RSEQ_ASM_OP_R_BYTEWISE_MEMCPY Signed-off-by: Mathieu Desnoyers Change-Id: I5ef55c2d23a0cd5b62c0276698a9ccf8e839fc26 --- include/rseq/rseq-ppc-bits.h | 2 +- include/rseq/rseq-ppc.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/rseq/rseq-ppc-bits.h b/include/rseq/rseq-ppc-bits.h index 0598f7c..844df73 100644 --- a/include/rseq/rseq-ppc-bits.h +++ b/include/rseq/rseq-ppc-bits.h @@ -404,7 +404,7 @@ int RSEQ_TEMPLATE_IDENTIFIER(rseq_load_cbne_memcpy_store__ptr)(intptr_t *v, intp RSEQ_ASM_OP_CBNE(v, expect, %l[error2]) #endif /* try memcpy */ - RSEQ_ASM_OP_R_MEMCPY() + RSEQ_ASM_OP_R_BYTEWISE_MEMCPY() RSEQ_INJECT_ASM(5) #ifdef RSEQ_TEMPLATE_MO_RELEASE /* for 'release' */ diff --git a/include/rseq/rseq-ppc.h b/include/rseq/rseq-ppc.h index 599a072..0a34781 100644 --- a/include/rseq/rseq-ppc.h +++ b/include/rseq/rseq-ppc.h @@ -185,7 +185,7 @@ do { \ RSEQ_ASM_LOADX_LONG "%%r17, %[" __rseq_str(voffp) "], %%r17\n\t" /* TODO: implement a faster memcpy. */ -#define RSEQ_ASM_OP_R_MEMCPY() \ +#define RSEQ_ASM_OP_R_BYTEWISE_MEMCPY() \ RSEQ_ASM_CMP_LONG_INT "%%r19, 0\n\t" \ "beq 333f\n\t" \ "addi %%r20, %%r20, -1\n\t" \ -- 2.34.1