diff options
| author | Eric Dumazet <[email protected]> | 2010-11-18 22:04:46 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2010-11-19 10:06:54 -0800 |
| commit | c26aed40f4fd18f86bcc6aba557cab700b129b73 (patch) | |
| tree | e723d358ddd6facc3af4f37be02fabcf71e3e605 /tools/perf/scripts | |
| parent | 8c1592d68bc89248bfd0ee287648f41c1370d826 (diff) | |
filter: use reciprocal divide
At compile time, we can replace the DIV_K instruction (divide by a
constant value) by a reciprocal divide.
At exec time, the expensive divide is replaced by a multiply, a less
expensive operation on most processors.
Signed-off-by: Eric Dumazet <[email protected]>
Acked-by: Changli Gao <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions