Merge pull request #8976 from jrtc27:fast-math-asm

This commit is contained in:
Alexander Alekhin 2017-06-23 15:51:48 +00:00
commit 51e16bbe81

View File

@ -80,7 +80,7 @@
int res; \
float 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
// 2. version for double
#ifdef __clang__