mirror of
https://github.com/minetest/irrlicht.git
synced 2024-12-25 15:42:25 +01:00
No longer try to use __asm on _WIN64 in VisualStudio.
64-bit asm isn't supported on VS (and I suppose we used 32-bit asm anyway). git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6010 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
parent
5c8f0484da
commit
79800125ae
@ -524,7 +524,7 @@ namespace core
|
||||
REALINLINE f32 reciprocal_squareroot(const f32 f)
|
||||
{
|
||||
#if defined ( IRRLICHT_FAST_MATH )
|
||||
#if defined(_MSC_VER)
|
||||
#if defined(_MSC_VER) && !defined(_WIN64)
|
||||
// SSE reciprocal square root estimate, accurate to 12 significant
|
||||
// bits of the mantissa
|
||||
f32 recsqrt;
|
||||
@ -561,7 +561,7 @@ namespace core
|
||||
// bi ts of the mantissa
|
||||
// One Newton-Raphson Iteration:
|
||||
// f(i+1) = 2 * rcpss(f) - f * rcpss(f) * rcpss(f)
|
||||
#if defined(_MSC_VER)
|
||||
#if defined(_MSC_VER) && !defined(_WIN64)
|
||||
f32 rec;
|
||||
__asm rcpss xmm0, f // xmm0 = rcpss(f)
|
||||
__asm movss xmm1, f // xmm1 = f
|
||||
@ -603,7 +603,7 @@ namespace core
|
||||
// bi ts of the mantissa
|
||||
// One Newton-Raphson Iteration:
|
||||
// f(i+1) = 2 * rcpss(f) - f * rcpss(f) * rcpss(f)
|
||||
#if defined(_MSC_VER)
|
||||
#if defined(_MSC_VER) && !defined(_WIN64)
|
||||
f32 rec;
|
||||
__asm rcpss xmm0, f // xmm0 = rcpss(f)
|
||||
__asm movss xmm1, f // xmm1 = f
|
||||
@ -643,7 +643,7 @@ namespace core
|
||||
|
||||
s32 t;
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#if defined(_MSC_VER) && !defined(_WIN64)
|
||||
__asm
|
||||
{
|
||||
fld x
|
||||
@ -675,7 +675,7 @@ namespace core
|
||||
|
||||
s32 t;
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#if defined(_MSC_VER) && !defined(_WIN64)
|
||||
__asm
|
||||
{
|
||||
fld x
|
||||
@ -706,7 +706,7 @@ namespace core
|
||||
#if defined(IRRLICHT_FAST_MATH)
|
||||
s32 t;
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#if defined(_MSC_VER) && !defined(_WIN64)
|
||||
__asm
|
||||
{
|
||||
fld x
|
||||
|
Loading…
Reference in New Issue
Block a user