URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 26 |
Rev 28 |
Line 35... |
Line 35... |
#include "stats.h"
|
#include "stats.h"
|
|
|
/* Branch prediction buffer */
|
/* Branch prediction buffer */
|
|
|
/* Length of BPB */
|
/* Length of BPB */
|
#define BPB_LEN 1024
|
#define BPB_LEN 64
|
|
|
/* Number of BPB ways (1, 2, 3 etc.). */
|
/* Number of BPB ways (1, 2, 3 etc.). */
|
#define BPB_WAYS 1
|
#define BPB_WAYS 1
|
|
|
/* Number of prediction states (2, 4, 8 etc.). */
|
/* Number of prediction states (2, 4, 8 etc.). */
|
#define BPB_PSTATES 4
|
#define BPB_PSTATES 2
|
|
|
/* Number of usage states (2, 3, 4 etc.). */
|
/* Number of usage states (2, 3, 4 etc.). */
|
#define BPB_USTATES 3
|
#define BPB_USTATES 2
|
|
|
/* branch prediction buffer entry */
|
/* branch prediction buffer entry */
|
struct bpb_entry {
|
struct bpb_entry {
|
struct {
|
struct {
|
unsigned long addr; /* address of a branch insn */
|
unsigned long addr; /* address of a branch insn */
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.