Menu

#98 Microblaze Spartan 6 FPU

v1.0 (example)
closed-fixed
nobody
None
5
2014-12-19
2014-12-18
No

The value of XPAR_MICROBLAZE_0_USE_FPU is treated as a boolean and is tested for equality to 1. It can actually take one of three values, [0-2]. This will result in the FPU register not being saved in context switches if the MicroBlaze was configured to use the"extended" FPU.
portasm.S
port.c
port_exceptions.c

Discussion

  • Richard Barry

    Richard Barry - 2014-12-19

    Thanks for taking the time to report this. All occurrences of:

    #if XPAR_MICROBLAZE_0_USE_FPU == 1

    have been changed to

    #if XPAR_MICROBLAZE_0_USE_FPU != 0

    Please let us know if that does not fix the issue you are reporting.

     
  • Richard Barry

    Richard Barry - 2014-12-19
    • status: open --> closed-fixed
     

Log in to post a comment.