Developer Reference
Visible to Intel only — GUID: GUID-1DD5B246-A5CD-4A07-BBC3-DBF387C4CA2B
Log2
Computes the base 2 logarithm of vector elements.
Performance:
Intel® Xeon® Processor E5-2680 | Intel® Xeon® Processor E5-2699 v3 | Intel® Xeon® Processor E5-2699 v4 | Intel® Xeon® Gold 6148 Processor | ||
---|---|---|---|---|---|
single | HA | 3.56 | 3.63 | 3.04 | 1.17 |
LA | 2.17 | 1.50 | 1.38 | 0.63 | |
EP | 2.17 | 1.07 | 0.96 | 0.57 | |
double | HA | 6.86 | 6.44 | 5.35 | 2.58 |
LA | 6.12 | 5.45 | 4.71 | 2.11 | |
EP | 5.22 | 5.06 | 4.34 | 1.68 |
Notes:
- Units - CPE (Clocks per Element)
Performance was measured on "working" interval (double precision: [ 0.1, 10000.0 ]; single precision: [ 0.1, 10000.0 ])
Data - vectors of 1000 elements with random generated numbers.
All data was collected with 64-bit libraries.
Accuracy:
Intel® Xeon® Processor E5-2680 | Intel® Xeon® Processor E5-2699 v3 | Intel® Xeon® Processor E5-2699 v4 | Intel® Xeon® Gold 6148 Processor | ||
---|---|---|---|---|---|
single | HA | 0.68 | 0.68 | 0.68 | 0.53 |
LA | 2.08 | 2.08 | 2.08 | 2.12 | |
EP | 893.54 | 893.54 | 893.54 | 30.16 | |
double | HA | 0.50 | 0.50 | 0.50 | 0.52 |
LA | 2.02 | 2.02 | 2.02 | 1.81 | |
EP | 1.78E+06 | 1.78E+06 | 1.78E+06 | 2.78E+06 |
NOTE:
Units - ULP (Units in the Last Place).
Performance Graphs:
Parent topic: Logarithmic