diff options
Diffstat (limited to 'frontend')
-rw-r--r-- | frontend/cspace_arm.S | 3 | ||||
-rw-r--r-- | frontend/cspace_neon.S (renamed from frontend/cspace_neon.s) | 14 |
2 files changed, 7 insertions, 10 deletions
diff --git a/frontend/cspace_arm.S b/frontend/cspace_arm.S index e9d15a5..67778da 100644 --- a/frontend/cspace_arm.S +++ b/frontend/cspace_arm.S @@ -26,8 +26,7 @@ #endif .endm -.global bgr555_to_rgb565 @ void *dst, const void *src, int bytes -bgr555_to_rgb565: +FUNCTION(bgr555_to_rgb565): @ void *dst, const void *src, int bytes pld_ r1 push {r4-r11,lr} mov lr, #0x001f diff --git a/frontend/cspace_neon.s b/frontend/cspace_neon.S index b458f06..e7b48a9 100644 --- a/frontend/cspace_neon.s +++ b/frontend/cspace_neon.S @@ -8,11 +8,12 @@ * See the COPYING file in the top-level directory. */ +#include "arm_features.h" + .text .align 2 -.global bgr555_to_rgb565 -bgr555_to_rgb565: +FUNCTION(bgr555_to_rgb565): pld [r1] mov r3, #0x07c0 vdup.16 q15, r3 @@ -74,8 +75,7 @@ btr16_end16: bx lr -.global bgr888_to_rgb888 -bgr888_to_rgb888: +FUNCTION(bgr888_to_rgb888): pld [r1] @ r2 /= 48 mov r2, r2, lsr #4 @@ -96,8 +96,7 @@ bgr888_to_rgb888: bx lr -.global bgr888_to_rgb565 -bgr888_to_rgb565: +FUNCTION(bgr888_to_rgb565): pld [r1] @ r2 /= 48 mov r2, r2, lsr #4 @@ -129,8 +128,7 @@ bgr888_to_rgb565: bx lr -.global rgb888_to_rgb565 -rgb888_to_rgb565: +FUNCTION(rgb888_to_rgb565): pld [r1] @ r2 /= 48 mov r2, r2, lsr #4 |