target-xtensa: implement windowed registers
commit553e44f90645b7f2fc9cec7583844e24cd86019f
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 5 Sep 2011 23:55:43 +0000 (6 03:55 +0400)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 10 Sep 2011 16:57:39 +0000 (10 16:57 +0000)
treeb39a447017c7d89faf541939c7b99c7ca65ebb05
parentf76ebf55cd971c82e867fea97741e48d2f14499d
target-xtensa: implement windowed registers

See ISA, 4.7.1 for details.

Physical registers and currently visible window are separate fields in
CPUEnv. Only current window is accessible to TCG. On operations that
change window base helpers copy current window to and from physical
registers.

Window overflow check described in 4.7.1.3 is in separate patch.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
target-xtensa/cpu.h
target-xtensa/helper.c
target-xtensa/helpers.h
target-xtensa/op_helper.c
target-xtensa/translate.c