Device Performance Optimization
PXR40 Microcontroller Reference Manual, Rev. 1
Freescale Semiconductor
33-3
.
Further details of the BUCSR register can be found in the e200z7 Reference Manual.
0
BBFI
0
BA
LLOC
0
BPRED
BPEN
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
SPR - 1013; Read/Write; Reset - 0x0
Figure 33-1. Branch Unit Control & Status Register (BUCSR)
Table 33-1. BUCSR Register Field Descriptions
Field
Description
0–21
Reserved
22
BBFI
Branch target buffer flash invalidate. When set, BBFI flash clears the valid bit of all BTB entries; clearing occurs
regardless of the value of the enable bit (BPEN).
Note: BBFI is always read as 0.
23–25
Reserved
26–27
BALLOC
Branch Target Buffer Allocation Control
00- Branch Target Buffer allocation for all branches is enabled.
01- Branch Target Buffer allocation is disabled for backward branches.
10- Branch Target Buffer allocation is disabled for forward branches.
11- Branch Target Buffer allocation is disabled for both branch directions.
This field controls BTB allocation for branch acceleration when BPEN=1. Note that BTB hits are not affected by
the settings of this field. Note that for branches with“AA’=‘1’, the MSB of the displacement field is still used to
indicate forward/backward, even though the branch is absolute.
28
Reserved
29–30
BPRED
Branch Prediction Control (Static)
00- Branch predicted taken on BTB miss for all branches.
01- Branch predicted taken on BTB miss only for forward branches.
10- Branch predicted taken on BTB miss only for backward branches.
11- Branch predicted not taken on BTB miss for both branch directions.
This field controls operation of static prediction mechanism on a BTB miss. Unless disabled, fetching of the
predicted target location will be performed for branch acceleration. BPRED operates independently of BPEN, and
with a BPEN setting of 0, will be used to perform static prediction of all unresolved branches.
Note that BTB hits are not affected by the settings of this field. Note that for certain applications, setting BPRED
to a non-default value may result in improved performance.
31
BPEN
Branch target buffer (BTB) enable.
0 BTB prediction disabled. No hits are generated from the BTB and no new entries are allocated. Entries are
not automatically invalidated when BPEN is cleared; BBFI controls entry invalidation.
1 BTB prediction enabled (enables BTB to predict branches).
Summary of Contents for PXR4030
Page 1: ...PXR40 Microcontroller Reference Manual Devices Supported PXR4030 PXR4040 PXR40RM Rev 1 06 2011...
Page 30: ...PXR40 Microcontroller Reference Manual Rev 1 Freescale Semiconductor xxx...
Page 40: ...PXR40 Microcontroller Reference Manual Rev 1 xl Freescale Semiconductor...
Page 66: ...Memory Map PXR40 Microcontroller Reference Manual Rev 1 2 4 Freescale Semiconductor...
Page 120: ...Signal Descriptions 3 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Page 860: ...FlexCAN Module 24 50 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Page 1167: ...Decimation Filter Freescale Semiconductor 28 53 PXR40 Microcontroller Reference Manual Rev 1...
Page 1168: ...Decimation Filter 28 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...