arm64: Rename RSEQ_ASM_OP_R_BAD_MEMCPY to RSEQ_ASM_OP_R_BYTEWISE_MEMCPY
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 27 Feb 2024 20:44:30 +0000 (15:44 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 27 Feb 2024 22:28:07 +0000 (17:28 -0500)
This is more descriptive.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: Ic5b33693ae39729859ea734721ffd323a7151c68

include/rseq/rseq-arm64-bits.h
include/rseq/rseq-arm64.h

index 9d3c96a8cf17a40ed9bb86475df10f612b67338b..f10735fa75fd8a0e1339761c08bab0f345a3bbe9 100644 (file)
@@ -347,7 +347,7 @@ int RSEQ_TEMPLATE_IDENTIFIER(rseq_load_cbne_memcpy_store__ptr)(intptr_t *v, intp
                RSEQ_ASM_CBNE_CPU_ID(cpu_id, current_cpu_id, %l[error1])
                RSEQ_ASM_OP_CBNE(v, expect, %l[error2])
 #endif
-               RSEQ_ASM_OP_R_BAD_MEMCPY(dst, src, len)
+               RSEQ_ASM_OP_R_BYTEWISE_MEMCPY(dst, src, len)
                RSEQ_INJECT_ASM(5)
 #ifdef RSEQ_TEMPLATE_MO_RELEASE
                RSEQ_ASM_OP_FINAL_STORE_RELEASE(newv, v, 3)
index d73a80b7839f88d0eb91bc92b6afc843f2c707ee..d1da1eca4168aff2bb74617cd8cbec6f38c1dfee 100644 (file)
@@ -192,7 +192,7 @@ do {                                                                                \
        "       str     " RSEQ_ASM_TMP_REG ", %[" __rseq_str(var) "]\n"         \
        __rseq_str(post_commit_label) ":\n"
 
-#define RSEQ_ASM_OP_R_BAD_MEMCPY(dst, src, len)                                        \
+#define RSEQ_ASM_OP_R_BYTEWISE_MEMCPY(dst, src, len)                           \
        "       cbz     %[" __rseq_str(len) "], 333f\n"                         \
        "       mov     " RSEQ_ASM_TMP_REG_2 ", %[" __rseq_str(len) "]\n"       \
        "222:   sub     " RSEQ_ASM_TMP_REG_2 ", " RSEQ_ASM_TMP_REG_2 ", #1\n"   \
This page took 0.026919 seconds and 4 git commands to generate.