From 3f3679d0004e14ca4e3aa6ec4fc1902756884654 Mon Sep 17 00:00:00 2001 From: Feng Zou Date: Tue, 2 Apr 2024 14:30:17 +0800 Subject: [PATCH] Enable rounding mode testing for i386 target --- MultiSource/UnitTests/Float/rounding/rounding.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MultiSource/UnitTests/Float/rounding/rounding.h b/MultiSource/UnitTests/Float/rounding/rounding.h index b4ba50b3fb..2e309ead68 100644 --- a/MultiSource/UnitTests/Float/rounding/rounding.h +++ b/MultiSource/UnitTests/Float/rounding/rounding.h @@ -6,7 +6,7 @@ // //===----------------------------------------------------------------------===// // -// Helper entities for rounding mode testing. +// Helper entities for rounding mode testing. // //===----------------------------------------------------------------------===// #ifndef _ROUNDING_H_ @@ -21,8 +21,8 @@ // Not all targets support getting/setting rounding mode using builtin // functions. -#if defined(__x86_64__) || defined(__aarch64__) || defined(__arm__) || \ - defined(__riscv) +#if defined(__i386__) || defined(__x86_64__) || defined(__aarch64__) || \ + defined(__arm__) || defined(__riscv) #define FLOAT_AVAILABLE 1 #define DOUBLE_AVAILABLE 1 #endif