From 4bba6e7176632b4d760ba9362a1515552471d741 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 29 Apr 2016 21:54:39 +0200 Subject: Some optimisations, fix refsheet, and disable const/pure attributes in gmp in benchmark MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/zsplit.c | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 src/zsplit.c (limited to 'src/zsplit.c') diff --git a/src/zsplit.c b/src/zsplit.c deleted file mode 100644 index afb8a33..0000000 --- a/src/zsplit.c +++ /dev/null @@ -1,22 +0,0 @@ -/* See LICENSE file for copyright and license details. */ -#include "internals.h" - - -void -zsplit(z_t high, z_t low, z_t a, size_t delim) -{ - if (unlikely(zzero(a))) { - /* This is for performance. */ - SET_SIGNUM(high, 0); - SET_SIGNUM(low, 0); - return; - } - - if (unlikely(high == a)) { - ztrunc(low, a, delim); - zrsh(high, a, delim); - } else { - zrsh(high, a, delim); - ztrunc(low, a, delim); - } -} -- cgit v1.2.3-70-g09d2