File tree Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -4,14 +4,6 @@ LOG_CATEGORY("machine.BranchPredictor");
4
4
5
5
using namespace machine ;
6
6
7
- const char *machine::int_to_bit_string (const uint64_t value, const uint8_t size) {
8
- std::string string = " " ;
9
- for (int8_t i = size - 1 ; i >= 0 ; i--) {
10
- string.append ((value >> i) & 0x1 ? " 1" : " 0" );
11
- }
12
- return string.c_str ();
13
- }
14
-
15
7
QStringView machine::branch_result_to_string (const BranchResult result, const bool abbrv) {
16
8
switch (result)
17
9
{
Original file line number Diff line number Diff line change 11
11
12
12
namespace machine {
13
13
14
- const char *int_to_bit_string (const uint64_t value, const uint8_t size = 8 );
15
-
16
14
QStringView branch_result_to_string (const BranchResult result, const bool abbrv = false );
17
15
18
16
QStringView predictor_state_to_string (const PredictorState state, const bool abbrv = false );
You can’t perform that action at this time.
0 commit comments