diff --git a/paddle/fluid/platform/denormal.cc b/paddle/fluid/platform/denormal.cc index 95a93848df0100f4d654e05c9dee5e81517741d8..02c69dae9cc27bfdaff7f69833556f590c7bb987 100644 --- a/paddle/fluid/platform/denormal.cc +++ b/paddle/fluid/platform/denormal.cc @@ -27,7 +27,7 @@ #define GCC_WITHOUT_INTRINSICS #endif -#if !defined(GCC_WITHOUT_INTRINSICS) +#if !defined(GCC_WITHOUT_INTRINSICS) && !defined(PADDLE_WITH_ARM) #define DENORM_USE_INTRINSICS #endif