Urban Terror Forums: Optimisation options for gcc on mingw building ioquake - Urban Terror Forums

Jump to content

 Login | Register 
Advertisement
Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

Optimisation options for gcc on mingw building ioquake Rate Topic: -----

#1 User is offline   mitsubishi Icon

  • Account: mitsubishi
  • Country:
  • Joined: 28-February 10
  • Posts: 13,481

Posted 07 March 2009 - 01:45 AM

I currently use -O3 -march=core2 -fno-tree-vectorize cause it crashes if tree-vectorize is enabled (by -O3) (in relation to SEE being enabled (by core2)). Mysteriously, -ffast-math makes it slower after those options as well as unroll-loops and the other common default stuff. -mfpmath=sse also crashes it unless its invoked on its own IIRC.

Has anyone found any better ones?

#2 User is offline   HoboHumpinSlut (old) Icon

  • Joined: 07-February 04
  • Posts: 2,308

Posted 07 March 2009 - 02:31 AM

found "-O3 -march=i686 -fno-math-errno -ffinite-math-only -fno-signaling-nans -fcx-limited-range -fno-trapping-math" in my Makefile.local. that's been there for ages though, but i remember trying various stuff...

i also remember the intel compiler (http://www.intel.com...lers/284132.htm) giving me even more performance. "-O3 -static-intel -xP " is what i found in my Makefile.local for that.

#3 User is offline   mitsubishi Icon

  • Account: mitsubishi
  • Country:
  • Joined: 28-February 10
  • Posts: 13,481

Posted 07 March 2009 - 11:49 AM

I'll look into those.

I wonder if intel compiler can be used on mingw.

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

Advertisement


Copyright © 1999-2024 Frozensand Games Limited  |  All rights reserved  |  Urban Terror™ and FrozenSand™ are trademarks of Frozensand Games Limited

Frozensand Games is a Limited company registered in England and Wales. Company Reg No: 10343942