1
0
Files
linux/arch/tile/include/asm
Peter Zijlstra 9e3d6223d2 math64, timers: Fix 32bit mul_u64_u32_shr() and friends
It turns out that while GCC-4.4 manages to generate 32x32->64 mult
instructions for the 32bit mul_u64_u32_shr() code, any GCC after that
fails horribly.

Fix this by providing an explicit mul_u32_u32() function which can be
architcture provided.

Reported-by: Chris Metcalf <cmetcalf@mellanox.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Chris Metcalf <cmetcalf@mellanox.com> [for tile]
Cc: Christopher S. Hall <christopher.s.hall@intel.com>
Cc: David Gibson <david@gibson.dropbear.id.au>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Laurent Vivier <lvivier@redhat.com>
Cc: Liav Rehana <liavr@mellanox.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Parit Bhargava <prarit@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Richard Cochran <richardcochran@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20161209083011.GD15765@worktop.programming.kicks-ass.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2017-01-14 11:31:50 +01:00
..
2014-04-18 14:20:45 +02:00
2014-04-18 14:20:45 +02:00
2014-01-23 16:36:54 -08:00
2013-11-13 20:21:46 +01:00
2013-09-03 14:53:29 -04:00
2015-04-17 12:58:44 -04:00
2014-08-26 13:45:54 -04:00
2013-08-30 11:55:53 -04:00
2013-09-03 14:51:26 -04:00
2013-08-30 11:55:53 -04:00
2014-08-26 13:45:54 -04:00
2013-08-13 16:26:21 -04:00
2013-09-13 11:15:24 -04:00
2016-05-19 19:12:14 -07:00
2015-04-17 12:58:44 -04:00
2015-05-11 11:22:40 -04:00
2015-08-08 10:29:21 +02:00
2015-07-30 12:32:16 -04:00
2013-08-13 16:26:05 -04:00
2013-02-14 09:21:15 -05:00
2014-10-02 13:56:07 -04:00