kernel_optimize_test/arch/sh/lib
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
..
ashiftrt.S
ashldi3.c
ashlsi3.S
ashrdi3.c
ashrsi3.S
checksum.S
clear_page.S sh: Remove implicit sign extension from assembler immediates 2009-08-24 17:09:53 +09:00
copy_page.S
delay.c
div64-generic.c
div64.S
io.c
libgcc.h
lshrdi3.c
lshrsi3.S
Makefile sh: Decouple mcount from ftrace. 2009-07-11 19:56:58 +09:00
mcount.S sh: Fix up stack overflow check with ftrace disabled. 2009-07-11 21:06:53 +09:00
memchr.S
memcpy-sh4.S
memcpy.S
memmove.S
memset.S
movmem.S
strlen.S
udiv_qrnnd.S
udivsi3_i4i-Os.S
udivsi3_i4i.S
udivsi3.S