HF RL Explorer

Repair a verified behavior in openhwgroup/cvw.

Repair a verified behavior in openhwgroup/cvw.: a task in OriGent-SFT-Data (Harbor dataset). The gshare branch-direction predictor updates its two-bit Pattern History Table (PHT) from the Memory stage, using ~StallM and ~FlushM as the PHT write enable. This is incorrect when a Memory-stage branch…

The task

The gshare branch-direction predictor updates its two-bit Pattern History Table (PHT) from the Memory stage, using ~StallM and ~FlushM as the PHT write enable. This is incorrect when a Memory-stage branch is subsequently flushed in the Writeback stage: the PHT receives an update for a branch that does not commit.

Part of henryen/OriGent-SFT-Data.