The gcc manual gives:
-mfma4
-mno-fma4
-mxop
-mno-xop
Obviously, depending on the age of your compiler, these may not be supported (but then the compiler won't generate the instructions either)
It is possible to achieve the same thing with -march
or similar, but that is much coarser, and will probably turn of a bunch of other extensions/options.