mirror of
https://github.com/opencv/opencv.git
synced 2025-06-10 11:03:03 +08:00
Merge pull request #8976 from jrtc27:fast-math-asm
This commit is contained in:
commit
51e16bbe81
@ -80,7 +80,7 @@
|
|||||||
int res; \
|
int res; \
|
||||||
float temp; \
|
float temp; \
|
||||||
(void)temp; \
|
(void)temp; \
|
||||||
asm(_asm_string : [res] "=r" (res), [temp] "=w" (temp) : [value] "w" (_value)); \
|
__asm__(_asm_string : [res] "=r" (res), [temp] "=w" (temp) : [value] "w" (_value)); \
|
||||||
return res
|
return res
|
||||||
// 2. version for double
|
// 2. version for double
|
||||||
#ifdef __clang__
|
#ifdef __clang__
|
||||||
|
Loading…
Reference in New Issue
Block a user