parisc: optimize mtsp(0,sr) inline assembly
authorHelge Deller <deller@gmx.de>
Sat, 29 Jun 2013 20:08:03 +0000 (22:08 +0200)
committerHelge Deller <deller@gmx.de>
Tue, 9 Jul 2013 20:09:21 +0000 (22:09 +0200)
commit92b59929825d67db575043a76651865d16873b36
treea6d057fc7311d88d6fad158b676bb28c35945a4a
parent594174d810a29982929cbb454dafee4a1498e4fb
parisc: optimize mtsp(0,sr) inline assembly

If the value which should be moved into a space register is zero, we can
optimize the inline assembly to become "mtsp %r0,%srX".

Signed-off-by: Helge Deller <deller@gmx.de>
Cc: <stable@vger.kernel.org> # 3.10
arch/parisc/include/asm/special_insns.h
This page took 0.02787 seconds and 5 git commands to generate.