Author Topic: to get VC++ generate asm?  (Read 513 times)

fearless

  • Member
  • ***
  • Posts: 371
    • LetTheLightIn
Re: to get VC++ generate asm?
« Reply #15 on: March 15, 2019, 02:34:25 AM »
no idea what this jmps/calls do,but they have nothing todo with SSE
the __ftol2_sse is a ms visual c library function to convert float to long - the code in __ftol2_sse checks to see if it can use sse to calc that, otherwise it defaults to whatever normal non sse code is in that function.
fearless

CM690II Case, HX1000 PSU, Asus Z97, Intel i7-4790K, Seidon 120v Cooler, 16GB DDR3, MSI GTX 980TI

www.LetTheLight.in  My Github  Twitter

TimoVJL

  • Member
  • **
  • Posts: 211
Re: to get VC++ generate asm?
« Reply #16 on: March 15, 2019, 03:13:32 AM »
To avoid SSE:
/QIfist[-] use FIST instead of ftol()
/arch:IA32 - use no enhanced instructions and use x87 for floating point
May the source be with you

daydreamer

  • Member
  • ****
  • Posts: 699
  • watch Chebyshev on the backside of the Moon
Re: to get VC++ generate asm?
« Reply #17 on: March 16, 2019, 04:51:21 AM »
thanks Steve,Timo,fearless
Quote from Flashdance
Nick  :  When you give up your dream, you die
*wears a flameproof asbestos suit*