Returning from Ct Functions

We strongly recommend changing the source code below by creating a return variable.



Only use return (not _return) at the end of a function (it's a "hard return"). The test code used C++ return instead of Ct’s _return.

We currently do not support _return. We are diligently in progress of supporting _return inside any control flow _if/_for/_while construct. So far, only O0 (emulation only mode) supports the _return value. We are planning on supporting a _return value at O2/O3 too.

Also note that, once _return is present in a map function, it is not SIMDized, but serialized.

Pour de plus amples informations sur les optimisations de compilation, consultez notre Avertissement concernant les optimisations.
Catégories: