mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
target/microblaze: Fix width of FSR
The exception status register is only 32-bits wide. Do not use a 64-bit type to represent it. Since cpu_fsr is only used during MSR and MTR instructions, we can just as easily use an explicit load and store, so eliminate the variable. Tested-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
6efd55995a
commit
86017ccfbd
2 changed files with 6 additions and 7 deletions
|
@ -240,7 +240,7 @@ struct CPUMBState {
|
|||
uint32_t msr;
|
||||
uint64_t ear;
|
||||
uint32_t esr;
|
||||
uint64_t fsr;
|
||||
uint32_t fsr;
|
||||
uint64_t btr;
|
||||
uint64_t edr;
|
||||
float_status fp_status;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue