Author Topic: Problems with msse3 SSE  (Read 4393 times)

Offline sdrh

  • Single posting newcomer
  • *
  • Posts: 3
Problems with msse3 SSE
« on: April 19, 2011, 07:04:08 pm »
Hello,
I am using code blocks 10.05 mingw under windows vista
I working with a matrix library called "Eigen".
Actually, I just want to enable -mss3 (SS) compiling  options. (in order to make the library working faster)
Could someone tell me how to do it ?

thks.

Online stahta01

  • Lives here!
  • ****
  • Posts: 7600
    • My Best Post
Re: Problems with msse3 SSE
« Reply #1 on: April 19, 2011, 07:24:13 pm »
Try under "Project" -> "build Options"
Select proper target in left hand panel
Tab "Compiler Settings"
Sub-Tab "Compiler Flags" Check here for the Compiler Option
Sub-Tab "Other options" If not in "Compiler Flags" add the option here.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline sdrh

  • Single posting newcomer
  • *
  • Posts: 3
Re: Problems with msse3 SSE
« Reply #2 on: April 19, 2011, 11:43:14 pm »
thks for the fast answer.

My computer is a : core2 T5500, so I checked intel core2 --> my compiler returns error03 !
Is this the right option ?

If it's not, how can I add it through other options ?

Thks.

Online stahta01

  • Lives here!
  • ****
  • Posts: 7600
    • My Best Post
Re: Problems with msse3 SSE
« Reply #3 on: April 20, 2011, 01:38:30 am »
Turn on Full Compiler Logging
http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F

Type the option one per line in the "Other options" box.

Learn how your Compiler Works.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Problems with msse3 SSE
« Reply #4 on: April 20, 2011, 08:14:01 am »
Also, try at the command line. Your compiler might not (yet) support that option and/or there is another compiler in the PATH that supersedes the one shipped with C::B.

To verify:
Turn on Full Compiler Logging
http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Problems with msse3 SSE
« Reply #5 on: April 20, 2011, 08:15:25 am »
Your screenshot shows, that you have checked the "Intel Pentuim M" option and not the "Core2"-option.

Offline sdrh

  • Single posting newcomer
  • *
  • Posts: 3
Re: Problems with msse3 SSE
« Reply #6 on: April 21, 2011, 09:25:36 am »
it's just a screenshot, i tried both don't worry ^^
Thks for answers.