diff options
author | Takamichi Horikawa <takamichiho@gmail.com> | 2017-04-03 22:24:30 +0900 |
---|---|---|
committer | Takamichi Horikawa <takamichiho@gmail.com> | 2017-04-03 22:24:30 +0900 |
commit | 21c6232b797baaad10c305f98cd96765876505c1 (patch) | |
tree | 71d69769bfa433b2c88bf6801ad9b3e8cb6a7b86 /fmdsp/fmdsp.h | |
parent | e897b22bddec9bd93a228346d3f0ec615bb93d7a (diff) |
set optimization level at function attribute
Diffstat (limited to 'fmdsp/fmdsp.h')
-rw-r--r-- | fmdsp/fmdsp.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 |