Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Towards complete pulpv3 coverage #3

Open
wants to merge 23 commits into
base: master
Choose a base branch
from

Commits on Oct 19, 2018

  1. Apply tracer patch from ultrasoc

    Specify --ust-trace FILE to record execution trace in cvs format to FILE.
    bluewww committed Oct 19, 2018
    Configuration menu
    Copy the full SHA
    9a4ef86 View commit details
    Browse the repository at this point in the history
  2. Fix ust_open when passing NULL

    This prevents an error message ("Failed to open ust trace file:") when
    --ust-trace is not specified.
    bluewww committed Oct 19, 2018
    Configuration menu
    Copy the full SHA
    9a0f621 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2022

  1. Overwrite with newer Spike from mempool

    The mempool version of Spike is a lot more up-do-date and
    implements many new instructions.
    Overwrite all with contents from toolchain/riscv-isa-sim
    pulp-platform/mempool@32eab8e
    phsauter committed Jul 21, 2022
    Configuration menu
    Copy the full SHA
    d3b759f View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2022

  1. Implement p.cnt instruction

    phsauter committed Jul 26, 2022
    Configuration menu
    Copy the full SHA
    43fd971 View commit details
    Browse the repository at this point in the history
  2. Implement all instruction in macrnhi subset

    The instructions are not yet integrated into the build-procedure.
    phsauter committed Jul 26, 2022
    Configuration menu
    Copy the full SHA
    e9d29d5 View commit details
    Browse the repository at this point in the history
  3. Split Xpulpimg instrs into subset in the makefile

    It would also be possible to just add all the remaining instructions
    to the existing variable but splitting it better represents how
    the extension is organized everywhere else.
    phsauter committed Jul 26, 2022
    Configuration menu
    Copy the full SHA
    8cc9423 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2022

  1. Configuration menu
    Copy the full SHA
    1a417f5 View commit details
    Browse the repository at this point in the history
  2. Implement all instructions in hwloop subset

    This implementation was only tested against the very simple example
    in the CV32E40P docs, so it might not always work properly.
    
    1. Implement a hardware-loop unit in processor_t,
       add the CSRs to state_t (incl set_csr and get_csr handling)
    2. Add the hw-loop unit to the cycle-execution loop in execute.cc
    3. Add instructions to write to hwloop CSRs
    
    Currently not all constraints are checked yet (illegal instrs in body).
    phsauter committed Aug 4, 2022
    Configuration menu
    Copy the full SHA
    44a0ef2 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2022

  1. Configuration menu
    Copy the full SHA
    3ec9a9e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    faf1758 View commit details
    Browse the repository at this point in the history
  3. Remove ifdef guards for hwloop

    The guards are not consistently used across all relevant code.
    This might be a project for the future, a better guard condition
    is also needed (directly conditioned on the presence of the extension,
    not on an instruction in it).
    phsauter committed Aug 5, 2022
    Configuration menu
    Copy the full SHA
    e072768 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2022

  1. Fix vector signed/zero-extend macros

    Now you can pass expressions without violating order-of-operation.
    phsauter committed Aug 8, 2022
    Configuration menu
    Copy the full SHA
    a0b9951 View commit details
    Browse the repository at this point in the history
  2. Implement all instructions in bitop subset

    - Add disassembly format
    - Add signed/zero-extend and extract macro to easily access
      a range of bits in a register
    - Implement all instructions (if possible using gcc builtins)
    - Add set properly to make
    
    This implementation is tested against automatically generated tests.
    phsauter committed Aug 8, 2022
    Configuration menu
    Copy the full SHA
    32e642a View commit details
    Browse the repository at this point in the history
  3. Remove debug output from p.clb (bitop instr)

    I removed it everywhere else but didn't catch this one.
    phsauter committed Aug 8, 2022
    Configuration menu
    Copy the full SHA
    1d143a5 View commit details
    Browse the repository at this point in the history
  4. Implement bitrev subset/instruction

    I can't run the test (can't compile it since xpulpbitrev is not
    an extension in gcc), therefore this implementation is experimental.
    
    I did however compile the exact same code separately and run it against
    the examples from the docs, so if it fails it is likely in an edge-case.
    phsauter committed Aug 8, 2022
    Configuration menu
    Copy the full SHA
    5926008 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2022

  1. Implement all instructions in macrnhi subset

    - Add disassembly format
    - Implement all instructions
    - Add it to make
    
    This implementation is tested against generated tests.
    phsauter committed Aug 9, 2022
    Configuration menu
    Copy the full SHA
    6bb6ce7 View commit details
    Browse the repository at this point in the history
  2. Implement all instructions in addsubrn subset

    - Add disassembly format
    - Implement all instructions
    - Add it to make
    
    This implementation is tested against generated tests.
    phsauter committed Aug 9, 2022
    Configuration menu
    Copy the full SHA
    99ff721 View commit details
    Browse the repository at this point in the history
  3. Implement all instr in vectshufflepack subset

    - Add disassembly format
    - Implement all instructions
    - Add it to make
    
    This implementation is tested against generated tests.
    phsauter committed Aug 9, 2022
    Configuration menu
    Copy the full SHA
    5d8b61a View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2022

  1. Configuration menu
    Copy the full SHA
    44345c4 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2022

  1. Implement remaining instr in vect subset

    - Added union for easier SIMD handling
    - Add disassembly format
    - Implement remaining instructions
      (all compare instrs, add_div{2,4,8} and sub_div{2,4,8}
    - Add remaining instrs to make
    
    This implementation is tested against generated tests.
    phsauter committed Sep 2, 2022
    Configuration menu
    Copy the full SHA
    c75a8c3 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2022

  1. Implement all instructions in vectcomplex subset

    - Add disassembly format
    - Implement all instructions
    - Add instructions to make
    
    This implementation is tested against generated tests.
    phsauter committed Sep 3, 2022
    Configuration menu
    Copy the full SHA
    f3df505 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2022

  1. Fix non-gcc bitop implementations

    For gcc buitins are used, until now only they were tested.
    The alternative implementations have now been fixed and tested as well.
    phsauter committed Sep 4, 2022
    Configuration menu
    Copy the full SHA
    cc940b3 View commit details
    Browse the repository at this point in the history
  2. Update Readme.md to current state of project

    Mention xpulp isa and other useful repos.
    Add baremetal example and link to more.
    phsauter committed Sep 4, 2022
    Configuration menu
    Copy the full SHA
    cd888ed View commit details
    Browse the repository at this point in the history