| Electronic Components Datasheet Search |
|
AVR32AP Datasheet(PDF) 155 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
AVR32AP Datasheet(HTML) 155 Page - ATMEL Corporation |
|
155 / 181 page ![]() 155 32001A–AVR32–06/06 AVR32 10.3 Special considerations 10.3.1 PC as destination register Most instructions can use PC as destination register. This will result in a jump to the calculated address. Forwarding is not implemented, so jumping is performed when the target address is available in WB. 10.3.2 Branch prediction Branch prediction allows the branch penalty to be removed for correctly predicted branches. For erroneously predicted branches, a branch delay of four cycles is imposed. For correctly pre- dicted, folded branches, the branch executes in zero cycles. Erroneously predicted folded branches execute in four cycles. 10.3.3 Return address stack A return address stack is implemented, allowing the subprogram return address to be available early. The return address stack can keep 4 elements. If more elements are pushed, the oldest element is overwritten. Hardware keeps control over the number of valid elements on the stack. Stack over- and underflow is handled automatically by hardware, at the cost of performance loss. When a return is attempted with an empty return address stack, the return instruction is considered as not predicted. Table 10-1. Predicted branch and call cycle requirement Instruction Predicted correctly Predicted erroneously Folded correctly Folded erroneously Not predicted br disp 14 044 rjmp disp 14 044 rcall disp 1 4 NA NA 4 Table 10-2. Return instruction cycle requirement Instruction Predicted correctly Predicted erroneously Not predicted ret, cond != AL 1 4 4 ret, cond == AL 2 - 4 mov PC, LR 2 - 4 popm with PC in reglist 2 - 6 ldm with PC in reglist 2 - 6 |
|
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 |