diff options
author | Richard Henderson <rth@twiddle.net> | 2014-09-16 12:16:38 -0700 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2015-08-18 11:08:48 -0700 |
commit | 591243846f7d0dc59f482a89e241a6ce02d25fae (patch) | |
tree | 1590c103a70c076198d0e38b1b993f70b584c36f /target-alpha/machine.c | |
parent | 074a9925e1cfd659d5376dcaccd1436d3840e611 (diff) |
target-alpha: Use separate TCGv temporaries for the shadow registers
This avoids having to manually swap them around when swapping to and
from PALmode. We simply encode the shadow registers into the translation.
The VMStateDescription version changes, because the meaning of "shadow"
changes in the save file when in PALmode. It would be possible to fix
this, but I don't think it's worth the effort.
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target-alpha/machine.c')
-rw-r--r-- | target-alpha/machine.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target-alpha/machine.c b/target-alpha/machine.c index e796bbe27d..d9bf977fc6 100644 --- a/target-alpha/machine.c +++ b/target-alpha/machine.c @@ -70,8 +70,8 @@ static VMStateField vmstate_env_fields[] = { static const VMStateDescription vmstate_env = { .name = "env", - .version_id = 1, - .minimum_version_id = 1, + .version_id = 2, + .minimum_version_id = 2, .fields = vmstate_env_fields, }; |