]> git.proxmox.com Git - qemu.git/commit
target-xtensa: implement coprocessor context option
authorMax Filippov <jcmvbkbc@gmail.com>
Wed, 19 Sep 2012 00:23:59 +0000 (04:23 +0400)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 22 Sep 2012 17:59:13 +0000 (17:59 +0000)
commitef04a8467eae31bc93b9458ad3d30a6ad1303327
treed0e9a7cbe09e166e53295940772fce5d7798cf21
parent4e273869671d78660cd709183d3c5dec3a17de79
target-xtensa: implement coprocessor context option

In case Coprocessor Context option is enabled CPENABLE SR bits control
whether access to coprocessors is allowed or would rise one of
CoprocessorXDisabled exceptions.

See ISA, 4.4.5 for more details.

FP is coprocessor 0.

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