[libre-riscv-dev] [Bug 206] New: Implement branch prediction

bugzilla-daemon at libre-riscv.org bugzilla-daemon at libre-riscv.org
Mon Mar 2 21:09:52 GMT 2020


http://bugs.libre-riscv.org/show_bug.cgi?id=206

            Bug ID: 206
           Summary: Implement branch prediction
           Product: Libre Shakti M-Class
           Version: unspecified
          Hardware: All
                OS: All
            Status: CONFIRMED
          Severity: enhancement
          Priority: ---
         Component: Source Code
          Assignee: lkcl at lkcl.net
          Reporter: programmerjake at gmail.com
                CC: libre-riscv-dev at lists.libre-riscv.org
   NLnet milestone: ---

TODO: fill with overview and mention branch prediction, branch target buffers,
call-return predictors, loop predictors, etc.

We should err on the side of having a more complex branch predictor due to the
huge impact on performance.

To avoid spectre-style data leaks where feasible, we should only send
taken/not-taken data back to the branch predictor once all preceding branches
are no longer speculative (tracked by dependency matrix).

useful info:
https://danluu.com/branch-prediction/

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-riscv-dev mailing list