android_kernel_xiaomi_sm8350/arch/sh/boot/compressed
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
..
.gitignore sh: bzip2/lzma zImage support. 2009-07-11 13:21:19 -04:00
cache.c
head_32.S sh: Remove implicit sign extension from assembler immediates 2009-08-24 17:09:53 +09:00
head_64.S sh: Fix up the sh64 zImage build. 2009-05-10 00:36:22 +09:00
install.sh
Makefile Merge branches 'sh/compressors' and 'sh/stable-updates' 2009-07-21 17:37:18 +09:00
misc.c sh64: Don't use PHYSADDR() for output_addr calculation. 2009-07-11 13:36:25 -04:00
vmlinux.scr sh: bzip2/lzma zImage support. 2009-07-11 13:21:19 -04:00