Related articles |
---|
Support for packed instructions? linuxkaffee@gmx.net (Stephan Ceram) (2009-03-06) |
Re: Support for packed instructions? cr88192@hotmail.com (cr88192) (2009-03-07) |
Re: Support for packed instructions? bfranke@inf.ed.ac.uk (=?ISO-8859-1?Q?Bj=F6rn_Franke?=) (2009-03-09) |
From: | Stephan Ceram <linuxkaffee@gmx.net> |
Newsgroups: | comp.compilers |
Date: | 6 Mar 2009 16:02:42 GMT |
Organization: | Compilers Central |
Keywords: | parallel, optimize, question |
Posted-Date: | 06 Mar 2009 21:20:58 EST |
Many modern compilers support packed instructions (also called SIMD).
However, languages like ANSI-C do not allow to express the data
parallelism explicitly. So, some compiler vendors provide intrinsic
functions that can be manually added into the source code and force
the compiler to generate packed instructions. However, the manual
insertion of these intrinsic functions makes the code not more
portable.
Do you know of any compiler source-to-source optimizations that
automatically analyse ANSI-C code, find opportunities for the
utilization of packed instructions and finally add them to the source
code that is passed in the next step to a compiler? If so, how do such
approaches work in general?
Best,
Stephan
Return to the
comp.compilers page.
Search the
comp.compilers archives again.