From fdc75a358e4c20116640c08f4e8ce7a09dc3cebd Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 7 May 2016 03:02:56 +0200 Subject: Optimisations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/zxor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/zxor.c') diff --git a/src/zxor.c b/src/zxor.c index fe6b4cd..af1124e 100644 --- a/src/zxor.c +++ b/src/zxor.c @@ -26,11 +26,11 @@ zxor(z_t a, z_t b, z_t c) ENSURE_SIZE(a, m); if (a == b) { - ZMEM_2OP(a->chars, a->chars, cc, n, ^); + ZMEM_2OP_PRECISE(a->chars, a->chars, cc, n, ^); if (a->used < cn) zmemcpy_range(a->chars, cc, n, m); } else if (unlikely(a == c)) { - ZMEM_2OP(a->chars, b->chars, cc, n, ^); + ZMEM_2OP_PRECISE(a->chars, a->chars, bc, n, ^); if (a->used < bn) zmemcpy_range(a->chars, bc, n, m); } else if (m == bn) { -- cgit v1.2.3-70-g09d2