Code::Blocks Forums

User forums => Help => Topic started by: IanShaw on November 08, 2009, 10:02:56 pm

Title: No option to compile SSE4.1
Post by: IanShaw on November 08, 2009, 10:02:56 pm
I'm trying to compile programs with SSE4.1 instructions, but I can't find the options to enable them.
The Project...Build Options do not have check boxes for -msse4.1 or -march=core2.

Is there a way to enable them, perhaps by adding manual options?

I CAN build from the command line, but this seems like a waste of an IDE.

I'm compiling with:
>mingw32-gcc.exe --version
mingw32-gcc.exe (GCC) 4.4.0
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Title: Re: No option to compile SSE4.1
Post by: polygon7 on November 08, 2009, 11:00:35 pm
Right click on project name in "Management, Projects", choose "build options", then go to "Compiler settings", "other options" and write there "-msse4.1" and/or "-march=core2".
Title: Re: No option to compile SSE4.1
Post by: IanShaw on November 08, 2009, 11:14:34 pm
Perfect. Thanks a lot.

-- Ian