Sparc: fix FPU and AM enable checks for translation
commitf838e2c535e47dc8e99ae7ec711407b849700cc9
authorBlue Swirl <blauwirbel@gmail.com>
Thu, 14 Jul 2011 17:30:43 +0000 (14 17:30 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Thu, 14 Jul 2011 17:30:43 +0000 (14 17:30 +0000)
tree75c5d26c91fa55ca92c997bc654ea0c1d5747081
parentd8e586ffccd73c9c7758166241564c63109fc8d3
Sparc: fix FPU and AM enable checks for translation

Translation used incorrectly CPUState fields directly to check
for FPU enable state and 32 bit address masking on Sparc64.

Fix by using TB flags instead.

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