Work around a clang problem with asm constraints

This commit is contained in:
Stan Shebs 2019-04-24 08:01:50 -07:00
parent 1ba307084e
commit 64b3e177bc

View File

@ -19,7 +19,7 @@
#ifndef X86_MATH_BARRIERS_H
#define X86_MATH_BARRIERS_H 1
#ifdef __SSE2_MATH__
#if defined(__SSE2_MATH__) && !defined(__clang__)
# define math_opt_barrier(x) \
({ __typeof(x) __x; \
if (sizeof (x) <= sizeof (double) \