mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-01-04 00:23:25 +08:00
Revert "Remove depricated register declaration"
This reverts commit 75ca4f2cd356d56292e24bc8d9010ed6208a9ba4.
This commit is contained in:
parent
75ca4f2cd3
commit
668b2d2a81
@ -328,7 +328,7 @@ void inline SinCos( float radians, float *sine, float *cosine )
|
|||||||
fstp DWORD PTR [eax]
|
fstp DWORD PTR [eax]
|
||||||
}
|
}
|
||||||
#elif defined ( _LINUX ) || defined ( __APPLE__ )
|
#elif defined ( _LINUX ) || defined ( __APPLE__ )
|
||||||
double __cosr, __sinr;
|
register double __cosr, __sinr;
|
||||||
__asm __volatile__
|
__asm __volatile__
|
||||||
("fsincos"
|
("fsincos"
|
||||||
: "=t" (__cosr), "=u" (__sinr) : "0" (radians));
|
: "=t" (__cosr), "=u" (__sinr) : "0" (radians));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user