From 21c6232b797baaad10c305f98cd96765876505c1 Mon Sep 17 00:00:00 2001 From: Takamichi Horikawa Date: Mon, 3 Apr 2017 22:24:30 +0900 Subject: set optimization level at function attribute --- fmdsp/fmdsp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fmdsp/fmdsp.h') diff --git a/fmdsp/fmdsp.h b/fmdsp/fmdsp.h index a8c3edc..1aba5d9 100644 --- a/fmdsp/fmdsp.h +++ b/fmdsp/fmdsp.h @@ -58,10 +58,10 @@ extern fmdsp_vramlookup_type fmdsp_vramlookup_func; void fmdsp_vramlookup_c(uint8_t *vram32, const uint8_t *vram, const uint8_t *palette, - int stride); + int stride) __attribute__((hot,optimize(3))); void fmdsp_vramlookup_neon(uint8_t *, const uint8_t *, const uint8_t *, int); -void fmdsp_vramlookup_ssse3(uint8_t *, const uint8_t *, const uint8_t *, int); +void fmdsp_vramlookup_ssse3(uint8_t *, const uint8_t *, const uint8_t *, int) __attribute__((hot,optimize(3))); #ifdef __cplusplus } #endif -- cgit v1.2.3