Ah, that makes so much more sense.
So it does have a 2nd level BTB, it's just that it's labeled as IJTP and is potentially only used by indirect branches.
Re:SiFive's P550 Microarchitecture
by clamchowder on Tuesday January 28, 2025 @08:15AM
(#42851933)
No, that's not a second level BTB in that regular direct branches don't seem to use it. It's only for predicting indirect branches.
"a branch prediction unit that is composed of a 32-entry Branch Target Buffer (BTB), a 9.1 KiB-entry Branch History Table (BHT), a 16-entry Return Address Stack (RAS), 512-entry Indirect Jump Target Predictor (IJTP), and a 16-entry Return Instruction Predictor"