Skip to content

Commit 619869b

Browse files
authored
fix compile error on sw and mips (#30584)
1 parent a0e82c2 commit 619869b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

paddle/fluid/platform/denormal.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
#define GCC_WITHOUT_INTRINSICS
2828
#endif
2929

30-
#if !defined(GCC_WITHOUT_INTRINSICS) && !defined(PADDLE_WITH_ARM)
30+
#if !defined(GCC_WITHOUT_INTRINSICS) && !defined(PADDLE_WITH_ARM) && \
31+
!defined(PADDLE_WITH_SW) && !defined(PADDLE_WITH_MIPS)
3132
#define DENORM_USE_INTRINSICS
3233
#endif
3334

0 commit comments

Comments
 (0)