Unverified Commit c39b5044 authored by Michael Maitland's avatar Michael Maitland Committed by GitHub
Browse files

[RISCV][llvm-mca] Add llvm-mca tests for SiFive7 Vector Integer Arith… (#65283)

…metic

The intention of this test file long term is to test all valid (LMUL,
SEW) pairs for each SchedWrite class. For this reason, we do not test
every single instruction under every (LMUL, SEW) pair, since multiple
instructions may use the same SchedWrite. For example, vadd.vv and
vsub.vv both use the WriteVIALUV class.

I didn't end up getting all (LMUL, SEW) pair for each SchedWrite class
though. For example, vadd.vv and vadd.vx use WriteVIALUV and WriteVIALUX
respectivley, but I treated all Vector Single-Width Integer Add and
Subtract instructions as having the same behavior. I plan on improving
the coverage as time goes on and figured this would be a good start. If
there is any class of vector integer arithmetic instructions you'd like
to see full coverage for in this patch, please let me know.
parent 1a65cd3f
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment