I will ask my question by giving an example. Now I have a function called do_something().
do_something()
It has three versions: do_something(), do_s
do_s
I think that the Mystical's tip is fine, but if you really want to do it in the one file, you can use proper pragmas, for instance:
#pragma GCC target("sse4.1")
GCC 4.4 is needed, AFAIR.