]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/sstep: mullw should calculate a 64 bit signed result
authorAnton Blanchard <anton@samba.org>
Tue, 19 Sep 2017 23:32:19 +0000 (09:32 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 20 Sep 2017 03:30:09 +0000 (13:30 +1000)
commitc4a989ef85194e0fdcc590274a89911c2a0c4faa
treeaed176e7eb68819db1178de75db6959d83d79566
parentf84588e247351b6961c28273c874bd9ae9319dfa
powerpc/sstep: mullw should calculate a 64 bit signed result

mullw should do a 32 bit signed multiply and create a 64 bit signed
result. It currently truncates the result to 32 bits.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/lib/sstep.c