diff options
Diffstat (limited to 'libclc/generic/lib/math/math.h')
-rw-r--r-- | libclc/generic/lib/math/math.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libclc/generic/lib/math/math.h b/libclc/generic/lib/math/math.h index f46c7ea7a7d..0a109910bef 100644 --- a/libclc/generic/lib/math/math.h +++ b/libclc/generic/lib/math/math.h @@ -31,7 +31,12 @@ #define PNOR 0x100 #define PINF 0x200 +#if (defined __AMDGCN__ | defined __R600__) & !defined __HAS_FMAF__ +#define HAVE_HW_FMA32() (0) +#else #define HAVE_HW_FMA32() (1) +#endif + #define HAVE_BITALIGN() (0) #define HAVE_FAST_FMA32() (0) |