linux/arch/sh/kernel/cpu
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
..
irq sh: Tie sparseirq in to Kconfig. 2009-06-11 10:33:09 +03:00
sh2 sh: Make sure rte delay slots are nopped out on all parts. 2009-08-15 07:41:45 +09:00
sh2a sh: Make sure rte delay slots are nopped out on all parts. 2009-08-15 07:41:45 +09:00
sh3 sh: Remove implicit sign extension from assembler immediates 2009-08-24 17:09:53 +09:00
sh4 sh: Add initial support for SH7757 CPU subtype 2009-08-21 17:25:47 +09:00
sh4a Merge branches 'sh/hwblk' and 'sh/pm-runtime' 2009-08-23 18:04:07 +09:00
sh5 sh: convert processor device setup functions to arch_initcall() 2009-08-13 11:36:33 +09:00
shmobile Merge branches 'sh/hwblk' and 'sh/pm-runtime' 2009-08-23 18:04:07 +09:00
adc.c
clock-cpg.c sh: use kzalloc() for cpg clocks 2009-06-17 15:39:53 +09:00
clock.c sh: add enable()/disable()/set_rate() to div6 code 2009-06-11 09:12:58 +03:00
hwblk.c sh: Add support for multiple hwblk counters 2009-07-20 04:23:39 +09:00
init.c sh: delay slot future proofing via EXPMASK on SH-4A parts. 2009-08-15 07:43:21 +09:00
Makefile sh: hwblk base implementation 2009-07-05 00:28:39 +09:00
ubc.S fix file specification in comments 2006-10-03 23:01:26 +02:00