News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Problems with msse3 SSE

Started by sdrh, April 19, 2011, 07:04:08 PM

Previous topic - Next topic

sdrh

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.

stahta01

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++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

sdrh

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.

stahta01

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++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

MortenMacFly

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:
Quote from: stahta01 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
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

Jenna

Your screenshot shows, that you have checked the "Intel Pentuim M" option and not the "Core2"-option.

sdrh

it's just a screenshot, i tried both don't worry ^^
Thks for answers.