- Add #pragma function to a number of intrisics that we implement to avoid a compiler error of MSVC
- Add a workaround to prevent some functions from being inlined
- Move sqrtf out of i386 directory
- Convert a number of inline assembly functions to raw assembly

svn path=/branches/cmake-bringup/; revision=49534
This commit is contained in:
Timo Kreuzer 2010-11-08 18:36:45 +00:00
parent 5e6639c9b2
commit 84b1635034
19 changed files with 130 additions and 175 deletions

12
lib/sdk/crt/math/sqrtf.c Normal file
View file

@ -0,0 +1,12 @@
/**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the w64 mingw-runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
#include <math.h>
float
_sqrtf(float x)
{
return ((float)sqrt((double)x));
}