From 1ce704dc1d2f2951694e2031831caa016b8cf601 Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Tue, 20 Nov 2012 21:33:41 +0000 Subject: ARM code pixmap subsampler. Move the assembly macros into fitz-internal.h. --- draw/draw_simple_scale.c | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'draw') diff --git a/draw/draw_simple_scale.c b/draw/draw_simple_scale.c index 90fd75e0..29050387 100644 --- a/draw/draw_simple_scale.c +++ b/draw/draw_simple_scale.c @@ -20,28 +20,6 @@ intermediate results rather than ints. */ #define SINGLE_PIXEL_SPECIALS -#ifdef NDK_PROFILER -extern void __gnu_mcount_nc(void); -#define ENTER_PG "push {lr}\nbl __gnu_mcount_nc\n" -#else -#define ENTER_PG -#endif - -/* If we're compiling as thumb code, then we need to tell the compiler - * to enter and exit ARM mode around our assembly sections. If we move - * the ARM functions to a separate file and arrange for it to be compiled - * without thumb mode, we can save some time on entry. - */ -#ifdef ARCH_ARM -#ifdef ARCH_THUMB -#define ENTER_ARM ".balign 4\nmov r12,pc\nbx r12\n0:.arm\n" ENTER_PG -#define ENTER_THUMB "9:.thumb\n" ENTER_PG -#else -#define ENTER_ARM -#define ENTER_THUMB -#endif -#endif - #ifdef DEBUG_SCALING #ifdef WIN32 #include -- cgit v1.2.3