target-xtensa: implement windowed registers
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 5 Sep 2011 23:55:43 +0000 (03:55 +0400)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 10 Sep 2011 16:57:39 +0000 (16:57 +0000)
commit178b7fdb330c6a2b8a10406f7803a864ba422b14
treeb39a447017c7d89faf541939c7b99c7ca65ebb05
parentd11bf5ff527bc543def19e4c92cab18a9910e39a
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