diff options
author | Robin Watts <robin.watts@artifex.com> | 2012-11-20 21:33:41 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2012-11-21 00:56:56 +0000 |
commit | 1ce704dc1d2f2951694e2031831caa016b8cf601 (patch) | |
tree | de4e69fc7bac05a13998fc876b61a8cedf3d6dfb /draw/draw_simple_scale.c | |
parent | b0b0b7717c05587b11f58a20d9d63bcccaca43ca (diff) | |
download | mupdf-1ce704dc1d2f2951694e2031831caa016b8cf601.tar.xz |
ARM code pixmap subsampler.
Move the assembly macros into fitz-internal.h.
Diffstat (limited to 'draw/draw_simple_scale.c')
-rw-r--r-- | draw/draw_simple_scale.c | 22 |
1 files changed, 0 insertions, 22 deletions
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 <windows.h> |