summaryrefslogtreecommitdiff
path: root/avx512-0037785/rtl/xtensa/mathu.inc
diff options
context:
space:
mode:
Diffstat (limited to 'avx512-0037785/rtl/xtensa/mathu.inc')
-rw-r--r--avx512-0037785/rtl/xtensa/mathu.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/avx512-0037785/rtl/xtensa/mathu.inc b/avx512-0037785/rtl/xtensa/mathu.inc
index 06b7338fa7..381a7d00df 100644
--- a/avx512-0037785/rtl/xtensa/mathu.inc
+++ b/avx512-0037785/rtl/xtensa/mathu.inc
@@ -20,6 +20,7 @@ function GetRoundMode: TFPURoundingMode;
function SetRoundMode(const RoundMode: TFPURoundingMode): TFPURoundingMode;
begin
+ SetRoundMode:=softfloat_rounding_mode;
softfloat_rounding_mode:=RoundMode;
end;