diff options
author | Yi Kong <yikong@google.com> | 2019-03-27 04:18:37 +0000 |
---|---|---|
committer | Yi Kong <yikong@google.com> | 2019-03-27 04:18:37 +0000 |
commit | e204d244badb2e9765a1020f41c773f63da208f4 (patch) | |
tree | 3111534fc574456223b949340ec1bd053cdbbb07 /compiler-rt/lib/builtins/fp_mode.c | |
parent | 5321dcd608a1d9b1b172b33838f1cfd29e0fed10 (diff) | |
download | bcm5719-llvm-e204d244badb2e9765a1020f41c773f63da208f4.tar.gz bcm5719-llvm-e204d244badb2e9765a1020f41c773f63da208f4.zip |
Revert "[builtins] Rounding mode support for addxf3/subxf3"
This reverts commit 2cabea054e40ae2837da959d0ca89ae25cf1b1f1.
Test failure on buildbots.
llvm-svn: 357048
Diffstat (limited to 'compiler-rt/lib/builtins/fp_mode.c')
-rw-r--r-- | compiler-rt/lib/builtins/fp_mode.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/compiler-rt/lib/builtins/fp_mode.c b/compiler-rt/lib/builtins/fp_mode.c deleted file mode 100644 index c1b6c1f6b8a..00000000000 --- a/compiler-rt/lib/builtins/fp_mode.c +++ /dev/null @@ -1,24 +0,0 @@ -//===----- lib/fp_mode.c - Floaing-point environment mode utilities --C -*-===// -// -// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. -// See https://llvm.org/LICENSE.txt for license information. -// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -// -//===----------------------------------------------------------------------===// -// -// This file provides a default implementation of fp_mode.h for architectures -// that does not support or does not have an implementation of floating point -// environment mode. -// -//===----------------------------------------------------------------------===// - -#include "fp_mode.h" - -// IEEE-754 default rounding (to nearest, ties to even). -FE_ROUND_MODE __fe_getround() { - return FE_TONEAREST; -} - -int __fe_raise_inexact() { - return 0; -} |