1. Mar 10, 2023
  2. Mar 07, 2023
  3. Feb 23, 2023
    • Brian Campbell's avatar
      Remove duopod · 5d0ed1b5
      Brian Campbell authored
      This can now be found in the Sail repository.
      Includes an update to sail-riscv.install
      5d0ed1b5
  4. Feb 14, 2023
  5. Jan 26, 2023
    • Alexander Richardson's avatar
      Increase flexibility of the decode hook (and simplify it) (#205) · 9547a30b
      Alexander Richardson authored
      Previously the decoding hook (`ext_post_decode_hook`) allowed models to
      override the decoded `ast`. However, this is not sufficient if model
      extension changes interpretation of fields. Additionally, the assembly
      printing would always print assembly for the "baseline decode" which
      resulted in incorrect trace output in the sail-cheri-riscv model.
      
      With the new hook models can implement ext_decode()/ext_decode_compressed()
      to return an `ast` and for encodings that are not adjusted fall back to
      the default `encdec`/`encdec_compressed`.
      9547a30b
  6. Jan 20, 2023
  7. Jan 17, 2023
  8. Nov 02, 2022
    • Jessica Clarke's avatar
      riscv_step: Fix -i/--mtval-has-illegal-inst-bits option (#174) · 4d05aa16
      Jessica Clarke authored
      This option causes handle_illegal to pass instbits as the value to set
      for xtval, but instbits is never set so it ends up being 0 just as if
      the option was never enabled. Fix this by initialising instbits during
      fetch; we could make this conditional on whether the option is enabled
      but that seems unnecessary and introduces tighter coupling.
      
      Note that this option appears to have always been broken; when it was
      originally added, instbits was only written two in two cases which were
      both dead code and later removed in eb176111.
      
      Closes: #173
      4d05aa16
  9. Aug 24, 2022
  10. Aug 09, 2022
  11. Jul 13, 2022
  12. Feb 16, 2022
    • Jessica Clarke's avatar
      Run ISA tests in CI (#134) · 50f4bbaa
      Jessica Clarke authored
      * test: Ignore generated XML output
      
      * run_tests: Build RVFI emulators too
      
      Can't run tests with them though as they're built for direct instruction
      injection (RVFI-DII) via an instruction stream over a network socket,
      not fetching instructions from memory, so this remains just a build
      test.
      
      * run_tests/run_fp_tests: Print summary and give meaningful exit code
      
      * run_tests/run_fp_tests: Include tests and failures in top-level XML entity
      
      * run_tests/run_fp_tests: Use failure not error for XML output
      
      The former is the standard tag for normal test failures, the latter is
      for catastrophic things like test harness errors.
      
      * Run ISA tests in CI
      50f4bbaa
  13. Feb 03, 2022
  14. Jan 31, 2022
  15. Jan 21, 2022
  16. Jan 20, 2022
  17. Dec 05, 2021
  18. Nov 23, 2021
  19. Nov 22, 2021
  20. Nov 17, 2021
    • Jessica Clarke's avatar
      Revert "Initial introduction of zfinx (#75)" · af44432c
      Jessica Clarke authored
      This reverts commit c5e62ea4.
      af44432c
    • Ibrahim Abu Kharmeh's avatar
      Initial introduction of zfinx (#75) · c5e62ea4
      Ibrahim Abu Kharmeh authored
      * Adds Zfinx enable flag
      
      * Hardwire misa.{f,d} and mstats.FS to 0
      
      * Moving nan boxing functions to fdext_reg
      
      * Swaps register names for floating point instructions
      
      Adds new mapping to swap register names, and use it in all assembly clauses
      
      * Disable Floating point loads, stores and moves
      
      * Add X_or_F_s and X_or_F_d functions, and use them to access all registers for floating points
      
      Changes register accessed for floating point instructions and modify nan boxing functions for zfinx
      
      * Formatting
      
      Remove couple of misplaced whitespace, unnecessary parens
      
      * Fix inconsistent indentation in insts_dext file
      
      * Fix spacing in fdext_regs
      
      * Remove redundant comparasion with true/ false
      
      * Constistant tuples spacing and removes couple of unnecessary parens.
      
      * Consistent functions declaration & calls spacing and removes couple of unnecessary parens.
      
      * Consistent spacing and removes couple of unnecessary comparasion with true/false
      
      * Make spacing consistent
      
      * Remove checks from execution stage
      
      * Add checks to encdec stage
      c5e62ea4
  21. Nov 11, 2021
    • Ben Marshall's avatar
      scalar-crypto: aesks1i clarifications · 01720566
      Ben Marshall authored
      Trying to make the behavior of aesks1i easier to understand, and more
      obviously correspond to the specification.
      
      - Ensure that the aes_decode_rcon function only accepts valid values, plus
        add comments.
      
      - Re-name operands to aesks1i rcon -> rnum to be in line with the specification
      
      - Re-structure the Sail code for clarity based on jrtc27's suggestion.
      01720566