linux/arch/sh
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
..
boards Merge branches 'sh/hwblk' and 'sh/pm-runtime' 2009-08-23 18:04:07 +09:00
boot sh: Remove implicit sign extension from assembler immediates 2009-08-24 17:09:53 +09:00
cchips sh: mach-hp6xx: Fix up the hp6xx build for hd64461 changes. 2009-05-20 11:27:13 +09:00
configs sh: update kfr2r09 defconfig 2009-08-21 08:32:16 +09:00
drivers sh: Allow use of GENERIC_IOMAP 2009-08-24 16:10:40 +09:00
include sh: Remove implicit sign extension from assembler immediates 2009-08-24 17:09:53 +09:00
kernel sh: Remove implicit sign extension from assembler immediates 2009-08-24 17:09:53 +09:00
lib sh: Remove implicit sign extension from assembler immediates 2009-08-24 17:09:53 +09:00
lib64 sh: Convert sh64 to use the generic checksum code. 2009-06-15 00:00:42 +09:00
math-emu sh: Fix up the math-emu build. 2007-06-11 15:57:42 +09:00
mm sh: Add initial support for SH7757 CPU subtype 2009-08-21 17:25:47 +09:00
oprofile sh: oprofile: Kill off dead valid_kernel_stack(). 2009-08-14 04:59:50 +09:00
tools sh: Add mach-types entry for EcoVec board. 2009-08-20 10:14:29 +09:00
Kconfig sh: Allow for kernel command line concatenation. 2009-08-24 16:25:38 +09:00
Kconfig.cpu sh: Tidy up SH-4A boot_cpu_data.flags probing. 2009-06-01 19:50:08 +09:00
Kconfig.debug sh: Add initial support for SH7757 CPU subtype 2009-08-21 17:25:47 +09:00
Makefile sh: Add EcoVec (SH7724) board support 2009-08-20 10:13:16 +09:00