Skip to content

Commit 98f9d73

Browse files
jgu222igcbot
authored andcommitted
Prepare using predicated madm for nomask IEEE fdiv/sqrt
Currently, visa generate if-endif for IEEE macro. This change will add code that enables predicate macro sequence without using if-endif. If there is no Early-OUT (EO, such as NaN/Inf, etc common and fast cases), the kernel will go through madm sequences anyway, which will have no if-endif overhead with predicated madm. The only case that predicated madm would be a little worse is when all channels are EO, predicated madm would be a few cycles more. Also, for noMask IEEE fdiv/sqrt, using prdicated madm is the only choice. This change does not turn on predicated macro yet, and has no functional change.
1 parent cdd8372 commit 98f9d73

File tree

2 files changed

+133
-39
lines changed

2 files changed

+133
-39
lines changed

0 commit comments

Comments
 (0)