Make xxland syntax gcc-only

This commit is contained in:
Stan Shebs 2018-09-26 14:14:49 -07:00 committed by Fangrui Song
parent 5e4f72b895
commit 4b86f820b8

View File

@ -27,7 +27,7 @@ static inline int
__float_and_test28 (float num, float value)
{
float ret;
#ifdef _ARCH_PWR7
#if defined _ARCH_PWR7 && !defined __clang__
union {
int i;
float f;
@ -51,7 +51,7 @@ static inline int
__float_and_test24 (float num, float value)
{
float ret;
#ifdef _ARCH_PWR7
#if defined _ARCH_PWR7 && !defined __clang__
union {
int i;
float f;
@ -73,7 +73,7 @@ static inline float
__float_and8 (float num)
{
float ret;
#ifdef _ARCH_PWR7
#if defined _ARCH_PWR7 && !defined __clang__
union {
int i;
float f;
@ -95,7 +95,7 @@ static inline int32_t
__float_get_exp (float num)
{
int32_t inum;
#ifdef _ARCH_PWR7
#if defined _ARCH_PWR7 && !defined __clang__
float ret;
union {
int i;