diff options
| author | George Spelvin <[email protected]> | 2016-05-26 15:36:19 +0000 |
|---|---|---|
| committer | George Spelvin <[email protected]> | 2016-05-28 19:48:57 +0000 |
| commit | 14c44b95b3dcb8ff1d627e6b78f57c4373d375cb (patch) | |
| tree | e81c581cdff3075036b99e0dbf2f0c47afe1e6ec /scripts/gcc-plugins | |
| parent | <linux/hash.h>: Add support for architecture-specific functions (diff) | |
| download | kernel-14c44b95b3dcb8ff1d627e6b78f57c4373d375cb.tar.gz kernel-14c44b95b3dcb8ff1d627e6b78f57c4373d375cb.zip | |
m68k: Add <asm/hash.h>
This provides a multiply by constant GOLDEN_RATIO_32 = 0x61C88647
for the original mc68000, which lacks a 32x32-bit multiply instruction.
Yes, the amount of optimization effort put in is excessive. :-)
Shift-add chain found by Yevgen Voronenko's Hcub algorithm at
http://spiral.ece.cmu.edu/mcm/gen.html
Signed-off-by: George Spelvin <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
Cc: Greg Ungerer <[email protected]>
Cc: Andreas Schwab <[email protected]>
Cc: Philippe De Muyter <[email protected]>
Cc: [email protected]
Diffstat (limited to 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions
