aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>2024-02-27 15:57:36 -0500
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>2024-02-27 17:28:07 -0500
commit081301795ca2b53bfa46392e0a018bf759d74321 (patch)
treeaa798b1aac3ca4eddc3d792a5d405d4e6a5234eb
parent28880e72adc5d600b99eb1b2b838f298184660c7 (diff)
downloadlibrseq-081301795ca2b53bfa46392e0a018bf759d74321.tar.gz
ppc: Rename RSEQ_ASM_OP_R_MEMCPY to RSEQ_ASM_OP_R_BYTEWISE_MEMCPY
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Change-Id: I5ef55c2d23a0cd5b62c0276698a9ccf8e839fc26
-rw-r--r--include/rseq/rseq-ppc-bits.h2
-rw-r--r--include/rseq/rseq-ppc.h2
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" \