| Electronic Components Datasheet Search |
|
AVR32AP Datasheet(PDF) 66 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
AVR32AP Datasheet(HTML) 66 Page - ATMEL Corporation |
|
66 / 181 page ![]() 66 32001A–AVR32–06/06 AVR32 Figure 5-3. BTB entry. 5.2.5 BTB update policy A new entry is stored in the BTB when the following conditions are met: • The branch instruction or the branch-folded instruction has executed, i.e. left A1. • The branch was taken • The branch is not currently in the BTB • Branch prediction is enabled Once a branch is stored in the BTB, the history bits are updated upon every execution of the branch. When a new branch is detected, the counter is initialized to Strong Taken, and the Valid bit is set. 5.2.6 Reset Branch prediction is enabled after reset. All valid bits in the BTB are cleared after reset. 5.2.7 Invalidation The BTB is invalidated when one or more of the following events occur: • Reset • The instruction cache is invalidated • The ASID part of the TLBEHI system register is written • The BTB Invalidate (BI) bit in the CPUCR system register The application may manually need to invalidate the BTB after executing self-modifying code, in order to avoid false predictions. Important note: As mentioned above, the BTB is invalidated when the ASID field in TLBEHI is written. As shown in Table 2-2, “System Registers implemented in AVR32 AP,” on page 10, TLBEHI is accessed through the TCB bus. This implies that several instructions can be present upstream in the pipe- line when TLBEHI is written. However, writing to ASID does not cause the pipeline to be flushed. The user must therefore ensure that predicted instructions is not fetched and sent down the Weak Not Taken 00 Weak Taken 10 Strong Not Taken 01 Strong Taken 11 Branch taken Branch not taken Branch not taken Branch not taken Branch taken Branch not taken Branch taken Branch taken |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |