Hi All,

I'm new to ISPC and have been playing around with it a bit to evaluate if 
it's a possible solution for our codebase. So far I'm liking it ;) 

A general question I've not been able to find a solution too is if there is 
something similar to __builtin_unreachable() in GCC.

Looking at this simple example https://ispc.godbolt.org/z/Meee-G  I'd like 
to disable the code path where (S>25) is false for all instances in a gang 
to get rid of the additional check in the assembly.
Keep in mind that this is a simple example so it's not so much about if 
this will really increase performance, but more about if I can do it.

I was hoping for something like:  if ( none ( S > 25 ) ) flag_unreachable;

Cheers,
Christoph

-- 
You received this message because you are subscribed to the Google Groups 
"Intel SPMD Program Compiler Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to