3 ms·
Things like the condition flags, or GPU execution flags, or other 'implicit' flags are when assembly is needed. Otherwise, intrinsics are sufficient. And with
by dragontamer 2y ago
Things like the condition flags, or GPU execution flags, or other 'implicit' flags are when assembly is needed.
Otherwise, intrinsics are sufficient. And with wavefront voting / ballot instructions (and intrinsics) being so readily available on modern GPUs, there's very little reason to go to those assembly level / machine code flags or registers.
Similarly, back when ccmov instructions weren't reliably output by compilers, you'd probably want raw assembly. But today I think it's safe to rely upon the optimizers.