X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=StdLib%2FLibC%2FMain%2Fx86flt_rounds.c;fp=StdLib%2FLibC%2FMain%2Fx86flt_rounds.c;h=0000000000000000000000000000000000000000;hb=964f432b9b0afe103c41c7613fade3e699118afe;hp=86b484609851452839cab4a636f508f600aebafc;hpb=e2d3a25f1a3135221a9c8061e1b8f90245d727eb;p=mirror_edk2.git diff --git a/StdLib/LibC/Main/x86flt_rounds.c b/StdLib/LibC/Main/x86flt_rounds.c deleted file mode 100644 index 86b4846098..0000000000 --- a/StdLib/LibC/Main/x86flt_rounds.c +++ /dev/null @@ -1,22 +0,0 @@ -/** @file - Return the current FPU rounding mode. - - Copyright (c) 2010, Intel Corporation. All rights reserved.
- This program and the accompanying materials are licensed and made available under - the terms and conditions of the BSD License that accompanies this distribution. - The full text of the license may be found at - http://opensource.org/licenses/bsd-license.php. - - THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, - WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. -**/ - -extern int internal_FPU_rmode( void ); - -static INT8 rmode[] = { 1, 3, 2, 0 }; - -int -__flt_rounds ( void ) -{ - return rmode[ internal_FPU_rmode() ]; -}