Skip to content

Commit 37a1f8a

Browse files
William SongWilliam Song
William Song
authored and
William Song
committed
br_pred
1 parent ed1e995 commit 37a1f8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

br_predictor.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ class br_target_buffer_t {
2828
~br_target_buffer_t();
2929

3030
uint64_t get_target(uint64_t m_pc); // Get a branch target address.
31-
void update(uint64_t m_pc, uint64_t m_target_addr); // Update the branch target buffer.
31+
void update(uint64_t m_pc, uint64_t m_target_addr); // Update the BTB.
3232

3333
private:
34-
uint64_t num_entries; // Number of target addresses
34+
uint64_t num_entries; // Number of BTB entries
3535
uint64_t *buffer; // Target address array
3636
};
3737

0 commit comments

Comments
 (0)