| поискавой системы для электроныых деталей |
|
UM0434 датащи(PDF) 48 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0434 датащи(HTML) 48 Page - STMicroelectronics |
|
48 / 390 page ![]() UM0434 Register model 49/391 CR setting for integer instructions For all integer word instructions with the Rc bit defined and set, and for addic., andi., and andis., CR0[32–34] are set by signed comparison of bits 32–63 of the result to zero; CR[35] is copied from the final state of XER[SO]. The Rc bit is not defined for double-word integer operations. if (target_register)32–63 < 0 then c ← 0b100 else if (target_register)32–63 > 0 then c ← 0b010 else c ← 0b001 CR0 ← c || XER SO The value of any undefined portion of the result is undefined, and the value placed into the first three bits of CR0 is undefined. CR0 bits are interpreted as described in Table 17. CR1[2] 38 00110 Zero (EQ)—For SPE and SPFP compare and test instructions: Set to the OR of the result of the compare of the high and low elements. CR1[3] 39 00111 Summary overflow (SO)—For SPE and SPFP compare and test instructions: Set to the AND of the result of the compare of the high and low elements. CR n[0] 40 44 48 52 56 60 01000 01100 10000 10100 11000 11100 Less than (LT) For integer compare instructions: rA < SIMM or rB (signed comparison) or rA < UIMM or rB (unsigned comparison). For SPE and SPFP compare and test instructions: Set if the high-order element of rA = the high-order element of rB; cleared otherwise. CR n[1] 41 45 49 53 57 61 01001 01101 10001 10101 11001 11101 Greater than (GT) For integer compare instructions: rA > SIMM or rB (signed comparison) or rA > UIMM or rB (unsigned comparison). For SPE and SPFP compare and test instructions: Set if the low-order element of rA = the low-order element of rB; cleared otherwise. CR n[2] 42 46 50 54 58 62 01010 01110 10010 10110 11010 11110 Equal (EQ) For integer compare instructions: rA = SIMM, UIMM, or rB. For SPE and SPFP compare and test instructions: Set to the OR of the result of the compare of the high and low elements. CR n[3] 43 47 51 55 59 63 01011 01111 10011 10111 11011 11111 Summary overflow (SO). For integer compare instructions, this is a copy of XER[SO] at the completion of the instruction. For SPE and SPFP vector compare and test instructions: Set to the AND of the result of the compare of the high and low elements. Table 16. BI operand settings for CR fields (continued) CR n Bits CR Bits BI Description |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |