aboutsummaryrefslogtreecommitdiff
path: root/libopna
diff options
context:
space:
mode:
authorTakamichi Horikawa <takamichiho@gmail.com>2017-04-03 22:24:30 +0900
committerTakamichi Horikawa <takamichiho@gmail.com>2017-04-03 22:24:30 +0900
commit21c6232b797baaad10c305f98cd96765876505c1 (patch)
tree71d69769bfa433b2c88bf6801ad9b3e8cb6a7b86 /libopna
parente897b22bddec9bd93a228346d3f0ec615bb93d7a (diff)
set optimization level at function attribute
Diffstat (limited to 'libopna')
-rw-r--r--libopna/opnassg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libopna/opnassg.h b/libopna/opnassg.h
index aadf53e..8af8429 100644
--- a/libopna/opnassg.h
+++ b/libopna/opnassg.h
@@ -65,9 +65,9 @@ typedef void (*opna_ssg_sinc_calc_func_type)(unsigned resampler_index,
const int16_t *inbuf, int32_t *outbuf);
extern opna_ssg_sinc_calc_func_type opna_ssg_sinc_calc_func;
void opna_ssg_sinc_calc_c(unsigned resampler_index,
- const int16_t *inbuf, int32_t *outbuf);
+ const int16_t *inbuf, int32_t *outbuf) __attribute__((hot, optimize(3)));
void opna_ssg_sinc_calc_neon(unsigned, const int16_t *, int32_t *);
-void opna_ssg_sinc_calc_sse2(unsigned, const int16_t *, int32_t *);
+void opna_ssg_sinc_calc_sse2(unsigned, const int16_t *, int32_t *) __attribute__((hot, optimize(3)));
extern const int16_t opna_ssg_sinctable[OPNA_SSG_SINCTABLELEN*2];