Complex Operations#
The table below lists the costs for standard single-precision, floating-point functions. For OpenCL, it assumes the -cl-fast-relaxed-math
compilation flag.
A low cost represents less than 30 hardware instructions, and a high cost represents more than 100 instructions. 30 to 100 instructions is considered a medium cost.
Function |
Cost |
---|---|
|
Low |
|
Low |
|
Low |
|
Low |
|
Low |
|
Low |
|
Low |
|
Medium |
|
Medium |
|
Low |
|
Medium |
|
Medium |
|
Low |
|
Low |
|
Low |
|
High |
|
Low |
|
Low |
|
High |
|
Medium |
|
Medium |
|
Medium |
|
Low |
|
Medium |
|
Medium |
|
Medium |
|
Medium |
|
High |
|
High |
|
High |
|
High |
|
Low |
|
Low |
|
Medium |
|
Low |
|
Low |
|
Medium |
|
High |
|
High |
|
Low |
|
Low |
|
Low |
|
Low |
|
Low |
|
Low |
|
Low |
|
Medium |
|
Medium |
|
Low |
|
Medium |
|
Low |
|
Medium |
|
Medium |
|
Medium |
|
Low |
|
Low |
|
Low |
|
Low |
|
Medium |
|
Medium |
|
Low |
|
Low |
|
Low |
|
Low |
|
Low |
|
High |
|
High |
|
High |
|
Low |