Commit 25020f26 authored by James Clarke's avatar James Clarke

fast_math.hpp: Use __asm__ rather than asm; fixes including with -std=c99

parent fa7e7e0f
......@@ -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__
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment