Skip to content

Commit 51e16bb

Browse files
committed
Merge pull request opencv#8976 from jrtc27:fast-math-asm
2 parents fa7e7e0 + 25020f2 commit 51e16bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/core/include/opencv2/core/fast_math.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
int res; \
8181
float temp; \
8282
(void)temp; \
83-
asm(_asm_string : [res] "=r" (res), [temp] "=w" (temp) : [value] "w" (_value)); \
83+
__asm__(_asm_string : [res] "=r" (res), [temp] "=w" (temp) : [value] "w" (_value)); \
8484
return res
8585
// 2. version for double
8686
#ifdef __clang__

0 commit comments

Comments
 (0)