kernel-hacking-2024-linux-s.../arch/sh/kernel/cpu/sh3
Stuart Menefy fea966f756 sh: Remove implicit sign extension from assembler immediates
The SH instruction set has several instructions which accept an 8 bit
immediate operand. For logical instructions this operand is zero extended,
for arithmetic instructions the operand is sign extended. After adding an
option to the assembler to check this, it was found that several pieces
of assembly code were assuming this behaviour, and in one case
getting it wrong.

So this patch explicitly sign extends any immediate operands, which makes
it obvious what is happening, and fixes the one case which got it wrong.

Signed-off-by: Stuart Menefy <stuart.menefy@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2009-08-24 17:09:53 +09:00
..
clock-sh3.c sh: clkfwk: Make recalc return an unsigned long. 2009-05-12 03:45:08 +09:00
clock-sh7705.c sh: clkfwk: Make recalc return an unsigned long. 2009-05-12 03:45:08 +09:00
clock-sh7706.c sh: clkfwk: Make recalc return an unsigned long. 2009-05-12 03:45:08 +09:00
clock-sh7709.c sh: clkfwk: Make recalc return an unsigned long. 2009-05-12 03:45:08 +09:00
clock-sh7710.c sh: clkfwk: Make recalc return an unsigned long. 2009-05-12 03:45:08 +09:00
clock-sh7712.c sh: clkfwk: Make recalc return an unsigned long. 2009-05-12 03:45:08 +09:00
entry.S sh: Remove implicit sign extension from assembler immediates 2009-08-24 17:09:53 +09:00
ex.S sh: Generic kgdb stub support. 2008-12-22 18:44:04 +09:00
Makefile sh: hibernation support 2009-03-10 12:55:40 +09:00
pinmux-sh7720.c
probe.c
setup-sh3.c
setup-sh770x.c sh: convert processor device setup functions to arch_initcall() 2009-07-23 13:06:07 +09:00
setup-sh7705.c sh: convert processor device setup functions to arch_initcall() 2009-07-23 13:06:07 +09:00
setup-sh7710.c sh: convert processor device setup functions to arch_initcall() 2009-07-23 13:06:07 +09:00
setup-sh7720.c sh: convert processor device setup functions to arch_initcall() 2009-07-23 13:06:07 +09:00
swsusp.S sh: hibernation support 2009-03-10 12:55:40 +09:00