← Back to Pull requests

Support RVY 0.9.10 and gate tests by minimum spec version #9

Closed
unknown closed this pull request without merging on Oct 08, 2026 21:06 UTC
View on GitHub
unknown unknown commented on Oct 07, 2026 19:48 UTC
Author

Add support for the RVY 0.9.10 specification alongside 0.9.9 and 0.9.3, and replace the ['0.9.9'] version lists in src/meson.build with 'min_version' naming the specification version (0.9.6, 0.9.7, or 0.9.9) that introduced each test's required behaviour:

  • Canonical rs1 > rs2 branch order:

  • - Swap capability-mode BEQ/BNE operands across the suite so rs1 > rs2 holds under rvy_spec=0.9.9.
  • Minimum specification version gating (src/meson.build):

  • - Gate tests by 'min_version' ('0.9.6', '0.9.7', '0.9.9') with comments explaining the spec change, and scope test-reserved-branches to 'cheri_versions': ['0.9.9'].
  • Instruction and CSR encodings for RVY 0.9.10 (src/rvy-insns.h and tests):

  • - Use the 0.9.10 CSR numbers for ddc (0x03f), utidc (0x07f), stidc (0x17f), vstidc (0x27f), and mtidc (0x37f), keeping 0x416/0x480/0x580/0xa80/0x780 for 0.9.9 and 0.9.3.
    - Add YHIR (2OP rs2=7 on 0.9.10, SRLIY by XLEN on 0.9.9) and rename PACKY, YSENTRY, and YSUNSEAL to the 0.9.10 mnemonics (YHIW, YSEALE, YUNSEALS) across the test suite.
  • Build and test runner (src/meson.build, meson.build, meson_options.txt, src/run-rvy-tests.sh, README.md):

  • - Build 0.9.10 (-DCHERI_0910), 0.9.9 (-DCHERI_099), and 0.9.3 (-DCHERI_093) ELF subdirectories.
    - Probe qemu-system-riscv{64,32}y for rvy_spec and run both 0.9.10 (-global riscv-cpu.rvy_spec=0.9.10) and 0.9.9 (-global riscv-cpu.rvy_spec=0.9.9), plus -Dsail_0910.

    Diff: 196 lines (+147 / -49) across 2 files Reviewer: arichardson Review duration: 1517m
    All Vouch review confidence checks passed
    Residual risk 0.14 = Change Risk (0.36) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.36 · 196 lines diff across 2 files
    0.36
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.316
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #9"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 36.1% (MEDIUM) · Higher = larger blast radius
    36.1%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 14.2% · Safe to merge
    14.2%