URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 538 |
Rev 541 |
Line 769... |
Line 769... |
cur->func_unit = it_shift;
|
cur->func_unit = it_shift;
|
/* cycles += 2; */
|
/* cycles += 2; */
|
set_operand32(0, eval_operand32(1, &breakpoint) >> eval_operand32(2, &breakpoint), &breakpoint);
|
set_operand32(0, eval_operand32(1, &breakpoint) >> eval_operand32(2, &breakpoint), &breakpoint);
|
}
|
}
|
void l_bf() {
|
void l_bf() {
|
if (config.cpu.bpb) {
|
if (config.bpb.enabled) {
|
int fwd = (eval_operand32(0, &breakpoint) >= pc) ? 1 : 0;
|
int fwd = (eval_operand32(0, &breakpoint) >= pc) ? 1 : 0;
|
cur->func_unit = it_branch;
|
cur->func_unit = it_branch;
|
mstats.bf[flag][fwd]++;
|
mstats.bf[flag][fwd]++;
|
bpb_update(cur->insn_addr, flag);
|
bpb_update(cur->insn_addr, flag);
|
}
|
}
|
Line 785... |
Line 785... |
} else {
|
} else {
|
btic_update(pc);
|
btic_update(pc);
|
}
|
}
|
}
|
}
|
void l_bnf() {
|
void l_bnf() {
|
if (config.cpu.bpb) {
|
if (config.bpb.enabled) {
|
int fwd = (eval_operand32(0, &breakpoint) >= pc) ? 1 : 0;
|
int fwd = (eval_operand32(0, &breakpoint) >= pc) ? 1 : 0;
|
cur->func_unit = it_branch;
|
cur->func_unit = it_branch;
|
mstats.bnf[!flag][fwd]++;
|
mstats.bnf[!flag][fwd]++;
|
bpb_update(cur->insn_addr, flag == 0);
|
bpb_update(cur->insn_addr, flag == 0);
|
}
|
}
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.