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

Ps whole regs #2

Open
wants to merge 4 commits into
base: development
Choose a base branch
from
Open

Commits on Nov 12, 2024

  1. Add skeleton of new tcg node to do a scalar register based vector load.

    This commit adds changes to the RISCV vector translation to call for
    a specific node to perform a register offset based vector load
    and by passing the relevant SEW information to the tcg function so
    to perform correctly the load.
    The aim for now is to reach correctness.
    This should be applied next to stores.
    Optimization will come later.
    PaoloS02 committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    e98b964 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2024

  1. Add some comments to the changes made and the needed next steps for w…

    …hole register loads/stores tcg generation.
    PaoloS02 committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    ba00082 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2024

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

Commits on Nov 27, 2024

  1. target/riscv: Use existent 128-bit load/store hooks to emulate whole …

    …reg rvv loads/stores.
    
    This commit removes the custom tcg gvec nodes used to attempt to emulate
    the whole register loads and stores and uses instead the tcg_gen_qemu_[ld,st]_i128
    and tcg_gen_[st,ld]_i128 functions to load from memory to vector register
    and viceversa when emulating a whole register vector load or store.
    
    Whole register loads and store will always load and store at least
    16 bytes but we need to add checks on atomicity for the host and
    possibly endianness when calculating the memory addresses.
    
    If necessary these loads and store can be broken into i64, i32, i16, i8.
    PaoloS02 committed Nov 27, 2024
    Configuration menu
    Copy the full SHA
    21478c4 View commit details
    Browse the repository at this point in the history