added no prediction STL predictor

This commit is contained in:
Franz Fuchs
2022-06-08 12:23:35 +01:00
parent 891567f3aa
commit b79a228093
3 changed files with 8 additions and 3 deletions

View File

@@ -57,7 +57,11 @@ module mkSTLPred(STLPred);
endmethod
method Bool pred(Bit#(16) pc_hash);
`ifdef NO_SPEC_STL
return fromMaybe(minBound, ldKillMap.lookup(unpack(pc_hash))) == maxBound;
`else
return True;
`endif
endmethod
endmodule