Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Juno CDT SSE4.1 intrinsics support
Juno CDT SSE4.1 intrinsics support [message #932754] Thu, 04 October 2012 11:52 Go to next message
Brian Jensen is currently offline Brian Jensen
Messages: 2
Registered: October 2012
Junior Member
I am having problems getting the CDT code analyzer to recognize SSE 4.1 intrinsics used in several project files. I am running on Ubuntu 12.04 with gcc 4.6 and the Juno CDT release. My code is able to compile and run just fine. All of the SSE2 intrinsics in my code are properly recognized.

Each use of an SSE4.1 intrinsic results in the CDT analyzer complaining about the corresponding compiler built-in missing, for example

_mm_insert_epi64(rowSum_vec, rowSum, 0);


results in the following error:

Function '__builtin_ia32_vec_set_v2di' could not be resolved


I have added the option -msee4.1 to the Discovery settings tab under Workspace Preferences C/C++ -> Build -> Settings, and have verified that the appropriate SSE preprocessor definitions are set in the CDT Build Console. Under C/C++ General -> Preprocessor Include Paths, Macros -> Providers of the project settings I have enabled the CDT GCC Builtin Compiler Settings option. In generall the SSE4.1 definitions seem to parse correctly, in my opinion it looks like CDT is missing knowledge about the underlying compiler built-ins.

So my question is, does the CDT analyzer support SSE4.1 intrinsics? If yes, what do I have to do to properly enable their support by the code analyzer?
Re: Juno CDT SSE4.1 intrinsics support [message #934914 is a reply to message #932754] Sat, 06 October 2012 13:01 Go to previous messageGo to next message
Andrew Gvozdev is currently offline Andrew Gvozdev
Messages: 255
Registered: July 2009
Senior Member
Scanner discovery does not handle built-in functions. For those there is bugzilla issue https://bugs.eclipse.org/bugs/show_bug.cgi?id=352537.

Andrew
Re: Juno CDT SSE4.1 intrinsics support [message #935146 is a reply to message #934914] Sat, 06 October 2012 18:44 Go to previous message
Brian Jensen is currently offline Brian Jensen
Messages: 2
Registered: October 2012
Junior Member
I figured as much, but just wanted to make sure I hadn't missed something.

Thanks for the info!

Brian
Previous Topic:Build a 64-bit Executable with CDT and MS Win 7 SDK
Next Topic:Compiler Visual C++ Builds but no Output Files
Goto Forum:
  


Current Time: Sat Oct 25 21:14:40 GMT 2014

Powered by FUDForum. Page generated in 0.02365 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software