News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Where is ftol2_sse?

Started by Farabi, December 27, 2010, 06:48:43 AM

Previous topic - Next topic

Farabi

Anyone know where is ftol2_sse function?
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"

qWord

sounds like an msvcrt-function. However, you could also do it like:
movss xmm0,FP4(1.0)
cvtss2si eax,xmm0 ; SSE

; or
movsd xmm0,FP8(1.0)
cvtsd2si eax,xmm0 ; SSE2


qWord
FPU in a trice: SmplMath
It's that simple!

Farabi

Quote from: qWord on December 27, 2010, 11:26:31 AM
sounds like an msvcrt-function. However, you could also do it like:
movss xmm0,FP4(1.0)
cvtss2si eax,xmm0 ; SSE

; or
movsd xmm0,FP8(1.0)
cvtsd2si eax,xmm0 ; SSE2


qWord

No, I need the dll. The .lib is linked to that function and I cant patch it.
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"

dedndave

it may be included in a newer C compiler or VS package, Onan
another place you might look is a newer directX SDK

Farabi

Quote from: dedndave on December 27, 2010, 02:03:15 PM
it may be included in a newer C compiler or VS package, Onan
another place you might look is a newer directX SDK

I'll try it.
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"

GregL

Farabi,

ftol2_sse is an internal C function that is called when a cast or conversion is made from a floating point variable to an integer. It was first used in VC 2005 (8.0).  Before that it was ftol_sse and before that ftol.




Farabi

what is this mean?

Quote
manifestdependency:type='win32' name='Microsoft.VC80.CRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"

Antariy

Quote from: Farabi on December 27, 2010, 06:48:43 AM
Anyone know where is ftol2_sse function?

It is in static RTL of modern MSVCs.

GregL

Quote from: farabiwhat is this mean?

Quote
manifestdependency:type='win32' name='Microsoft.VC80.CRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"; ignored

That is part of a manifest for the VC++ 2005 (8.0) C Run-Time (CRT) Library. The manifest must be embedded in the executable or included as a separate file to use the library.




dedndave

i'd like to know the context of that string
it looks like it is in source
where did you see that message, Onan ?

Farabi

Quote from: dedndave on December 31, 2010, 03:24:33 AM
i'd like to know the context of that string
it looks like it is in source
where did you see that message, Onan ?

I saw that message on RadAsm, when I compiled my executable.
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"

dedndave

well - i don't understand how it can be ignored - lol
if your program requires that minimum version, then you might want a manifest file
there are some great examples by Edgar, Hutch, and others floating around
forum search tool  :U

Farabi

Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"

GregL

Farabi,

Are you linking to MSVCR80.DLL?

Farabi

Quote from: GregL on January 01, 2011, 04:10:55 AM
Farabi,

Are you linking to MSVCR80.DLL?


I dont know. I tried to use agar library, it is a OpenGL UI library, and it need that dll.
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"