<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/arch/microblaze/include/asm/hash.h, branch linux-4.7.y</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=linux-4.7.y</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=linux-4.7.y'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2016-05-28T19:48:58+00:00</updated>
<entry>
<title>microblaze: Add &lt;asm/hash.h&gt;</title>
<updated>2016-05-28T19:48:58+00:00</updated>
<author>
<name>George Spelvin</name>
<email>linux@sciencehorizons.net</email>
</author>
<published>2016-05-25T15:06:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=7b13277b682972c2ff8f6419e86c333d81936023'/>
<id>urn:sha1:7b13277b682972c2ff8f6419e86c333d81936023</id>
<content type='text'>
Microblaze is an FPGA soft core that can be configured various ways.

If it is configured without a multiplier, the standard __hash_32()
will require a call to __mulsi3, which is a slow software loop.

Instead, use a shift-and-add sequence for the constant multiply.
GCC knows how to do this, but it's not as clever as some.

Signed-off-by: George Spelvin &lt;linux@sciencehorizons.net&gt;
Cc: Alistair Francis &lt;alistair.francis@xilinx.com&gt;
Cc: Michal Simek &lt;michal.simek@xilinx.com&gt;
</content>
</entry>
</feed>
