From 21c6232b797baaad10c305f98cd96765876505c1 Mon Sep 17 00:00:00 2001
From: Takamichi Horikawa <takamichiho@gmail.com>
Date: Mon, 3 Apr 2017 22:24:30 +0900
Subject: set optimization level at function attribute

---
 libopna/opnassg.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'libopna')

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];
 
-- 
cgit v1.2.3