target-alpha: Implement rs/rc properly.
commitac316ca4b7b27c853c0d9d6b43abdbefc97297d6
authorRichard Henderson <rth@twiddle.net>
Mon, 12 Apr 2010 23:14:54 +0000 (12 16:14 -0700)
committerAurelien Jarno <aurelien@aurel32.net>
Tue, 27 Apr 2010 03:50:41 +0000 (27 05:50 +0200)
treefb93c58e301dd4cdd40fd29e24e06313853daf79
parentdc96be4b975d51f03d0b08e191fddf85b92c0267
target-alpha: Implement rs/rc properly.

This is a per-cpu flag; there's no need for a spinlock of any kind.

We were also failing to manipulate the flag with $31 as a target reg
and failing to clear the flag on execution of a return-from-interrupt
instruction.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
linux-user/main.c
target-alpha/helper.h
target-alpha/op_helper.c
target-alpha/translate.c