There has been no answer to this question, and I'm also very interested in hearing,so I'm bumping it;
I have seen a number of references stating that hardware since the R600 or so supports IEEE 754 floating
point, so NaNs & Infs, but a function like isnan() is not accepted by the brcc. How is one to use the hardware
I didn't try it, but maybe a = 1.0 / 0.0; works for infinity and a = 0.0 / 0.0; for NaN - as for checking for these values, I have no clue
Good idea! The resulting kernel code contains:
"zeroop" seems to suggest that no operation will be performed in the assembled machine code. Is that correct?