Skip to content
Snippets Groups Projects
Commit 97f0021e authored by Alban Gruin's avatar Alban Gruin
Browse files

correct_store_buffer: add comments in luFree and suFree


This adds comment to clarify a specificity of the Sn stage, which
follows the Su and Lu stages.

Signed-off-by: default avatarAlban Gruin <alban.gruin@irit.fr>
parent cb51a550
Branches
No related tags found
No related merge requests found
......@@ -14,14 +14,14 @@ Definition ready isSuUsed sbState (elt : instr_kind) :=
Definition luFree isSuUsed sbState trace :=
let instr := get_instr_in_stage trace Lu in
match instr with
| Some elt => ready isSuUsed sbState elt
| Some elt => ready isSuUsed sbState elt (* Sn is always free *)
| None => true
end.
Definition suFree isSuUsed sbState trace :=
let instr := get_instr_in_stage trace Su in
match instr with
| Some elt => ready isSuUsed sbState elt
| Some elt => ready isSuUsed sbState elt (* Sn is always free *)
| None => true
end.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment