This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/41201] #pragma GCC target ("sse2") doesn't alter __SSE2__ in C++ (as it does in C)



------- Comment #5 from justin dot lebar+bug at gmail dot com  2010-07-26 16:20 -------
FWIW, it seems that MSVC is perfectly happy to compile code with intrinsics
inside a file which doesn't have any special flags.  It would be awesome if
there were some way to do the same with GCC, even if it involves #pragma
hackery.  The current limitation makes using intrinsics pretty painful, as it
requires a separate file for each targeted instruction set.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41201


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]