Code::Blocks Forums
User forums => Help => Topic started 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.
-
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".
-
Perfect. Thanks a lot.
-- Ian