1. Jul 02, 2023
  2. Apr 26, 2023
  3. Apr 18, 2023
    • Tommy Thorn's avatar
      Bugfix: FS dirty on fcvt.{w,wu,l,lu}.[sdq] and FP compares · 46ab6a30
      Tommy Thorn authored
      The RISC-V Privileged Architectures V1.11-draft says:
      
        "The FS[1:0] read/write field and the XS[1:0] read-only field are
         used to reduce the cost of context save and restore by setting and
         tracking the current state of the floating-point unit and any other
         user-mode extensions respectively. The FS field encodes the status
         of the floating-point unit, including the CSR fcsr and
         floating-point data registers f0–f31.."
      
      As fcvt.{w,wu,l,lu}.[sdq] and FP compares _could_ potentially set the
      NV (Invalid Op) exception bit in FCSR, we must mark the state as dirty
      in FS.  I'm assuming it's ok to be conservative here and mark it dirty
      even if no new bit was actually set.  It's clearly not ok, to _not_
      mark it dirty if one was set.
      
      There is still one FP instruction that doesn't set FS (fclass), though
      it would probably be acceptible to set the FS bit there as well.
      46ab6a30
  4. Apr 15, 2023
  5. Apr 08, 2023
  6. Mar 03, 2023
  7. Feb 25, 2023
  8. Feb 17, 2023
  9. Jan 12, 2023
  10. Jan 08, 2023
  11. Oct 28, 2022
  12. Sep 10, 2022
  13. May 12, 2022
  14. Apr 22, 2022
    • Tommy Thorn's avatar
      Assorted clean ups · b9be5ff2
      Tommy Thorn authored
      - Quell GCC warnings (by casting ignored return values)
      - Fix `--dump_memories`; it never took an argument
      - No Tabs in Source Code!
      - Code clean up
      b9be5ff2
  15. Mar 25, 2022
  16. Mar 23, 2022
  17. Jan 02, 2022
  18. Dec 14, 2021
  19. Dec 10, 2021