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

fearless

  • Member
  • ***
  • Posts: 388
    • 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

My Github  Twitter

TimoVJL

  • Member
  • ***
  • Posts: 279
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: 775
  • 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*

daydreamer

  • Member
  • ****
  • Posts: 775
  • watch Chebyshev on the backside of the Moon
Re: to get VC++ generate asm?
« Reply #18 on: May 11, 2019, 01:47:15 AM »
this IDE and C++ compiler seem like a way to make a bigger project,mixing masm code and C++ code
enjoy use masm code in a project,while C++ code to make you more productive where speed doesnt matter, to maybe finally put together a big project
but also fun in compare a long switch with a jumptable
Quote from Flashdance
Nick  :  When you give up your dream, you die
*wears a flameproof asbestos suit*