1*9880d681SAndroid Build Coastguard Worker 2*9880d681SAndroid Build Coastguard Worker# RUN: llvm-mc -triple powerpc64-unknown-unknown --show-encoding %s | FileCheck -check-prefix=CHECK-BE %s 3*9880d681SAndroid Build Coastguard Worker# RUN: llvm-mc -triple powerpc64le-unknown-unknown --show-encoding %s | FileCheck -check-prefix=CHECK-LE %s 4*9880d681SAndroid Build Coastguard Worker 5*9880d681SAndroid Build Coastguard Worker# Branch facility 6*9880d681SAndroid Build Coastguard Worker 7*9880d681SAndroid Build Coastguard Worker# Branch instructions 8*9880d681SAndroid Build Coastguard Worker 9*9880d681SAndroid Build Coastguard Worker# CHECK-BE: b target # encoding: [0b010010AA,A,A,0bAAAAAA00] 10*9880d681SAndroid Build Coastguard Worker# CHECK-LE: b target # encoding: [0bAAAAAA00,A,A,0b010010AA] 11*9880d681SAndroid Build Coastguard Worker# CHECK-BE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc_br24 12*9880d681SAndroid Build Coastguard Worker# CHECK-LE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc_br24 13*9880d681SAndroid Build Coastguard Worker b target 14*9880d681SAndroid Build Coastguard Worker# CHECK-BE: ba target # encoding: [0b010010AA,A,A,0bAAAAAA10] 15*9880d681SAndroid Build Coastguard Worker# CHECK-LE: ba target # encoding: [0bAAAAAA10,A,A,0b010010AA] 16*9880d681SAndroid Build Coastguard Worker# CHECK-BE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc_br24abs 17*9880d681SAndroid Build Coastguard Worker# CHECK-LE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc_br24abs 18*9880d681SAndroid Build Coastguard Worker ba target 19*9880d681SAndroid Build Coastguard Worker# CHECK-BE: bl target # encoding: [0b010010AA,A,A,0bAAAAAA01] 20*9880d681SAndroid Build Coastguard Worker# CHECK-LE: bl target # encoding: [0bAAAAAA01,A,A,0b010010AA] 21*9880d681SAndroid Build Coastguard Worker# CHECK-BE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc_br24 22*9880d681SAndroid Build Coastguard Worker# CHECK-LE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc_br24 23*9880d681SAndroid Build Coastguard Worker bl target 24*9880d681SAndroid Build Coastguard Worker# CHECK-BE: bla target # encoding: [0b010010AA,A,A,0bAAAAAA11] 25*9880d681SAndroid Build Coastguard Worker# CHECK-LE: bla target # encoding: [0bAAAAAA11,A,A,0b010010AA] 26*9880d681SAndroid Build Coastguard Worker# CHECK-BE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc_br24abs 27*9880d681SAndroid Build Coastguard Worker# CHECK-LE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc_br24abs 28*9880d681SAndroid Build Coastguard Worker bla target 29*9880d681SAndroid Build Coastguard Worker 30*9880d681SAndroid Build Coastguard Worker# CHECK-BE: bf 10, target # encoding: [0x40,0x8a,A,0bAAAAAA00] 31*9880d681SAndroid Build Coastguard Worker# CHECK-LE: bf 10, target # encoding: [0bAAAAAA00,A,0x8a,0x40] 32*9880d681SAndroid Build Coastguard Worker# CHECK-BE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc_brcond14 33*9880d681SAndroid Build Coastguard Worker# CHECK-LE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc_brcond14 34*9880d681SAndroid Build Coastguard Worker bc 4, 10, target 35*9880d681SAndroid Build Coastguard Worker# CHECK-BE: bfa 10, target # encoding: [0x40,0x8a,A,0bAAAAAA10] 36*9880d681SAndroid Build Coastguard Worker# CHECK-LE: bfa 10, target # encoding: [0bAAAAAA10,A,0x8a,0x40] 37*9880d681SAndroid Build Coastguard Worker# CHECK-BE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc_brcond14abs 38*9880d681SAndroid Build Coastguard Worker# CHECK-LE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc_brcond14abs 39*9880d681SAndroid Build Coastguard Worker bca 4, 10, target 40*9880d681SAndroid Build Coastguard Worker# CHECK-BE: bfl 10, target # encoding: [0x40,0x8a,A,0bAAAAAA01] 41*9880d681SAndroid Build Coastguard Worker# CHECK-LE: bfl 10, target # encoding: [0bAAAAAA01,A,0x8a,0x40] 42*9880d681SAndroid Build Coastguard Worker# CHECK-BE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc_brcond14 43*9880d681SAndroid Build Coastguard Worker# CHECK-LE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc_brcond14 44*9880d681SAndroid Build Coastguard Worker bcl 4, 10, target 45*9880d681SAndroid Build Coastguard Worker# CHECK-BE: bfla 10, target # encoding: [0x40,0x8a,A,0bAAAAAA11] 46*9880d681SAndroid Build Coastguard Worker# CHECK-LE: bfla 10, target # encoding: [0bAAAAAA11,A,0x8a,0x40] 47*9880d681SAndroid Build Coastguard Worker# CHECK-BE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc_brcond14abs 48*9880d681SAndroid Build Coastguard Worker# CHECK-LE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc_brcond14abs 49*9880d681SAndroid Build Coastguard Worker bcla 4, 10, target 50*9880d681SAndroid Build Coastguard Worker 51*9880d681SAndroid Build Coastguard Worker# CHECK-BE: bclr 4, 10, 3 # encoding: [0x4c,0x8a,0x18,0x20] 52*9880d681SAndroid Build Coastguard Worker# CHECK-LE: bclr 4, 10, 3 # encoding: [0x20,0x18,0x8a,0x4c] 53*9880d681SAndroid Build Coastguard Worker bclr 4, 10, 3 54*9880d681SAndroid Build Coastguard Worker# CHECK-BE: bclr 4, 10 # encoding: [0x4c,0x8a,0x00,0x20] 55*9880d681SAndroid Build Coastguard Worker# CHECK-LE: bclr 4, 10 # encoding: [0x20,0x00,0x8a,0x4c] 56*9880d681SAndroid Build Coastguard Worker bclr 4, 10 57*9880d681SAndroid Build Coastguard Worker# CHECK-BE: bclrl 4, 10, 3 # encoding: [0x4c,0x8a,0x18,0x21] 58*9880d681SAndroid Build Coastguard Worker# CHECK-LE: bclrl 4, 10, 3 # encoding: [0x21,0x18,0x8a,0x4c] 59*9880d681SAndroid Build Coastguard Worker bclrl 4, 10, 3 60*9880d681SAndroid Build Coastguard Worker# CHECK-BE: bclrl 4, 10 # encoding: [0x4c,0x8a,0x00,0x21] 61*9880d681SAndroid Build Coastguard Worker# CHECK-LE: bclrl 4, 10 # encoding: [0x21,0x00,0x8a,0x4c] 62*9880d681SAndroid Build Coastguard Worker bclrl 4, 10 63*9880d681SAndroid Build Coastguard Worker# CHECK-BE: bcctr 4, 10, 3 # encoding: [0x4c,0x8a,0x1c,0x20] 64*9880d681SAndroid Build Coastguard Worker# CHECK-LE: bcctr 4, 10, 3 # encoding: [0x20,0x1c,0x8a,0x4c] 65*9880d681SAndroid Build Coastguard Worker bcctr 4, 10, 3 66*9880d681SAndroid Build Coastguard Worker# CHECK-BE: bcctr 4, 10 # encoding: [0x4c,0x8a,0x04,0x20] 67*9880d681SAndroid Build Coastguard Worker# CHECK-LE: bcctr 4, 10 # encoding: [0x20,0x04,0x8a,0x4c] 68*9880d681SAndroid Build Coastguard Worker bcctr 4, 10 69*9880d681SAndroid Build Coastguard Worker# CHECK-BE: bcctrl 4, 10, 3 # encoding: [0x4c,0x8a,0x1c,0x21] 70*9880d681SAndroid Build Coastguard Worker# CHECK-LE: bcctrl 4, 10, 3 # encoding: [0x21,0x1c,0x8a,0x4c] 71*9880d681SAndroid Build Coastguard Worker bcctrl 4, 10, 3 72*9880d681SAndroid Build Coastguard Worker# CHECK-BE: bcctrl 4, 10 # encoding: [0x4c,0x8a,0x04,0x21] 73*9880d681SAndroid Build Coastguard Worker# CHECK-LE: bcctrl 4, 10 # encoding: [0x21,0x04,0x8a,0x4c] 74*9880d681SAndroid Build Coastguard Worker bcctrl 4, 10 75*9880d681SAndroid Build Coastguard Worker 76*9880d681SAndroid Build Coastguard Worker# Condition register instructions 77*9880d681SAndroid Build Coastguard Worker 78*9880d681SAndroid Build Coastguard Worker# CHECK-BE: crand 2, 3, 4 # encoding: [0x4c,0x43,0x22,0x02] 79*9880d681SAndroid Build Coastguard Worker# CHECK-LE: crand 2, 3, 4 # encoding: [0x02,0x22,0x43,0x4c] 80*9880d681SAndroid Build Coastguard Worker crand 2, 3, 4 81*9880d681SAndroid Build Coastguard Worker# CHECK-BE: crnand 2, 3, 4 # encoding: [0x4c,0x43,0x21,0xc2] 82*9880d681SAndroid Build Coastguard Worker# CHECK-LE: crnand 2, 3, 4 # encoding: [0xc2,0x21,0x43,0x4c] 83*9880d681SAndroid Build Coastguard Worker crnand 2, 3, 4 84*9880d681SAndroid Build Coastguard Worker# CHECK-BE: cror 2, 3, 4 # encoding: [0x4c,0x43,0x23,0x82] 85*9880d681SAndroid Build Coastguard Worker# CHECK-LE: cror 2, 3, 4 # encoding: [0x82,0x23,0x43,0x4c] 86*9880d681SAndroid Build Coastguard Worker cror 2, 3, 4 87*9880d681SAndroid Build Coastguard Worker# CHECK-BE: crxor 2, 3, 4 # encoding: [0x4c,0x43,0x21,0x82] 88*9880d681SAndroid Build Coastguard Worker# CHECK-LE: crxor 2, 3, 4 # encoding: [0x82,0x21,0x43,0x4c] 89*9880d681SAndroid Build Coastguard Worker crxor 2, 3, 4 90*9880d681SAndroid Build Coastguard Worker# CHECK-BE: crnor 2, 3, 4 # encoding: [0x4c,0x43,0x20,0x42] 91*9880d681SAndroid Build Coastguard Worker# CHECK-LE: crnor 2, 3, 4 # encoding: [0x42,0x20,0x43,0x4c] 92*9880d681SAndroid Build Coastguard Worker crnor 2, 3, 4 93*9880d681SAndroid Build Coastguard Worker# CHECK-BE: creqv 2, 3, 4 # encoding: [0x4c,0x43,0x22,0x42] 94*9880d681SAndroid Build Coastguard Worker# CHECK-LE: creqv 2, 3, 4 # encoding: [0x42,0x22,0x43,0x4c] 95*9880d681SAndroid Build Coastguard Worker creqv 2, 3, 4 96*9880d681SAndroid Build Coastguard Worker# CHECK-BE: crandc 2, 3, 4 # encoding: [0x4c,0x43,0x21,0x02] 97*9880d681SAndroid Build Coastguard Worker# CHECK-LE: crandc 2, 3, 4 # encoding: [0x02,0x21,0x43,0x4c] 98*9880d681SAndroid Build Coastguard Worker crandc 2, 3, 4 99*9880d681SAndroid Build Coastguard Worker# CHECK-BE: crorc 2, 3, 4 # encoding: [0x4c,0x43,0x23,0x42] 100*9880d681SAndroid Build Coastguard Worker# CHECK-LE: crorc 2, 3, 4 # encoding: [0x42,0x23,0x43,0x4c] 101*9880d681SAndroid Build Coastguard Worker crorc 2, 3, 4 102*9880d681SAndroid Build Coastguard Worker# CHECK-BE: mcrf 2, 3 # encoding: [0x4d,0x0c,0x00,0x00] 103*9880d681SAndroid Build Coastguard Worker# CHECK-LE: mcrf 2, 3 # encoding: [0x00,0x00,0x0c,0x4d] 104*9880d681SAndroid Build Coastguard Worker mcrf 2, 3 105*9880d681SAndroid Build Coastguard Worker 106*9880d681SAndroid Build Coastguard Worker# System call instruction 107*9880d681SAndroid Build Coastguard Worker 108*9880d681SAndroid Build Coastguard Worker# CHECK-BE: sc 1 # encoding: [0x44,0x00,0x00,0x22] 109*9880d681SAndroid Build Coastguard Worker# CHECK-LE: sc 1 # encoding: [0x22,0x00,0x00,0x44] 110*9880d681SAndroid Build Coastguard Worker sc 1 111*9880d681SAndroid Build Coastguard Worker# CHECK-BE: sc # encoding: [0x44,0x00,0x00,0x02] 112*9880d681SAndroid Build Coastguard Worker# CHECK-LE: sc # encoding: [0x02,0x00,0x00,0x44] 113*9880d681SAndroid Build Coastguard Worker sc 114*9880d681SAndroid Build Coastguard Worker 115*9880d681SAndroid Build Coastguard Worker# Branch history rolling buffer 116*9880d681SAndroid Build Coastguard Worker 117*9880d681SAndroid Build Coastguard Worker# CHECK-BE: clrbhrb # encoding: [0x7c,0x00,0x03,0x5c] 118*9880d681SAndroid Build Coastguard Worker# CHECK-LE: clrbhrb # encoding: [0x5c,0x03,0x00,0x7c] 119*9880d681SAndroid Build Coastguard Worker clrbhrb 120*9880d681SAndroid Build Coastguard Worker# CHECK-BE: mfbhrbe 9, 983 # encoding: [0x7d,0x3e,0xba,0x5c] 121*9880d681SAndroid Build Coastguard Worker# CHECK-LE: mfbhrbe 9, 983 # encoding: [0x5c,0xba,0x3e,0x7d] 122*9880d681SAndroid Build Coastguard Worker mfbhrbe 9, 983 123*9880d681SAndroid Build Coastguard Worker# CHECK-BE: rfebb 1 # encoding: [0x4c,0x00,0x09,0x24] 124*9880d681SAndroid Build Coastguard Worker# CHECK-LE: rfebb 1 # encoding: [0x24,0x09,0x00,0x4c] 125*9880d681SAndroid Build Coastguard Worker rfebb 1 126*9880d681SAndroid Build Coastguard Worker 127*9880d681SAndroid Build Coastguard Worker# Fixed-point facility 128*9880d681SAndroid Build Coastguard Worker 129*9880d681SAndroid Build Coastguard Worker# Fixed-point load instructions 130*9880d681SAndroid Build Coastguard Worker 131*9880d681SAndroid Build Coastguard Worker# CHECK-BE: lbz 2, 128(4) # encoding: [0x88,0x44,0x00,0x80] 132*9880d681SAndroid Build Coastguard Worker# CHECK-LE: lbz 2, 128(4) # encoding: [0x80,0x00,0x44,0x88] 133*9880d681SAndroid Build Coastguard Worker lbz 2, 128(4) 134*9880d681SAndroid Build Coastguard Worker# CHECK-BE: lbzx 2, 3, 4 # encoding: [0x7c,0x43,0x20,0xae] 135*9880d681SAndroid Build Coastguard Worker# CHECK-LE: lbzx 2, 3, 4 # encoding: [0xae,0x20,0x43,0x7c] 136*9880d681SAndroid Build Coastguard Worker lbzx 2, 3, 4 137*9880d681SAndroid Build Coastguard Worker# CHECK-BE: lbzu 2, 128(4) # encoding: [0x8c,0x44,0x00,0x80] 138*9880d681SAndroid Build Coastguard Worker# CHECK-LE: lbzu 2, 128(4) # encoding: [0x80,0x00,0x44,0x8c] 139*9880d681SAndroid Build Coastguard Worker lbzu 2, 128(4) 140*9880d681SAndroid Build Coastguard Worker# CHECK-BE: lbzux 2, 3, 4 # encoding: [0x7c,0x43,0x20,0xee] 141*9880d681SAndroid Build Coastguard Worker# CHECK-LE: lbzux 2, 3, 4 # encoding: [0xee,0x20,0x43,0x7c] 142*9880d681SAndroid Build Coastguard Worker lbzux 2, 3, 4 143*9880d681SAndroid Build Coastguard Worker# CHECK-BE: lhz 2, 128(4) # encoding: [0xa0,0x44,0x00,0x80] 144*9880d681SAndroid Build Coastguard Worker# CHECK-LE: lhz 2, 128(4) # encoding: [0x80,0x00,0x44,0xa0] 145*9880d681SAndroid Build Coastguard Worker lhz 2, 128(4) 146*9880d681SAndroid Build Coastguard Worker# CHECK-BE: lhzx 2, 3, 4 # encoding: [0x7c,0x43,0x22,0x2e] 147*9880d681SAndroid Build Coastguard Worker# CHECK-LE: lhzx 2, 3, 4 # encoding: [0x2e,0x22,0x43,0x7c] 148*9880d681SAndroid Build Coastguard Worker lhzx 2, 3, 4 149*9880d681SAndroid Build Coastguard Worker# CHECK-BE: lhzu 2, 128(4) # encoding: [0xa4,0x44,0x00,0x80] 150*9880d681SAndroid Build Coastguard Worker# CHECK-LE: lhzu 2, 128(4) # encoding: [0x80,0x00,0x44,0xa4] 151*9880d681SAndroid Build Coastguard Worker lhzu 2, 128(4) 152*9880d681SAndroid Build Coastguard Worker# CHECK-BE: lhzux 2, 3, 4 # encoding: [0x7c,0x43,0x22,0x6e] 153*9880d681SAndroid Build Coastguard Worker# CHECK-LE: lhzux 2, 3, 4 # encoding: [0x6e,0x22,0x43,0x7c] 154*9880d681SAndroid Build Coastguard Worker lhzux 2, 3, 4 155*9880d681SAndroid Build Coastguard Worker# CHECK-BE: lha 2, 128(4) # encoding: [0xa8,0x44,0x00,0x80] 156*9880d681SAndroid Build Coastguard Worker# CHECK-LE: lha 2, 128(4) # encoding: [0x80,0x00,0x44,0xa8] 157*9880d681SAndroid Build Coastguard Worker lha 2, 128(4) 158*9880d681SAndroid Build Coastguard Worker# CHECK-BE: lhax 2, 3, 4 # encoding: [0x7c,0x43,0x22,0xae] 159*9880d681SAndroid Build Coastguard Worker# CHECK-LE: lhax 2, 3, 4 # encoding: [0xae,0x22,0x43,0x7c] 160*9880d681SAndroid Build Coastguard Worker lhax 2, 3, 4 161*9880d681SAndroid Build Coastguard Worker# CHECK-BE: lhau 2, 128(4) # encoding: [0xac,0x44,0x00,0x80] 162*9880d681SAndroid Build Coastguard Worker# CHECK-LE: lhau 2, 128(4) # encoding: [0x80,0x00,0x44,0xac] 163*9880d681SAndroid Build Coastguard Worker lhau 2, 128(4) 164*9880d681SAndroid Build Coastguard Worker# CHECK-BE: lhaux 2, 3, 4 # encoding: [0x7c,0x43,0x22,0xee] 165*9880d681SAndroid Build Coastguard Worker# CHECK-LE: lhaux 2, 3, 4 # encoding: [0xee,0x22,0x43,0x7c] 166*9880d681SAndroid Build Coastguard Worker lhaux 2, 3, 4 167*9880d681SAndroid Build Coastguard Worker# CHECK-BE: lwz 2, 128(4) # encoding: [0x80,0x44,0x00,0x80] 168*9880d681SAndroid Build Coastguard Worker# CHECK-LE: lwz 2, 128(4) # encoding: [0x80,0x00,0x44,0x80] 169*9880d681SAndroid Build Coastguard Worker lwz 2, 128(4) 170*9880d681SAndroid Build Coastguard Worker# CHECK-BE: lwzx 2, 3, 4 # encoding: [0x7c,0x43,0x20,0x2e] 171*9880d681SAndroid Build Coastguard Worker# CHECK-LE: lwzx 2, 3, 4 # encoding: [0x2e,0x20,0x43,0x7c] 172*9880d681SAndroid Build Coastguard Worker lwzx 2, 3, 4 173*9880d681SAndroid Build Coastguard Worker# CHECK-BE: lwzu 2, 128(4) # encoding: [0x84,0x44,0x00,0x80] 174*9880d681SAndroid Build Coastguard Worker# CHECK-LE: lwzu 2, 128(4) # encoding: [0x80,0x00,0x44,0x84] 175*9880d681SAndroid Build Coastguard Worker lwzu 2, 128(4) 176*9880d681SAndroid Build Coastguard Worker# CHECK-BE: lwzux 2, 3, 4 # encoding: [0x7c,0x43,0x20,0x6e] 177*9880d681SAndroid Build Coastguard Worker# CHECK-LE: lwzux 2, 3, 4 # encoding: [0x6e,0x20,0x43,0x7c] 178*9880d681SAndroid Build Coastguard Worker lwzux 2, 3, 4 179*9880d681SAndroid Build Coastguard Worker# CHECK-BE: lwa 2, 128(4) # encoding: [0xe8,0x44,0x00,0x82] 180*9880d681SAndroid Build Coastguard Worker# CHECK-LE: lwa 2, 128(4) # encoding: [0x82,0x00,0x44,0xe8] 181*9880d681SAndroid Build Coastguard Worker lwa 2, 128(4) 182*9880d681SAndroid Build Coastguard Worker# CHECK-BE: lwax 2, 3, 4 # encoding: [0x7c,0x43,0x22,0xaa] 183*9880d681SAndroid Build Coastguard Worker# CHECK-LE: lwax 2, 3, 4 # encoding: [0xaa,0x22,0x43,0x7c] 184*9880d681SAndroid Build Coastguard Worker lwax 2, 3, 4 185*9880d681SAndroid Build Coastguard Worker# CHECK-BE: lwaux 2, 3, 4 # encoding: [0x7c,0x43,0x22,0xea] 186*9880d681SAndroid Build Coastguard Worker# CHECK-LE: lwaux 2, 3, 4 # encoding: [0xea,0x22,0x43,0x7c] 187*9880d681SAndroid Build Coastguard Worker lwaux 2, 3, 4 188*9880d681SAndroid Build Coastguard Worker# CHECK-BE: ld 2, 128(4) # encoding: [0xe8,0x44,0x00,0x80] 189*9880d681SAndroid Build Coastguard Worker# CHECK-LE: ld 2, 128(4) # encoding: [0x80,0x00,0x44,0xe8] 190*9880d681SAndroid Build Coastguard Worker ld 2, 128(4) 191*9880d681SAndroid Build Coastguard Worker# CHECK-BE: ldx 2, 3, 4 # encoding: [0x7c,0x43,0x20,0x2a] 192*9880d681SAndroid Build Coastguard Worker# CHECK-LE: ldx 2, 3, 4 # encoding: [0x2a,0x20,0x43,0x7c] 193*9880d681SAndroid Build Coastguard Worker ldx 2, 3, 4 194*9880d681SAndroid Build Coastguard Worker# CHECK-BE: ldu 2, 128(4) # encoding: [0xe8,0x44,0x00,0x81] 195*9880d681SAndroid Build Coastguard Worker# CHECK-LE: ldu 2, 128(4) # encoding: [0x81,0x00,0x44,0xe8] 196*9880d681SAndroid Build Coastguard Worker ldu 2, 128(4) 197*9880d681SAndroid Build Coastguard Worker# CHECK-BE: ldux 2, 3, 4 # encoding: [0x7c,0x43,0x20,0x6a] 198*9880d681SAndroid Build Coastguard Worker# CHECK-LE: ldux 2, 3, 4 # encoding: [0x6a,0x20,0x43,0x7c] 199*9880d681SAndroid Build Coastguard Worker ldux 2, 3, 4 200*9880d681SAndroid Build Coastguard Worker# CHECK-BE: ldmx 2, 3, 4 # encoding: [0x7c,0x43,0x22,0x6a] 201*9880d681SAndroid Build Coastguard Worker# CHECK-LE: ldmx 2, 3, 4 # encoding: [0x6a,0x22,0x43,0x7c] 202*9880d681SAndroid Build Coastguard Worker ldmx 2, 3, 4 203*9880d681SAndroid Build Coastguard Worker 204*9880d681SAndroid Build Coastguard Worker# Fixed-point store instructions 205*9880d681SAndroid Build Coastguard Worker 206*9880d681SAndroid Build Coastguard Worker# CHECK-BE: stb 2, 128(4) # encoding: [0x98,0x44,0x00,0x80] 207*9880d681SAndroid Build Coastguard Worker# CHECK-LE: stb 2, 128(4) # encoding: [0x80,0x00,0x44,0x98] 208*9880d681SAndroid Build Coastguard Worker stb 2, 128(4) 209*9880d681SAndroid Build Coastguard Worker# CHECK-BE: stbx 2, 3, 4 # encoding: [0x7c,0x43,0x21,0xae] 210*9880d681SAndroid Build Coastguard Worker# CHECK-LE: stbx 2, 3, 4 # encoding: [0xae,0x21,0x43,0x7c] 211*9880d681SAndroid Build Coastguard Worker stbx 2, 3, 4 212*9880d681SAndroid Build Coastguard Worker# CHECK-BE: stbu 2, 128(4) # encoding: [0x9c,0x44,0x00,0x80] 213*9880d681SAndroid Build Coastguard Worker# CHECK-LE: stbu 2, 128(4) # encoding: [0x80,0x00,0x44,0x9c] 214*9880d681SAndroid Build Coastguard Worker stbu 2, 128(4) 215*9880d681SAndroid Build Coastguard Worker# CHECK-BE: stbux 2, 3, 4 # encoding: [0x7c,0x43,0x21,0xee] 216*9880d681SAndroid Build Coastguard Worker# CHECK-LE: stbux 2, 3, 4 # encoding: [0xee,0x21,0x43,0x7c] 217*9880d681SAndroid Build Coastguard Worker stbux 2, 3, 4 218*9880d681SAndroid Build Coastguard Worker# CHECK-BE: sth 2, 128(4) # encoding: [0xb0,0x44,0x00,0x80] 219*9880d681SAndroid Build Coastguard Worker# CHECK-LE: sth 2, 128(4) # encoding: [0x80,0x00,0x44,0xb0] 220*9880d681SAndroid Build Coastguard Worker sth 2, 128(4) 221*9880d681SAndroid Build Coastguard Worker# CHECK-BE: sthx 2, 3, 4 # encoding: [0x7c,0x43,0x23,0x2e] 222*9880d681SAndroid Build Coastguard Worker# CHECK-LE: sthx 2, 3, 4 # encoding: [0x2e,0x23,0x43,0x7c] 223*9880d681SAndroid Build Coastguard Worker sthx 2, 3, 4 224*9880d681SAndroid Build Coastguard Worker# CHECK-BE: sthu 2, 128(4) # encoding: [0xb4,0x44,0x00,0x80] 225*9880d681SAndroid Build Coastguard Worker# CHECK-LE: sthu 2, 128(4) # encoding: [0x80,0x00,0x44,0xb4] 226*9880d681SAndroid Build Coastguard Worker sthu 2, 128(4) 227*9880d681SAndroid Build Coastguard Worker# CHECK-BE: sthux 2, 3, 4 # encoding: [0x7c,0x43,0x23,0x6e] 228*9880d681SAndroid Build Coastguard Worker# CHECK-LE: sthux 2, 3, 4 # encoding: [0x6e,0x23,0x43,0x7c] 229*9880d681SAndroid Build Coastguard Worker sthux 2, 3, 4 230*9880d681SAndroid Build Coastguard Worker# CHECK-BE: stw 2, 128(4) # encoding: [0x90,0x44,0x00,0x80] 231*9880d681SAndroid Build Coastguard Worker# CHECK-LE: stw 2, 128(4) # encoding: [0x80,0x00,0x44,0x90] 232*9880d681SAndroid Build Coastguard Worker stw 2, 128(4) 233*9880d681SAndroid Build Coastguard Worker# CHECK-BE: stwx 2, 3, 4 # encoding: [0x7c,0x43,0x21,0x2e] 234*9880d681SAndroid Build Coastguard Worker# CHECK-LE: stwx 2, 3, 4 # encoding: [0x2e,0x21,0x43,0x7c] 235*9880d681SAndroid Build Coastguard Worker stwx 2, 3, 4 236*9880d681SAndroid Build Coastguard Worker# CHECK-BE: stwu 2, 128(4) # encoding: [0x94,0x44,0x00,0x80] 237*9880d681SAndroid Build Coastguard Worker# CHECK-LE: stwu 2, 128(4) # encoding: [0x80,0x00,0x44,0x94] 238*9880d681SAndroid Build Coastguard Worker stwu 2, 128(4) 239*9880d681SAndroid Build Coastguard Worker# CHECK-BE: stwux 2, 3, 4 # encoding: [0x7c,0x43,0x21,0x6e] 240*9880d681SAndroid Build Coastguard Worker# CHECK-LE: stwux 2, 3, 4 # encoding: [0x6e,0x21,0x43,0x7c] 241*9880d681SAndroid Build Coastguard Worker stwux 2, 3, 4 242*9880d681SAndroid Build Coastguard Worker# CHECK-BE: std 2, 128(4) # encoding: [0xf8,0x44,0x00,0x80] 243*9880d681SAndroid Build Coastguard Worker# CHECK-LE: std 2, 128(4) # encoding: [0x80,0x00,0x44,0xf8] 244*9880d681SAndroid Build Coastguard Worker std 2, 128(4) 245*9880d681SAndroid Build Coastguard Worker# CHECK-BE: stdx 2, 3, 4 # encoding: [0x7c,0x43,0x21,0x2a] 246*9880d681SAndroid Build Coastguard Worker# CHECK-LE: stdx 2, 3, 4 # encoding: [0x2a,0x21,0x43,0x7c] 247*9880d681SAndroid Build Coastguard Worker stdx 2, 3, 4 248*9880d681SAndroid Build Coastguard Worker# CHECK-BE: stdu 2, 128(4) # encoding: [0xf8,0x44,0x00,0x81] 249*9880d681SAndroid Build Coastguard Worker# CHECK-LE: stdu 2, 128(4) # encoding: [0x81,0x00,0x44,0xf8] 250*9880d681SAndroid Build Coastguard Worker stdu 2, 128(4) 251*9880d681SAndroid Build Coastguard Worker# CHECK-BE: stdux 2, 3, 4 # encoding: [0x7c,0x43,0x21,0x6a] 252*9880d681SAndroid Build Coastguard Worker# CHECK-LE: stdux 2, 3, 4 # encoding: [0x6a,0x21,0x43,0x7c] 253*9880d681SAndroid Build Coastguard Worker stdux 2, 3, 4 254*9880d681SAndroid Build Coastguard Worker 255*9880d681SAndroid Build Coastguard Worker# Fixed-point load and store with byte reversal instructions 256*9880d681SAndroid Build Coastguard Worker 257*9880d681SAndroid Build Coastguard Worker# CHECK-BE: lhbrx 2, 3, 4 # encoding: [0x7c,0x43,0x26,0x2c] 258*9880d681SAndroid Build Coastguard Worker# CHECK-LE: lhbrx 2, 3, 4 # encoding: [0x2c,0x26,0x43,0x7c] 259*9880d681SAndroid Build Coastguard Worker lhbrx 2, 3, 4 260*9880d681SAndroid Build Coastguard Worker# CHECK-BE: sthbrx 2, 3, 4 # encoding: [0x7c,0x43,0x27,0x2c] 261*9880d681SAndroid Build Coastguard Worker# CHECK-LE: sthbrx 2, 3, 4 # encoding: [0x2c,0x27,0x43,0x7c] 262*9880d681SAndroid Build Coastguard Worker sthbrx 2, 3, 4 263*9880d681SAndroid Build Coastguard Worker# CHECK-BE: lwbrx 2, 3, 4 # encoding: [0x7c,0x43,0x24,0x2c] 264*9880d681SAndroid Build Coastguard Worker# CHECK-LE: lwbrx 2, 3, 4 # encoding: [0x2c,0x24,0x43,0x7c] 265*9880d681SAndroid Build Coastguard Worker lwbrx 2, 3, 4 266*9880d681SAndroid Build Coastguard Worker# CHECK-BE: stwbrx 2, 3, 4 # encoding: [0x7c,0x43,0x25,0x2c] 267*9880d681SAndroid Build Coastguard Worker# CHECK-LE: stwbrx 2, 3, 4 # encoding: [0x2c,0x25,0x43,0x7c] 268*9880d681SAndroid Build Coastguard Worker stwbrx 2, 3, 4 269*9880d681SAndroid Build Coastguard Worker# CHECK-BE: ldbrx 2, 3, 4 # encoding: [0x7c,0x43,0x24,0x28] 270*9880d681SAndroid Build Coastguard Worker# CHECK-LE: ldbrx 2, 3, 4 # encoding: [0x28,0x24,0x43,0x7c] 271*9880d681SAndroid Build Coastguard Worker ldbrx 2, 3, 4 272*9880d681SAndroid Build Coastguard Worker# CHECK-BE: stdbrx 2, 3, 4 # encoding: [0x7c,0x43,0x25,0x28] 273*9880d681SAndroid Build Coastguard Worker# CHECK-LE: stdbrx 2, 3, 4 # encoding: [0x28,0x25,0x43,0x7c] 274*9880d681SAndroid Build Coastguard Worker stdbrx 2, 3, 4 275*9880d681SAndroid Build Coastguard Worker 276*9880d681SAndroid Build Coastguard Worker# Fixed-point load and store multiple instructions 277*9880d681SAndroid Build Coastguard Worker 278*9880d681SAndroid Build Coastguard Worker# CHECK-BE: lmw 2, 128(1) # encoding: [0xb8,0x41,0x00,0x80] 279*9880d681SAndroid Build Coastguard Worker# CHECK-LE: lmw 2, 128(1) # encoding: [0x80,0x00,0x41,0xb8] 280*9880d681SAndroid Build Coastguard Worker lmw 2, 128(1) 281*9880d681SAndroid Build Coastguard Worker# CHECK-BE: stmw 2, 128(1) # encoding: [0xbc,0x41,0x00,0x80] 282*9880d681SAndroid Build Coastguard Worker# CHECK-LE: stmw 2, 128(1) # encoding: [0x80,0x00,0x41,0xbc] 283*9880d681SAndroid Build Coastguard Worker stmw 2, 128(1) 284*9880d681SAndroid Build Coastguard Worker 285*9880d681SAndroid Build Coastguard Worker# FIXME: Fixed-point move assist instructions 286*9880d681SAndroid Build Coastguard Worker 287*9880d681SAndroid Build Coastguard Worker# Fixed-point arithmetic instructions 288*9880d681SAndroid Build Coastguard Worker 289*9880d681SAndroid Build Coastguard Worker# CHECK-BE: addi 2, 3, 128 # encoding: [0x38,0x43,0x00,0x80] 290*9880d681SAndroid Build Coastguard Worker# CHECK-LE: addi 2, 3, 128 # encoding: [0x80,0x00,0x43,0x38] 291*9880d681SAndroid Build Coastguard Worker addi 2, 3, 128 292*9880d681SAndroid Build Coastguard Worker# CHECK-BE: addis 2, 3, 128 # encoding: [0x3c,0x43,0x00,0x80] 293*9880d681SAndroid Build Coastguard Worker# CHECK-LE: addis 2, 3, 128 # encoding: [0x80,0x00,0x43,0x3c] 294*9880d681SAndroid Build Coastguard Worker addis 2, 3, 128 295*9880d681SAndroid Build Coastguard Worker# CHECK-BE: add 2, 3, 4 # encoding: [0x7c,0x43,0x22,0x14] 296*9880d681SAndroid Build Coastguard Worker# CHECK-LE: add 2, 3, 4 # encoding: [0x14,0x22,0x43,0x7c] 297*9880d681SAndroid Build Coastguard Worker add 2, 3, 4 298*9880d681SAndroid Build Coastguard Worker# CHECK-BE: add. 2, 3, 4 # encoding: [0x7c,0x43,0x22,0x15] 299*9880d681SAndroid Build Coastguard Worker# CHECK-LE: add. 2, 3, 4 # encoding: [0x15,0x22,0x43,0x7c] 300*9880d681SAndroid Build Coastguard Worker add. 2, 3, 4 301*9880d681SAndroid Build Coastguard Worker# FIXME: addo 2, 3, 4 302*9880d681SAndroid Build Coastguard Worker# FIXME: addo. 2, 3, 4 303*9880d681SAndroid Build Coastguard Worker# CHECK-BE: subf 2, 3, 4 # encoding: [0x7c,0x43,0x20,0x50] 304*9880d681SAndroid Build Coastguard Worker# CHECK-LE: subf 2, 3, 4 # encoding: [0x50,0x20,0x43,0x7c] 305*9880d681SAndroid Build Coastguard Worker subf 2, 3, 4 306*9880d681SAndroid Build Coastguard Worker# CHECK-BE: subf. 2, 3, 4 # encoding: [0x7c,0x43,0x20,0x51] 307*9880d681SAndroid Build Coastguard Worker# CHECK-LE: subf. 2, 3, 4 # encoding: [0x51,0x20,0x43,0x7c] 308*9880d681SAndroid Build Coastguard Worker subf. 2, 3, 4 309*9880d681SAndroid Build Coastguard Worker# FIXME: subfo 2, 3, 4 310*9880d681SAndroid Build Coastguard Worker# FIXME: subfo. 2, 3, 4 311*9880d681SAndroid Build Coastguard Worker# CHECK-BE: addic 2, 3, 128 # encoding: [0x30,0x43,0x00,0x80] 312*9880d681SAndroid Build Coastguard Worker# CHECK-LE: addic 2, 3, 128 # encoding: [0x80,0x00,0x43,0x30] 313*9880d681SAndroid Build Coastguard Worker addic 2, 3, 128 314*9880d681SAndroid Build Coastguard Worker# CHECK-BE: addic. 2, 3, 128 # encoding: [0x34,0x43,0x00,0x80] 315*9880d681SAndroid Build Coastguard Worker# CHECK-LE: addic. 2, 3, 128 # encoding: [0x80,0x00,0x43,0x34] 316*9880d681SAndroid Build Coastguard Worker addic. 2, 3, 128 317*9880d681SAndroid Build Coastguard Worker# CHECK-BE: subfic 2, 3, 4 # encoding: [0x20,0x43,0x00,0x04] 318*9880d681SAndroid Build Coastguard Worker# CHECK-LE: subfic 2, 3, 4 # encoding: [0x04,0x00,0x43,0x20] 319*9880d681SAndroid Build Coastguard Worker subfic 2, 3, 4 320*9880d681SAndroid Build Coastguard Worker 321*9880d681SAndroid Build Coastguard Worker# CHECK-BE: addc 2, 3, 4 # encoding: [0x7c,0x43,0x20,0x14] 322*9880d681SAndroid Build Coastguard Worker# CHECK-LE: addc 2, 3, 4 # encoding: [0x14,0x20,0x43,0x7c] 323*9880d681SAndroid Build Coastguard Worker addc 2, 3, 4 324*9880d681SAndroid Build Coastguard Worker# CHECK-BE: addc. 2, 3, 4 # encoding: [0x7c,0x43,0x20,0x15] 325*9880d681SAndroid Build Coastguard Worker# CHECK-LE: addc. 2, 3, 4 # encoding: [0x15,0x20,0x43,0x7c] 326*9880d681SAndroid Build Coastguard Worker addc. 2, 3, 4 327*9880d681SAndroid Build Coastguard Worker# FIXME: addco 2, 3, 4 328*9880d681SAndroid Build Coastguard Worker# FIXME: addco. 2, 3, 4 329*9880d681SAndroid Build Coastguard Worker# CHECK-BE: subfc 2, 3, 4 # encoding: [0x7c,0x43,0x20,0x10] 330*9880d681SAndroid Build Coastguard Worker# CHECK-LE: subfc 2, 3, 4 # encoding: [0x10,0x20,0x43,0x7c] 331*9880d681SAndroid Build Coastguard Worker subfc 2, 3, 4 332*9880d681SAndroid Build Coastguard Worker# CHECK-BE: subfc 2, 3, 4 # encoding: [0x7c,0x43,0x20,0x10] 333*9880d681SAndroid Build Coastguard Worker# CHECK-LE: subfc 2, 3, 4 # encoding: [0x10,0x20,0x43,0x7c] 334*9880d681SAndroid Build Coastguard Worker subfc 2, 3, 4 335*9880d681SAndroid Build Coastguard Worker# FIXME: subfco 2, 3, 4 336*9880d681SAndroid Build Coastguard Worker# FIXME: subfco. 2, 3, 4 337*9880d681SAndroid Build Coastguard Worker 338*9880d681SAndroid Build Coastguard Worker# CHECK-BE: adde 2, 3, 4 # encoding: [0x7c,0x43,0x21,0x14] 339*9880d681SAndroid Build Coastguard Worker# CHECK-LE: adde 2, 3, 4 # encoding: [0x14,0x21,0x43,0x7c] 340*9880d681SAndroid Build Coastguard Worker adde 2, 3, 4 341*9880d681SAndroid Build Coastguard Worker# CHECK-BE: adde. 2, 3, 4 # encoding: [0x7c,0x43,0x21,0x15] 342*9880d681SAndroid Build Coastguard Worker# CHECK-LE: adde. 2, 3, 4 # encoding: [0x15,0x21,0x43,0x7c] 343*9880d681SAndroid Build Coastguard Worker adde. 2, 3, 4 344*9880d681SAndroid Build Coastguard Worker# FIXME: addeo 2, 3, 4 345*9880d681SAndroid Build Coastguard Worker# FIXME: addeo. 2, 3, 4 346*9880d681SAndroid Build Coastguard Worker# CHECK-BE: subfe 2, 3, 4 # encoding: [0x7c,0x43,0x21,0x10] 347*9880d681SAndroid Build Coastguard Worker# CHECK-LE: subfe 2, 3, 4 # encoding: [0x10,0x21,0x43,0x7c] 348*9880d681SAndroid Build Coastguard Worker subfe 2, 3, 4 349*9880d681SAndroid Build Coastguard Worker# CHECK-BE: subfe. 2, 3, 4 # encoding: [0x7c,0x43,0x21,0x11] 350*9880d681SAndroid Build Coastguard Worker# CHECK-LE: subfe. 2, 3, 4 # encoding: [0x11,0x21,0x43,0x7c] 351*9880d681SAndroid Build Coastguard Worker subfe. 2, 3, 4 352*9880d681SAndroid Build Coastguard Worker# FIXME: subfeo 2, 3, 4 353*9880d681SAndroid Build Coastguard Worker# FIXME: subfeo. 2, 3, 4 354*9880d681SAndroid Build Coastguard Worker 355*9880d681SAndroid Build Coastguard Worker# CHECK-BE: addme 2, 3 # encoding: [0x7c,0x43,0x01,0xd4] 356*9880d681SAndroid Build Coastguard Worker# CHECK-LE: addme 2, 3 # encoding: [0xd4,0x01,0x43,0x7c] 357*9880d681SAndroid Build Coastguard Worker addme 2, 3 358*9880d681SAndroid Build Coastguard Worker# CHECK-BE: addme. 2, 3 # encoding: [0x7c,0x43,0x01,0xd5] 359*9880d681SAndroid Build Coastguard Worker# CHECK-LE: addme. 2, 3 # encoding: [0xd5,0x01,0x43,0x7c] 360*9880d681SAndroid Build Coastguard Worker addme. 2, 3 361*9880d681SAndroid Build Coastguard Worker# FIXME: addmeo 2, 3 362*9880d681SAndroid Build Coastguard Worker# FIXME: addmeo. 2, 3 363*9880d681SAndroid Build Coastguard Worker# CHECK-BE: subfme 2, 3 # encoding: [0x7c,0x43,0x01,0xd0] 364*9880d681SAndroid Build Coastguard Worker# CHECK-LE: subfme 2, 3 # encoding: [0xd0,0x01,0x43,0x7c] 365*9880d681SAndroid Build Coastguard Worker subfme 2, 3 366*9880d681SAndroid Build Coastguard Worker# CHECK-BE: subfme. 2, 3 # encoding: [0x7c,0x43,0x01,0xd1] 367*9880d681SAndroid Build Coastguard Worker# CHECK-LE: subfme. 2, 3 # encoding: [0xd1,0x01,0x43,0x7c] 368*9880d681SAndroid Build Coastguard Worker subfme. 2, 3 369*9880d681SAndroid Build Coastguard Worker# FIXME: subfmeo 2, 3 370*9880d681SAndroid Build Coastguard Worker# FIXME: subfmeo. 2, 3 371*9880d681SAndroid Build Coastguard Worker 372*9880d681SAndroid Build Coastguard Worker# CHECK-BE: addze 2, 3 # encoding: [0x7c,0x43,0x01,0x94] 373*9880d681SAndroid Build Coastguard Worker# CHECK-LE: addze 2, 3 # encoding: [0x94,0x01,0x43,0x7c] 374*9880d681SAndroid Build Coastguard Worker addze 2, 3 375*9880d681SAndroid Build Coastguard Worker# CHECK-BE: addze. 2, 3 # encoding: [0x7c,0x43,0x01,0x95] 376*9880d681SAndroid Build Coastguard Worker# CHECK-LE: addze. 2, 3 # encoding: [0x95,0x01,0x43,0x7c] 377*9880d681SAndroid Build Coastguard Worker addze. 2, 3 378*9880d681SAndroid Build Coastguard Worker# FIXME: addzeo 2, 3 379*9880d681SAndroid Build Coastguard Worker# FIXME: addzeo. 2, 3 380*9880d681SAndroid Build Coastguard Worker# CHECK-BE: subfze 2, 3 # encoding: [0x7c,0x43,0x01,0x90] 381*9880d681SAndroid Build Coastguard Worker# CHECK-LE: subfze 2, 3 # encoding: [0x90,0x01,0x43,0x7c] 382*9880d681SAndroid Build Coastguard Worker subfze 2, 3 383*9880d681SAndroid Build Coastguard Worker# CHECK-BE: subfze. 2, 3 # encoding: [0x7c,0x43,0x01,0x91] 384*9880d681SAndroid Build Coastguard Worker# CHECK-LE: subfze. 2, 3 # encoding: [0x91,0x01,0x43,0x7c] 385*9880d681SAndroid Build Coastguard Worker subfze. 2, 3 386*9880d681SAndroid Build Coastguard Worker# FIXME: subfzeo 2, 3 387*9880d681SAndroid Build Coastguard Worker# FIXME: subfzeo. 2, 3 388*9880d681SAndroid Build Coastguard Worker 389*9880d681SAndroid Build Coastguard Worker# CHECK-BE: neg 2, 3 # encoding: [0x7c,0x43,0x00,0xd0] 390*9880d681SAndroid Build Coastguard Worker# CHECK-LE: neg 2, 3 # encoding: [0xd0,0x00,0x43,0x7c] 391*9880d681SAndroid Build Coastguard Worker neg 2, 3 392*9880d681SAndroid Build Coastguard Worker# CHECK-BE: neg. 2, 3 # encoding: [0x7c,0x43,0x00,0xd1] 393*9880d681SAndroid Build Coastguard Worker# CHECK-LE: neg. 2, 3 # encoding: [0xd1,0x00,0x43,0x7c] 394*9880d681SAndroid Build Coastguard Worker neg. 2, 3 395*9880d681SAndroid Build Coastguard Worker# FIXME: nego 2, 3 396*9880d681SAndroid Build Coastguard Worker# FIXME: nego. 2, 3 397*9880d681SAndroid Build Coastguard Worker 398*9880d681SAndroid Build Coastguard Worker# CHECK-BE: mulli 2, 3, 128 # encoding: [0x1c,0x43,0x00,0x80] 399*9880d681SAndroid Build Coastguard Worker# CHECK-LE: mulli 2, 3, 128 # encoding: [0x80,0x00,0x43,0x1c] 400*9880d681SAndroid Build Coastguard Worker mulli 2, 3, 128 401*9880d681SAndroid Build Coastguard Worker# CHECK-BE: mulhw 2, 3, 4 # encoding: [0x7c,0x43,0x20,0x96] 402*9880d681SAndroid Build Coastguard Worker# CHECK-LE: mulhw 2, 3, 4 # encoding: [0x96,0x20,0x43,0x7c] 403*9880d681SAndroid Build Coastguard Worker mulhw 2, 3, 4 404*9880d681SAndroid Build Coastguard Worker# CHECK-BE: mulhw. 2, 3, 4 # encoding: [0x7c,0x43,0x20,0x97] 405*9880d681SAndroid Build Coastguard Worker# CHECK-LE: mulhw. 2, 3, 4 # encoding: [0x97,0x20,0x43,0x7c] 406*9880d681SAndroid Build Coastguard Worker mulhw. 2, 3, 4 407*9880d681SAndroid Build Coastguard Worker# CHECK-BE: mullw 2, 3, 4 # encoding: [0x7c,0x43,0x21,0xd6] 408*9880d681SAndroid Build Coastguard Worker# CHECK-LE: mullw 2, 3, 4 # encoding: [0xd6,0x21,0x43,0x7c] 409*9880d681SAndroid Build Coastguard Worker mullw 2, 3, 4 410*9880d681SAndroid Build Coastguard Worker# CHECK-BE: mullw. 2, 3, 4 # encoding: [0x7c,0x43,0x21,0xd7] 411*9880d681SAndroid Build Coastguard Worker# CHECK-LE: mullw. 2, 3, 4 # encoding: [0xd7,0x21,0x43,0x7c] 412*9880d681SAndroid Build Coastguard Worker mullw. 2, 3, 4 413*9880d681SAndroid Build Coastguard Worker# FIXME: mullwo 2, 3, 4 414*9880d681SAndroid Build Coastguard Worker# FIXME: mullwo. 2, 3, 4 415*9880d681SAndroid Build Coastguard Worker# CHECK-BE: mulhwu 2, 3, 4 # encoding: [0x7c,0x43,0x20,0x16] 416*9880d681SAndroid Build Coastguard Worker# CHECK-LE: mulhwu 2, 3, 4 # encoding: [0x16,0x20,0x43,0x7c] 417*9880d681SAndroid Build Coastguard Worker mulhwu 2, 3, 4 418*9880d681SAndroid Build Coastguard Worker# CHECK-BE: mulhwu. 2, 3, 4 # encoding: [0x7c,0x43,0x20,0x17] 419*9880d681SAndroid Build Coastguard Worker# CHECK-LE: mulhwu. 2, 3, 4 # encoding: [0x17,0x20,0x43,0x7c] 420*9880d681SAndroid Build Coastguard Worker mulhwu. 2, 3, 4 421*9880d681SAndroid Build Coastguard Worker 422*9880d681SAndroid Build Coastguard Worker# CHECK-BE: divw 2, 3, 4 # encoding: [0x7c,0x43,0x23,0xd6] 423*9880d681SAndroid Build Coastguard Worker# CHECK-LE: divw 2, 3, 4 # encoding: [0xd6,0x23,0x43,0x7c] 424*9880d681SAndroid Build Coastguard Worker divw 2, 3, 4 425*9880d681SAndroid Build Coastguard Worker# CHECK-BE: divw. 2, 3, 4 # encoding: [0x7c,0x43,0x23,0xd7] 426*9880d681SAndroid Build Coastguard Worker# CHECK-LE: divw. 2, 3, 4 # encoding: [0xd7,0x23,0x43,0x7c] 427*9880d681SAndroid Build Coastguard Worker divw. 2, 3, 4 428*9880d681SAndroid Build Coastguard Worker# FIXME: divwo 2, 3, 4 429*9880d681SAndroid Build Coastguard Worker# FIXME: divwo. 2, 3, 4 430*9880d681SAndroid Build Coastguard Worker# CHECK-BE: divwu 2, 3, 4 # encoding: [0x7c,0x43,0x23,0x96] 431*9880d681SAndroid Build Coastguard Worker# CHECK-LE: divwu 2, 3, 4 # encoding: [0x96,0x23,0x43,0x7c] 432*9880d681SAndroid Build Coastguard Worker divwu 2, 3, 4 433*9880d681SAndroid Build Coastguard Worker# CHECK-BE: divwu. 2, 3, 4 # encoding: [0x7c,0x43,0x23,0x97] 434*9880d681SAndroid Build Coastguard Worker# CHECK-LE: divwu. 2, 3, 4 # encoding: [0x97,0x23,0x43,0x7c] 435*9880d681SAndroid Build Coastguard Worker divwu. 2, 3, 4 436*9880d681SAndroid Build Coastguard Worker# FIXME: divwuo 2, 3, 4 437*9880d681SAndroid Build Coastguard Worker# FIXME: divwuo. 2, 3, 4 438*9880d681SAndroid Build Coastguard Worker# CHECK-BE: divwe 2, 3, 4 # encoding: [0x7c,0x43,0x23,0x56] 439*9880d681SAndroid Build Coastguard Worker# CHECK-LE: divwe 2, 3, 4 # encoding: [0x56,0x23,0x43,0x7c] 440*9880d681SAndroid Build Coastguard Worker divwe 2, 3, 4 441*9880d681SAndroid Build Coastguard Worker# CHECK-BE: divwe. 2, 3, 4 # encoding: [0x7c,0x43,0x23,0x57] 442*9880d681SAndroid Build Coastguard Worker# CHECK-LE: divwe. 2, 3, 4 # encoding: [0x57,0x23,0x43,0x7c] 443*9880d681SAndroid Build Coastguard Worker divwe. 2, 3, 4 444*9880d681SAndroid Build Coastguard Worker# FIXME: divweo 2, 3, 4 445*9880d681SAndroid Build Coastguard Worker# FIXME: divweo. 2, 3, 4 446*9880d681SAndroid Build Coastguard Worker# CHECK-BE: divweu 2, 3, 4 # encoding: [0x7c,0x43,0x23,0x16] 447*9880d681SAndroid Build Coastguard Worker# CHECK-LE: divweu 2, 3, 4 # encoding: [0x16,0x23,0x43,0x7c] 448*9880d681SAndroid Build Coastguard Worker divweu 2, 3, 4 449*9880d681SAndroid Build Coastguard Worker# CHECK-BE: divweu. 2, 3, 4 # encoding: [0x7c,0x43,0x23,0x17] 450*9880d681SAndroid Build Coastguard Worker# CHECK-LE: divweu. 2, 3, 4 # encoding: [0x17,0x23,0x43,0x7c] 451*9880d681SAndroid Build Coastguard Worker divweu. 2, 3, 4 452*9880d681SAndroid Build Coastguard Worker# FIXME: divweuo 2, 3, 4 453*9880d681SAndroid Build Coastguard Worker# FIXME: divweuo. 2, 3, 4 454*9880d681SAndroid Build Coastguard Worker 455*9880d681SAndroid Build Coastguard Worker# CHECK-BE: mulld 2, 3, 4 # encoding: [0x7c,0x43,0x21,0xd2] 456*9880d681SAndroid Build Coastguard Worker# CHECK-LE: mulld 2, 3, 4 # encoding: [0xd2,0x21,0x43,0x7c] 457*9880d681SAndroid Build Coastguard Worker mulld 2, 3, 4 458*9880d681SAndroid Build Coastguard Worker# CHECK-BE: mulld. 2, 3, 4 # encoding: [0x7c,0x43,0x21,0xd3] 459*9880d681SAndroid Build Coastguard Worker# CHECK-LE: mulld. 2, 3, 4 # encoding: [0xd3,0x21,0x43,0x7c] 460*9880d681SAndroid Build Coastguard Worker mulld. 2, 3, 4 461*9880d681SAndroid Build Coastguard Worker# FIXME: mulldo 2, 3, 4 462*9880d681SAndroid Build Coastguard Worker# FIXME: mulldo. 2, 3, 4 463*9880d681SAndroid Build Coastguard Worker# CHECK-BE: mulhd 2, 3, 4 # encoding: [0x7c,0x43,0x20,0x92] 464*9880d681SAndroid Build Coastguard Worker# CHECK-LE: mulhd 2, 3, 4 # encoding: [0x92,0x20,0x43,0x7c] 465*9880d681SAndroid Build Coastguard Worker mulhd 2, 3, 4 466*9880d681SAndroid Build Coastguard Worker# CHECK-BE: mulhd. 2, 3, 4 # encoding: [0x7c,0x43,0x20,0x93] 467*9880d681SAndroid Build Coastguard Worker# CHECK-LE: mulhd. 2, 3, 4 # encoding: [0x93,0x20,0x43,0x7c] 468*9880d681SAndroid Build Coastguard Worker mulhd. 2, 3, 4 469*9880d681SAndroid Build Coastguard Worker# CHECK-BE: mulhdu 2, 3, 4 # encoding: [0x7c,0x43,0x20,0x12] 470*9880d681SAndroid Build Coastguard Worker# CHECK-LE: mulhdu 2, 3, 4 # encoding: [0x12,0x20,0x43,0x7c] 471*9880d681SAndroid Build Coastguard Worker mulhdu 2, 3, 4 472*9880d681SAndroid Build Coastguard Worker# CHECK-BE: mulhdu. 2, 3, 4 # encoding: [0x7c,0x43,0x20,0x13] 473*9880d681SAndroid Build Coastguard Worker# CHECK-LE: mulhdu. 2, 3, 4 # encoding: [0x13,0x20,0x43,0x7c] 474*9880d681SAndroid Build Coastguard Worker mulhdu. 2, 3, 4 475*9880d681SAndroid Build Coastguard Worker 476*9880d681SAndroid Build Coastguard Worker# CHECK-BE: divd 2, 3, 4 # encoding: [0x7c,0x43,0x23,0xd2] 477*9880d681SAndroid Build Coastguard Worker# CHECK-LE: divd 2, 3, 4 # encoding: [0xd2,0x23,0x43,0x7c] 478*9880d681SAndroid Build Coastguard Worker divd 2, 3, 4 479*9880d681SAndroid Build Coastguard Worker# CHECK-BE: divd. 2, 3, 4 # encoding: [0x7c,0x43,0x23,0xd3] 480*9880d681SAndroid Build Coastguard Worker# CHECK-LE: divd. 2, 3, 4 # encoding: [0xd3,0x23,0x43,0x7c] 481*9880d681SAndroid Build Coastguard Worker divd. 2, 3, 4 482*9880d681SAndroid Build Coastguard Worker# FIXME: divdo 2, 3, 4 483*9880d681SAndroid Build Coastguard Worker# FIXME: divdo. 2, 3, 4 484*9880d681SAndroid Build Coastguard Worker# CHECK-BE: divdu 2, 3, 4 # encoding: [0x7c,0x43,0x23,0x92] 485*9880d681SAndroid Build Coastguard Worker# CHECK-LE: divdu 2, 3, 4 # encoding: [0x92,0x23,0x43,0x7c] 486*9880d681SAndroid Build Coastguard Worker divdu 2, 3, 4 487*9880d681SAndroid Build Coastguard Worker# CHECK-BE: divdu. 2, 3, 4 # encoding: [0x7c,0x43,0x23,0x93] 488*9880d681SAndroid Build Coastguard Worker# CHECK-LE: divdu. 2, 3, 4 # encoding: [0x93,0x23,0x43,0x7c] 489*9880d681SAndroid Build Coastguard Worker divdu. 2, 3, 4 490*9880d681SAndroid Build Coastguard Worker# FIXME: divduo 2, 3, 4 491*9880d681SAndroid Build Coastguard Worker# FIXME: divduo. 2, 3, 4 492*9880d681SAndroid Build Coastguard Worker# CHECK-BE: divde 2, 3, 4 # encoding: [0x7c,0x43,0x23,0x52] 493*9880d681SAndroid Build Coastguard Worker# CHECK-LE: divde 2, 3, 4 # encoding: [0x52,0x23,0x43,0x7c] 494*9880d681SAndroid Build Coastguard Worker divde 2, 3, 4 495*9880d681SAndroid Build Coastguard Worker# CHECK-BE: divde. 2, 3, 4 # encoding: [0x7c,0x43,0x23,0x53] 496*9880d681SAndroid Build Coastguard Worker# CHECK-LE: divde. 2, 3, 4 # encoding: [0x53,0x23,0x43,0x7c] 497*9880d681SAndroid Build Coastguard Worker divde. 2, 3, 4 498*9880d681SAndroid Build Coastguard Worker# FIXME: divdeo 2, 3, 4 499*9880d681SAndroid Build Coastguard Worker# FIXME: divdeo. 2, 3, 4 500*9880d681SAndroid Build Coastguard Worker# CHECK-BE: divdeu 2, 3, 4 # encoding: [0x7c,0x43,0x23,0x12] 501*9880d681SAndroid Build Coastguard Worker# CHECK-LE: divdeu 2, 3, 4 # encoding: [0x12,0x23,0x43,0x7c] 502*9880d681SAndroid Build Coastguard Worker divdeu 2, 3, 4 503*9880d681SAndroid Build Coastguard Worker# CHECK-BE: divdeu. 2, 3, 4 # encoding: [0x7c,0x43,0x23,0x13] 504*9880d681SAndroid Build Coastguard Worker# CHECK-LE: divdeu. 2, 3, 4 # encoding: [0x13,0x23,0x43,0x7c] 505*9880d681SAndroid Build Coastguard Worker divdeu. 2, 3, 4 506*9880d681SAndroid Build Coastguard Worker# FIXME: divdeuo 2, 3, 4 507*9880d681SAndroid Build Coastguard Worker# FIXME: divdeuo. 2, 3, 4 508*9880d681SAndroid Build Coastguard Worker 509*9880d681SAndroid Build Coastguard Worker# Fixed-point compare instructions 510*9880d681SAndroid Build Coastguard Worker 511*9880d681SAndroid Build Coastguard Worker# CHECK-BE: cmpdi 2, 3, 128 # encoding: [0x2d,0x23,0x00,0x80] 512*9880d681SAndroid Build Coastguard Worker# CHECK-LE: cmpdi 2, 3, 128 # encoding: [0x80,0x00,0x23,0x2d] 513*9880d681SAndroid Build Coastguard Worker cmpi 2, 1, 3, 128 514*9880d681SAndroid Build Coastguard Worker# CHECK-BE: cmpd 2, 3, 4 # encoding: [0x7d,0x23,0x20,0x00] 515*9880d681SAndroid Build Coastguard Worker# CHECK-LE: cmpd 2, 3, 4 # encoding: [0x00,0x20,0x23,0x7d] 516*9880d681SAndroid Build Coastguard Worker cmp 2, 1, 3, 4 517*9880d681SAndroid Build Coastguard Worker# CHECK-BE: cmpldi 2, 3, 128 # encoding: [0x29,0x23,0x00,0x80] 518*9880d681SAndroid Build Coastguard Worker# CHECK-LE: cmpldi 2, 3, 128 # encoding: [0x80,0x00,0x23,0x29] 519*9880d681SAndroid Build Coastguard Worker cmpli 2, 1, 3, 128 520*9880d681SAndroid Build Coastguard Worker# CHECK-BE: cmpld 2, 3, 4 # encoding: [0x7d,0x23,0x20,0x40] 521*9880d681SAndroid Build Coastguard Worker# CHECK-LE: cmpld 2, 3, 4 # encoding: [0x40,0x20,0x23,0x7d] 522*9880d681SAndroid Build Coastguard Worker cmpl 2, 1, 3, 4 523*9880d681SAndroid Build Coastguard Worker 524*9880d681SAndroid Build Coastguard Worker# CHECK-BE: cmpwi 2, 3, 128 # encoding: [0x2d,0x03,0x00,0x80] 525*9880d681SAndroid Build Coastguard Worker# CHECK-LE: cmpwi 2, 3, 128 # encoding: [0x80,0x00,0x03,0x2d] 526*9880d681SAndroid Build Coastguard Worker cmpi 2, 0, 3, 128 527*9880d681SAndroid Build Coastguard Worker# CHECK-BE: cmpw 2, 3, 4 # encoding: [0x7d,0x03,0x20,0x00] 528*9880d681SAndroid Build Coastguard Worker# CHECK-LE: cmpw 2, 3, 4 # encoding: [0x00,0x20,0x03,0x7d] 529*9880d681SAndroid Build Coastguard Worker cmp 2, 0, 3, 4 530*9880d681SAndroid Build Coastguard Worker# CHECK-BE: cmplwi 2, 3, 128 # encoding: [0x29,0x03,0x00,0x80] 531*9880d681SAndroid Build Coastguard Worker# CHECK-LE: cmplwi 2, 3, 128 # encoding: [0x80,0x00,0x03,0x29] 532*9880d681SAndroid Build Coastguard Worker cmpli 2, 0, 3, 128 533*9880d681SAndroid Build Coastguard Worker# CHECK-BE: cmplw 2, 3, 4 # encoding: [0x7d,0x03,0x20,0x40] 534*9880d681SAndroid Build Coastguard Worker# CHECK-LE: cmplw 2, 3, 4 # encoding: [0x40,0x20,0x03,0x7d] 535*9880d681SAndroid Build Coastguard Worker cmpl 2, 0, 3, 4 536*9880d681SAndroid Build Coastguard Worker# CHECK-BE: cmprb 3, 1, 7, 17 # encoding: [0x7d,0xa7,0x89,0x80] 537*9880d681SAndroid Build Coastguard Worker# CHECK-LE: cmprb 3, 1, 7, 17 # encoding: [0x80,0x89,0xa7,0x7d] 538*9880d681SAndroid Build Coastguard Worker cmprb 3, 1, 7, 17 539*9880d681SAndroid Build Coastguard Worker# CHECK-BE: cmpeqb 3, 7, 17 # encoding: [0x7d,0x87,0x89,0xc0] 540*9880d681SAndroid Build Coastguard Worker# CHECK-LE: cmpeqb 3, 7, 17 # encoding: [0xc0,0x89,0x87,0x7d] 541*9880d681SAndroid Build Coastguard Worker cmpeqb 3, 7, 17 542*9880d681SAndroid Build Coastguard Worker# CHECK-BE: cnttzw 7, 17 # encoding: [0x7e,0x27,0x04,0x34] 543*9880d681SAndroid Build Coastguard Worker# CHECK-LE: cnttzw 7, 17 # encoding: [0x34,0x04,0x27,0x7e] 544*9880d681SAndroid Build Coastguard Worker cnttzw 7, 17 545*9880d681SAndroid Build Coastguard Worker# CHECK-BE: cnttzw. 7, 17 # encoding: [0x7e,0x27,0x04,0x35] 546*9880d681SAndroid Build Coastguard Worker# CHECK-LE: cnttzw. 7, 17 # encoding: [0x35,0x04,0x27,0x7e] 547*9880d681SAndroid Build Coastguard Worker cnttzw. 7, 17 548*9880d681SAndroid Build Coastguard Worker# CHECK-BE: cnttzd 7, 17 # encoding: [0x7e,0x27,0x04,0x74] 549*9880d681SAndroid Build Coastguard Worker# CHECK-LE: cnttzd 7, 17 # encoding: [0x74,0x04,0x27,0x7e] 550*9880d681SAndroid Build Coastguard Worker cnttzd 7, 17 551*9880d681SAndroid Build Coastguard Worker# CHECK-BE: cnttzd. 7, 17 # encoding: [0x7e,0x27,0x04,0x75] 552*9880d681SAndroid Build Coastguard Worker# CHECK-LE: cnttzd. 7, 17 # encoding: [0x75,0x04,0x27,0x7e] 553*9880d681SAndroid Build Coastguard Worker cnttzd. 7, 17 554*9880d681SAndroid Build Coastguard Worker 555*9880d681SAndroid Build Coastguard Worker# Fixed-point trap instructions 556*9880d681SAndroid Build Coastguard Worker 557*9880d681SAndroid Build Coastguard Worker# CHECK-BE: twllti 3, 4 # encoding: [0x0c,0x43,0x00,0x04] 558*9880d681SAndroid Build Coastguard Worker# CHECK-LE: twllti 3, 4 # encoding: [0x04,0x00,0x43,0x0c] 559*9880d681SAndroid Build Coastguard Worker twi 2, 3, 4 560*9880d681SAndroid Build Coastguard Worker# CHECK-BE: twllt 3, 4 # encoding: [0x7c,0x43,0x20,0x08] 561*9880d681SAndroid Build Coastguard Worker# CHECK-LE: twllt 3, 4 # encoding: [0x08,0x20,0x43,0x7c] 562*9880d681SAndroid Build Coastguard Worker tw 2, 3, 4 563*9880d681SAndroid Build Coastguard Worker# CHECK-BE: tdllti 3, 4 # encoding: [0x08,0x43,0x00,0x04] 564*9880d681SAndroid Build Coastguard Worker# CHECK-LE: tdllti 3, 4 # encoding: [0x04,0x00,0x43,0x08] 565*9880d681SAndroid Build Coastguard Worker tdi 2, 3, 4 566*9880d681SAndroid Build Coastguard Worker# CHECK-BE: tdllt 3, 4 # encoding: [0x7c,0x43,0x20,0x88] 567*9880d681SAndroid Build Coastguard Worker# CHECK-LE: tdllt 3, 4 # encoding: [0x88,0x20,0x43,0x7c] 568*9880d681SAndroid Build Coastguard Worker td 2, 3, 4 569*9880d681SAndroid Build Coastguard Worker 570*9880d681SAndroid Build Coastguard Worker# Fixed-point select 571*9880d681SAndroid Build Coastguard Worker 572*9880d681SAndroid Build Coastguard Worker# CHECK-BE: isel 2, 3, 4, 5 # encoding: [0x7c,0x43,0x21,0x5e] 573*9880d681SAndroid Build Coastguard Worker# CHECK-LE: isel 2, 3, 4, 5 # encoding: [0x5e,0x21,0x43,0x7c] 574*9880d681SAndroid Build Coastguard Worker isel 2, 3, 4, 5 575*9880d681SAndroid Build Coastguard Worker 576*9880d681SAndroid Build Coastguard Worker# Fixed-point logical instructions 577*9880d681SAndroid Build Coastguard Worker 578*9880d681SAndroid Build Coastguard Worker# CHECK-BE: andi. 2, 3, 128 # encoding: [0x70,0x62,0x00,0x80] 579*9880d681SAndroid Build Coastguard Worker# CHECK-LE: andi. 2, 3, 128 # encoding: [0x80,0x00,0x62,0x70] 580*9880d681SAndroid Build Coastguard Worker andi. 2, 3, 128 581*9880d681SAndroid Build Coastguard Worker# CHECK-BE: andis. 2, 3, 128 # encoding: [0x74,0x62,0x00,0x80] 582*9880d681SAndroid Build Coastguard Worker# CHECK-LE: andis. 2, 3, 128 # encoding: [0x80,0x00,0x62,0x74] 583*9880d681SAndroid Build Coastguard Worker andis. 2, 3, 128 584*9880d681SAndroid Build Coastguard Worker# CHECK-BE: ori 2, 3, 128 # encoding: [0x60,0x62,0x00,0x80] 585*9880d681SAndroid Build Coastguard Worker# CHECK-LE: ori 2, 3, 128 # encoding: [0x80,0x00,0x62,0x60] 586*9880d681SAndroid Build Coastguard Worker ori 2, 3, 128 587*9880d681SAndroid Build Coastguard Worker# CHECK-BE: oris 2, 3, 128 # encoding: [0x64,0x62,0x00,0x80] 588*9880d681SAndroid Build Coastguard Worker# CHECK-LE: oris 2, 3, 128 # encoding: [0x80,0x00,0x62,0x64] 589*9880d681SAndroid Build Coastguard Worker oris 2, 3, 128 590*9880d681SAndroid Build Coastguard Worker# CHECK-BE: xori 2, 3, 128 # encoding: [0x68,0x62,0x00,0x80] 591*9880d681SAndroid Build Coastguard Worker# CHECK-LE: xori 2, 3, 128 # encoding: [0x80,0x00,0x62,0x68] 592*9880d681SAndroid Build Coastguard Worker xori 2, 3, 128 593*9880d681SAndroid Build Coastguard Worker# CHECK-BE: xoris 2, 3, 128 # encoding: [0x6c,0x62,0x00,0x80] 594*9880d681SAndroid Build Coastguard Worker# CHECK-LE: xoris 2, 3, 128 # encoding: [0x80,0x00,0x62,0x6c] 595*9880d681SAndroid Build Coastguard Worker xoris 2, 3, 128 596*9880d681SAndroid Build Coastguard Worker# CHECK-BE: and 2, 3, 4 # encoding: [0x7c,0x62,0x20,0x38] 597*9880d681SAndroid Build Coastguard Worker# CHECK-LE: and 2, 3, 4 # encoding: [0x38,0x20,0x62,0x7c] 598*9880d681SAndroid Build Coastguard Worker and 2, 3, 4 599*9880d681SAndroid Build Coastguard Worker# CHECK-BE: and. 2, 3, 4 # encoding: [0x7c,0x62,0x20,0x39] 600*9880d681SAndroid Build Coastguard Worker# CHECK-LE: and. 2, 3, 4 # encoding: [0x39,0x20,0x62,0x7c] 601*9880d681SAndroid Build Coastguard Worker and. 2, 3, 4 602*9880d681SAndroid Build Coastguard Worker# CHECK-BE: xor 2, 3, 4 # encoding: [0x7c,0x62,0x22,0x78] 603*9880d681SAndroid Build Coastguard Worker# CHECK-LE: xor 2, 3, 4 # encoding: [0x78,0x22,0x62,0x7c] 604*9880d681SAndroid Build Coastguard Worker xor 2, 3, 4 605*9880d681SAndroid Build Coastguard Worker# CHECK-BE: xor. 2, 3, 4 # encoding: [0x7c,0x62,0x22,0x79] 606*9880d681SAndroid Build Coastguard Worker# CHECK-LE: xor. 2, 3, 4 # encoding: [0x79,0x22,0x62,0x7c] 607*9880d681SAndroid Build Coastguard Worker xor. 2, 3, 4 608*9880d681SAndroid Build Coastguard Worker# CHECK-BE: nand 2, 3, 4 # encoding: [0x7c,0x62,0x23,0xb8] 609*9880d681SAndroid Build Coastguard Worker# CHECK-LE: nand 2, 3, 4 # encoding: [0xb8,0x23,0x62,0x7c] 610*9880d681SAndroid Build Coastguard Worker nand 2, 3, 4 611*9880d681SAndroid Build Coastguard Worker# CHECK-BE: nand. 2, 3, 4 # encoding: [0x7c,0x62,0x23,0xb9] 612*9880d681SAndroid Build Coastguard Worker# CHECK-LE: nand. 2, 3, 4 # encoding: [0xb9,0x23,0x62,0x7c] 613*9880d681SAndroid Build Coastguard Worker nand. 2, 3, 4 614*9880d681SAndroid Build Coastguard Worker# CHECK-BE: or 2, 3, 4 # encoding: [0x7c,0x62,0x23,0x78] 615*9880d681SAndroid Build Coastguard Worker# CHECK-LE: or 2, 3, 4 # encoding: [0x78,0x23,0x62,0x7c] 616*9880d681SAndroid Build Coastguard Worker or 2, 3, 4 617*9880d681SAndroid Build Coastguard Worker# CHECK-BE: or. 2, 3, 4 # encoding: [0x7c,0x62,0x23,0x79] 618*9880d681SAndroid Build Coastguard Worker# CHECK-LE: or. 2, 3, 4 # encoding: [0x79,0x23,0x62,0x7c] 619*9880d681SAndroid Build Coastguard Worker or. 2, 3, 4 620*9880d681SAndroid Build Coastguard Worker# CHECK-BE: nor 2, 3, 4 # encoding: [0x7c,0x62,0x20,0xf8] 621*9880d681SAndroid Build Coastguard Worker# CHECK-LE: nor 2, 3, 4 # encoding: [0xf8,0x20,0x62,0x7c] 622*9880d681SAndroid Build Coastguard Worker nor 2, 3, 4 623*9880d681SAndroid Build Coastguard Worker# CHECK-BE: nor. 2, 3, 4 # encoding: [0x7c,0x62,0x20,0xf9] 624*9880d681SAndroid Build Coastguard Worker# CHECK-LE: nor. 2, 3, 4 # encoding: [0xf9,0x20,0x62,0x7c] 625*9880d681SAndroid Build Coastguard Worker nor. 2, 3, 4 626*9880d681SAndroid Build Coastguard Worker# CHECK-BE: eqv 2, 3, 4 # encoding: [0x7c,0x62,0x22,0x38] 627*9880d681SAndroid Build Coastguard Worker# CHECK-LE: eqv 2, 3, 4 # encoding: [0x38,0x22,0x62,0x7c] 628*9880d681SAndroid Build Coastguard Worker eqv 2, 3, 4 629*9880d681SAndroid Build Coastguard Worker# CHECK-BE: eqv. 2, 3, 4 # encoding: [0x7c,0x62,0x22,0x39] 630*9880d681SAndroid Build Coastguard Worker# CHECK-LE: eqv. 2, 3, 4 # encoding: [0x39,0x22,0x62,0x7c] 631*9880d681SAndroid Build Coastguard Worker eqv. 2, 3, 4 632*9880d681SAndroid Build Coastguard Worker# CHECK-BE: andc 2, 3, 4 # encoding: [0x7c,0x62,0x20,0x78] 633*9880d681SAndroid Build Coastguard Worker# CHECK-LE: andc 2, 3, 4 # encoding: [0x78,0x20,0x62,0x7c] 634*9880d681SAndroid Build Coastguard Worker andc 2, 3, 4 635*9880d681SAndroid Build Coastguard Worker# CHECK-BE: andc. 2, 3, 4 # encoding: [0x7c,0x62,0x20,0x79] 636*9880d681SAndroid Build Coastguard Worker# CHECK-LE: andc. 2, 3, 4 # encoding: [0x79,0x20,0x62,0x7c] 637*9880d681SAndroid Build Coastguard Worker andc. 2, 3, 4 638*9880d681SAndroid Build Coastguard Worker# CHECK-BE: orc 2, 3, 4 # encoding: [0x7c,0x62,0x23,0x38] 639*9880d681SAndroid Build Coastguard Worker# CHECK-LE: orc 2, 3, 4 # encoding: [0x38,0x23,0x62,0x7c] 640*9880d681SAndroid Build Coastguard Worker orc 2, 3, 4 641*9880d681SAndroid Build Coastguard Worker# CHECK-BE: orc. 2, 3, 4 # encoding: [0x7c,0x62,0x23,0x39] 642*9880d681SAndroid Build Coastguard Worker# CHECK-LE: orc. 2, 3, 4 # encoding: [0x39,0x23,0x62,0x7c] 643*9880d681SAndroid Build Coastguard Worker orc. 2, 3, 4 644*9880d681SAndroid Build Coastguard Worker 645*9880d681SAndroid Build Coastguard Worker# CHECK-BE: extsb 2, 3 # encoding: [0x7c,0x62,0x07,0x74] 646*9880d681SAndroid Build Coastguard Worker# CHECK-LE: extsb 2, 3 # encoding: [0x74,0x07,0x62,0x7c] 647*9880d681SAndroid Build Coastguard Worker extsb 2, 3 648*9880d681SAndroid Build Coastguard Worker# CHECK-BE: extsb. 2, 3 # encoding: [0x7c,0x62,0x07,0x75] 649*9880d681SAndroid Build Coastguard Worker# CHECK-LE: extsb. 2, 3 # encoding: [0x75,0x07,0x62,0x7c] 650*9880d681SAndroid Build Coastguard Worker extsb. 2, 3 651*9880d681SAndroid Build Coastguard Worker# CHECK-BE: extsh 2, 3 # encoding: [0x7c,0x62,0x07,0x34] 652*9880d681SAndroid Build Coastguard Worker# CHECK-LE: extsh 2, 3 # encoding: [0x34,0x07,0x62,0x7c] 653*9880d681SAndroid Build Coastguard Worker extsh 2, 3 654*9880d681SAndroid Build Coastguard Worker# CHECK-BE: extsh. 2, 3 # encoding: [0x7c,0x62,0x07,0x35] 655*9880d681SAndroid Build Coastguard Worker# CHECK-LE: extsh. 2, 3 # encoding: [0x35,0x07,0x62,0x7c] 656*9880d681SAndroid Build Coastguard Worker extsh. 2, 3 657*9880d681SAndroid Build Coastguard Worker 658*9880d681SAndroid Build Coastguard Worker# CHECK-BE: cntlzw 2, 3 # encoding: [0x7c,0x62,0x00,0x34] 659*9880d681SAndroid Build Coastguard Worker# CHECK-LE: cntlzw 2, 3 # encoding: [0x34,0x00,0x62,0x7c] 660*9880d681SAndroid Build Coastguard Worker cntlzw 2, 3 661*9880d681SAndroid Build Coastguard Worker# CHECK-BE: cntlzw. 2, 3 # encoding: [0x7c,0x62,0x00,0x35] 662*9880d681SAndroid Build Coastguard Worker# CHECK-LE: cntlzw. 2, 3 # encoding: [0x35,0x00,0x62,0x7c] 663*9880d681SAndroid Build Coastguard Worker cntlzw. 2, 3 664*9880d681SAndroid Build Coastguard Worker# 665*9880d681SAndroid Build Coastguard Worker# The POWER variant of cntlzw 666*9880d681SAndroid Build Coastguard Worker# CHECK-BE: cntlzw 2, 3 # encoding: [0x7c,0x62,0x00,0x34] 667*9880d681SAndroid Build Coastguard Worker# CHECK-LE: cntlzw 2, 3 # encoding: [0x34,0x00,0x62,0x7c] 668*9880d681SAndroid Build Coastguard Worker cntlz 2, 3 669*9880d681SAndroid Build Coastguard Worker# CHECK-BE: cntlzw. 2, 3 # encoding: [0x7c,0x62,0x00,0x35] 670*9880d681SAndroid Build Coastguard Worker# CHECK-LE: cntlzw. 2, 3 # encoding: [0x35,0x00,0x62,0x7c] 671*9880d681SAndroid Build Coastguard Worker cntlz. 2, 3 672*9880d681SAndroid Build Coastguard Worker cmpb 7, 21, 4 673*9880d681SAndroid Build Coastguard Worker# CHECK-BE: cmpb 7, 21, 4 # encoding: [0x7e,0xa7,0x23,0xf8] 674*9880d681SAndroid Build Coastguard Worker# CHECK-LE: cmpb 7, 21, 4 # encoding: [0xf8,0x23,0xa7,0x7e] 675*9880d681SAndroid Build Coastguard Worker# FIXME: popcntb 2, 3 676*9880d681SAndroid Build Coastguard Worker# CHECK-BE: popcntw 2, 3 # encoding: [0x7c,0x62,0x02,0xf4] 677*9880d681SAndroid Build Coastguard Worker# CHECK-LE: popcntw 2, 3 # encoding: [0xf4,0x02,0x62,0x7c] 678*9880d681SAndroid Build Coastguard Worker popcntw 2, 3 679*9880d681SAndroid Build Coastguard Worker# FIXME: prtyd 2, 3 680*9880d681SAndroid Build Coastguard Worker# FIXME: prtyw 2, 3 681*9880d681SAndroid Build Coastguard Worker 682*9880d681SAndroid Build Coastguard Worker# CHECK-BE: extsw 2, 3 # encoding: [0x7c,0x62,0x07,0xb4] 683*9880d681SAndroid Build Coastguard Worker# CHECK-LE: extsw 2, 3 # encoding: [0xb4,0x07,0x62,0x7c] 684*9880d681SAndroid Build Coastguard Worker extsw 2, 3 685*9880d681SAndroid Build Coastguard Worker# CHECK-BE: extsw. 2, 3 # encoding: [0x7c,0x62,0x07,0xb5] 686*9880d681SAndroid Build Coastguard Worker# CHECK-LE: extsw. 2, 3 # encoding: [0xb5,0x07,0x62,0x7c] 687*9880d681SAndroid Build Coastguard Worker extsw. 2, 3 688*9880d681SAndroid Build Coastguard Worker 689*9880d681SAndroid Build Coastguard Worker# CHECK-BE: cntlzd 2, 3 # encoding: [0x7c,0x62,0x00,0x74] 690*9880d681SAndroid Build Coastguard Worker# CHECK-LE: cntlzd 2, 3 # encoding: [0x74,0x00,0x62,0x7c] 691*9880d681SAndroid Build Coastguard Worker cntlzd 2, 3 692*9880d681SAndroid Build Coastguard Worker# CHECK-BE: cntlzd. 2, 3 # encoding: [0x7c,0x62,0x00,0x75] 693*9880d681SAndroid Build Coastguard Worker# CHECK-LE: cntlzd. 2, 3 # encoding: [0x75,0x00,0x62,0x7c] 694*9880d681SAndroid Build Coastguard Worker cntlzd. 2, 3 695*9880d681SAndroid Build Coastguard Worker# CHECK-BE: popcntd 2, 3 # encoding: [0x7c,0x62,0x03,0xf4] 696*9880d681SAndroid Build Coastguard Worker# CHECK-LE: popcntd 2, 3 # encoding: [0xf4,0x03,0x62,0x7c] 697*9880d681SAndroid Build Coastguard Worker popcntd 2, 3 698*9880d681SAndroid Build Coastguard Worker# CHECK-BE: bpermd 2, 3, 4 # encoding: [0x7c,0x62,0x21,0xf8] 699*9880d681SAndroid Build Coastguard Worker# CHECK-LE: bpermd 2, 3, 4 # encoding: [0xf8,0x21,0x62,0x7c] 700*9880d681SAndroid Build Coastguard Worker bpermd 2, 3, 4 701*9880d681SAndroid Build Coastguard Worker 702*9880d681SAndroid Build Coastguard Worker# Fixed-point rotate and shift instructions 703*9880d681SAndroid Build Coastguard Worker 704*9880d681SAndroid Build Coastguard Worker# CHECK-BE: rlwinm 2, 3, 4, 5, 6 # encoding: [0x54,0x62,0x21,0x4c] 705*9880d681SAndroid Build Coastguard Worker# CHECK-LE: rlwinm 2, 3, 4, 5, 6 # encoding: [0x4c,0x21,0x62,0x54] 706*9880d681SAndroid Build Coastguard Worker rlwinm 2, 3, 4, 5, 6 707*9880d681SAndroid Build Coastguard Worker# CHECK-BE: rlwinm. 2, 3, 4, 5, 6 # encoding: [0x54,0x62,0x21,0x4d] 708*9880d681SAndroid Build Coastguard Worker# CHECK-LE: rlwinm. 2, 3, 4, 5, 6 # encoding: [0x4d,0x21,0x62,0x54] 709*9880d681SAndroid Build Coastguard Worker rlwinm. 2, 3, 4, 5, 6 710*9880d681SAndroid Build Coastguard Worker# CHECK-BE: rlwnm 2, 3, 4, 5, 6 # encoding: [0x5c,0x62,0x21,0x4c] 711*9880d681SAndroid Build Coastguard Worker# CHECK-LE: rlwnm 2, 3, 4, 5, 6 # encoding: [0x4c,0x21,0x62,0x5c] 712*9880d681SAndroid Build Coastguard Worker rlwnm 2, 3, 4, 5, 6 713*9880d681SAndroid Build Coastguard Worker# CHECK-BE: rlwnm. 2, 3, 4, 5, 6 # encoding: [0x5c,0x62,0x21,0x4d] 714*9880d681SAndroid Build Coastguard Worker# CHECK-LE: rlwnm. 2, 3, 4, 5, 6 # encoding: [0x4d,0x21,0x62,0x5c] 715*9880d681SAndroid Build Coastguard Worker rlwnm. 2, 3, 4, 5, 6 716*9880d681SAndroid Build Coastguard Worker# CHECK-BE: rlwimi 2, 3, 4, 5, 6 # encoding: [0x50,0x62,0x21,0x4c] 717*9880d681SAndroid Build Coastguard Worker# CHECK-LE: rlwimi 2, 3, 4, 5, 6 # encoding: [0x4c,0x21,0x62,0x50] 718*9880d681SAndroid Build Coastguard Worker rlwimi 2, 3, 4, 5, 6 719*9880d681SAndroid Build Coastguard Worker# CHECK-BE: rlwimi. 2, 3, 4, 5, 6 # encoding: [0x50,0x62,0x21,0x4d] 720*9880d681SAndroid Build Coastguard Worker# CHECK-LE: rlwimi. 2, 3, 4, 5, 6 # encoding: [0x4d,0x21,0x62,0x50] 721*9880d681SAndroid Build Coastguard Worker rlwimi. 2, 3, 4, 5, 6 722*9880d681SAndroid Build Coastguard Worker# CHECK-BE: rldicl 2, 3, 4, 5 # encoding: [0x78,0x62,0x21,0x40] 723*9880d681SAndroid Build Coastguard Worker# CHECK-LE: rldicl 2, 3, 4, 5 # encoding: [0x40,0x21,0x62,0x78] 724*9880d681SAndroid Build Coastguard Worker rldicl 2, 3, 4, 5 725*9880d681SAndroid Build Coastguard Worker# CHECK-BE: rldicl. 2, 3, 4, 5 # encoding: [0x78,0x62,0x21,0x41] 726*9880d681SAndroid Build Coastguard Worker# CHECK-LE: rldicl. 2, 3, 4, 5 # encoding: [0x41,0x21,0x62,0x78] 727*9880d681SAndroid Build Coastguard Worker rldicl. 2, 3, 4, 5 728*9880d681SAndroid Build Coastguard Worker# CHECK-BE: rldicr 2, 3, 4, 5 # encoding: [0x78,0x62,0x21,0x44] 729*9880d681SAndroid Build Coastguard Worker# CHECK-LE: rldicr 2, 3, 4, 5 # encoding: [0x44,0x21,0x62,0x78] 730*9880d681SAndroid Build Coastguard Worker rldicr 2, 3, 4, 5 731*9880d681SAndroid Build Coastguard Worker# CHECK-BE: rldicr. 2, 3, 4, 5 # encoding: [0x78,0x62,0x21,0x45] 732*9880d681SAndroid Build Coastguard Worker# CHECK-LE: rldicr. 2, 3, 4, 5 # encoding: [0x45,0x21,0x62,0x78] 733*9880d681SAndroid Build Coastguard Worker rldicr. 2, 3, 4, 5 734*9880d681SAndroid Build Coastguard Worker# CHECK-BE: rldic 2, 3, 4, 5 # encoding: [0x78,0x62,0x21,0x48] 735*9880d681SAndroid Build Coastguard Worker# CHECK-LE: rldic 2, 3, 4, 5 # encoding: [0x48,0x21,0x62,0x78] 736*9880d681SAndroid Build Coastguard Worker rldic 2, 3, 4, 5 737*9880d681SAndroid Build Coastguard Worker# CHECK-BE: rldic. 2, 3, 4, 5 # encoding: [0x78,0x62,0x21,0x49] 738*9880d681SAndroid Build Coastguard Worker# CHECK-LE: rldic. 2, 3, 4, 5 # encoding: [0x49,0x21,0x62,0x78] 739*9880d681SAndroid Build Coastguard Worker rldic. 2, 3, 4, 5 740*9880d681SAndroid Build Coastguard Worker# CHECK-BE: rldcl 2, 3, 4, 5 # encoding: [0x78,0x62,0x21,0x50] 741*9880d681SAndroid Build Coastguard Worker# CHECK-LE: rldcl 2, 3, 4, 5 # encoding: [0x50,0x21,0x62,0x78] 742*9880d681SAndroid Build Coastguard Worker rldcl 2, 3, 4, 5 743*9880d681SAndroid Build Coastguard Worker# CHECK-BE: rldcl. 2, 3, 4, 5 # encoding: [0x78,0x62,0x21,0x51] 744*9880d681SAndroid Build Coastguard Worker# CHECK-LE: rldcl. 2, 3, 4, 5 # encoding: [0x51,0x21,0x62,0x78] 745*9880d681SAndroid Build Coastguard Worker rldcl. 2, 3, 4, 5 746*9880d681SAndroid Build Coastguard Worker# CHECK-BE: rldcr 2, 3, 4, 5 # encoding: [0x78,0x62,0x21,0x52] 747*9880d681SAndroid Build Coastguard Worker# CHECK-LE: rldcr 2, 3, 4, 5 # encoding: [0x52,0x21,0x62,0x78] 748*9880d681SAndroid Build Coastguard Worker rldcr 2, 3, 4, 5 749*9880d681SAndroid Build Coastguard Worker# CHECK-BE: rldcr. 2, 3, 4, 5 # encoding: [0x78,0x62,0x21,0x53] 750*9880d681SAndroid Build Coastguard Worker# CHECK-LE: rldcr. 2, 3, 4, 5 # encoding: [0x53,0x21,0x62,0x78] 751*9880d681SAndroid Build Coastguard Worker rldcr. 2, 3, 4, 5 752*9880d681SAndroid Build Coastguard Worker# CHECK-BE: rldimi 2, 3, 4, 5 # encoding: [0x78,0x62,0x21,0x4c] 753*9880d681SAndroid Build Coastguard Worker# CHECK-LE: rldimi 2, 3, 4, 5 # encoding: [0x4c,0x21,0x62,0x78] 754*9880d681SAndroid Build Coastguard Worker rldimi 2, 3, 4, 5 755*9880d681SAndroid Build Coastguard Worker# CHECK-BE: rldimi. 2, 3, 4, 5 # encoding: [0x78,0x62,0x21,0x4d] 756*9880d681SAndroid Build Coastguard Worker# CHECK-LE: rldimi. 2, 3, 4, 5 # encoding: [0x4d,0x21,0x62,0x78] 757*9880d681SAndroid Build Coastguard Worker rldimi. 2, 3, 4, 5 758*9880d681SAndroid Build Coastguard Worker 759*9880d681SAndroid Build Coastguard Worker# Aliases that take bit masks... 760*9880d681SAndroid Build Coastguard Worker 761*9880d681SAndroid Build Coastguard Worker# CHECK-BE: rlwinm 0, 0, 30, 31, 31 # encoding: [0x54,0x00,0xf7,0xfe] 762*9880d681SAndroid Build Coastguard Worker rlwinm 0, 0, 30, 1 763*9880d681SAndroid Build Coastguard Worker# CHECK-BE: rlwinm. 0, 0, 30, 31, 31 # encoding: [0x54,0x00,0xf7,0xff] 764*9880d681SAndroid Build Coastguard Worker rlwinm. 0, 0, 30, 1 765*9880d681SAndroid Build Coastguard Worker# CHECK-BE: rlwinm 0, 0, 30, 31, 0 # encoding: [0x54,0x00,0xf7,0xc0] 766*9880d681SAndroid Build Coastguard Worker rlwinm 0, 0, 30, 2147483649 767*9880d681SAndroid Build Coastguard Worker# CHECK-BE: rlwinm. 0, 0, 30, 31, 0 # encoding: [0x54,0x00,0xf7,0xc1] 768*9880d681SAndroid Build Coastguard Worker rlwinm. 0, 0, 30, 2147483649 769*9880d681SAndroid Build Coastguard Worker# CHECK-BE: rlwimi 0, 0, 30, 31, 31 # encoding: [0x50,0x00,0xf7,0xfe] 770*9880d681SAndroid Build Coastguard Worker rlwimi 0, 0, 30, 1 771*9880d681SAndroid Build Coastguard Worker# CHECK-BE: rlwimi. 0, 0, 30, 31, 31 # encoding: [0x50,0x00,0xf7,0xff] 772*9880d681SAndroid Build Coastguard Worker rlwimi. 0, 0, 30, 1 773*9880d681SAndroid Build Coastguard Worker# CHECK-BE: rlwimi 0, 0, 30, 31, 0 # encoding: [0x50,0x00,0xf7,0xc0] 774*9880d681SAndroid Build Coastguard Worker rlwimi 0, 0, 30, 2147483649 775*9880d681SAndroid Build Coastguard Worker# CHECK-BE: rlwimi. 0, 0, 30, 31, 0 # encoding: [0x50,0x00,0xf7,0xc1] 776*9880d681SAndroid Build Coastguard Worker rlwimi. 0, 0, 30, 2147483649 777*9880d681SAndroid Build Coastguard Worker# CHECK-BE: rlwnm 0, 0, 30, 31, 31 # encoding: [0x5c,0x00,0xf7,0xfe] 778*9880d681SAndroid Build Coastguard Worker rlwnm 0, 0, 30, 1 779*9880d681SAndroid Build Coastguard Worker# CHECK-BE: rlwnm. 0, 0, 30, 31, 31 # encoding: [0x5c,0x00,0xf7,0xff] 780*9880d681SAndroid Build Coastguard Worker rlwnm. 0, 0, 30, 1 781*9880d681SAndroid Build Coastguard Worker# CHECK-BE: rlwnm 0, 0, 30, 31, 0 # encoding: [0x5c,0x00,0xf7,0xc0] 782*9880d681SAndroid Build Coastguard Worker rlwnm 0, 0, 30, 2147483649 783*9880d681SAndroid Build Coastguard Worker# CHECK-BE: rlwnm. 0, 0, 30, 31, 0 # encoding: [0x5c,0x00,0xf7,0xc1] 784*9880d681SAndroid Build Coastguard Worker rlwnm. 0, 0, 30, 2147483649 785*9880d681SAndroid Build Coastguard Worker 786*9880d681SAndroid Build Coastguard Worker# CHECK-BE: slw 2, 3, 4 # encoding: [0x7c,0x62,0x20,0x30] 787*9880d681SAndroid Build Coastguard Worker# CHECK-LE: slw 2, 3, 4 # encoding: [0x30,0x20,0x62,0x7c] 788*9880d681SAndroid Build Coastguard Worker slw 2, 3, 4 789*9880d681SAndroid Build Coastguard Worker# CHECK-BE: slw. 2, 3, 4 # encoding: [0x7c,0x62,0x20,0x31] 790*9880d681SAndroid Build Coastguard Worker# CHECK-LE: slw. 2, 3, 4 # encoding: [0x31,0x20,0x62,0x7c] 791*9880d681SAndroid Build Coastguard Worker slw. 2, 3, 4 792*9880d681SAndroid Build Coastguard Worker# CHECK-BE: srw 2, 3, 4 # encoding: [0x7c,0x62,0x24,0x30] 793*9880d681SAndroid Build Coastguard Worker# CHECK-LE: srw 2, 3, 4 # encoding: [0x30,0x24,0x62,0x7c] 794*9880d681SAndroid Build Coastguard Worker srw 2, 3, 4 795*9880d681SAndroid Build Coastguard Worker# CHECK-BE: srw. 2, 3, 4 # encoding: [0x7c,0x62,0x24,0x31] 796*9880d681SAndroid Build Coastguard Worker# CHECK-LE: srw. 2, 3, 4 # encoding: [0x31,0x24,0x62,0x7c] 797*9880d681SAndroid Build Coastguard Worker srw. 2, 3, 4 798*9880d681SAndroid Build Coastguard Worker# CHECK-BE: srawi 2, 3, 4 # encoding: [0x7c,0x62,0x26,0x70] 799*9880d681SAndroid Build Coastguard Worker# CHECK-LE: srawi 2, 3, 4 # encoding: [0x70,0x26,0x62,0x7c] 800*9880d681SAndroid Build Coastguard Worker srawi 2, 3, 4 801*9880d681SAndroid Build Coastguard Worker# CHECK-BE: srawi. 2, 3, 4 # encoding: [0x7c,0x62,0x26,0x71] 802*9880d681SAndroid Build Coastguard Worker# CHECK-LE: srawi. 2, 3, 4 # encoding: [0x71,0x26,0x62,0x7c] 803*9880d681SAndroid Build Coastguard Worker srawi. 2, 3, 4 804*9880d681SAndroid Build Coastguard Worker# CHECK-BE: sraw 2, 3, 4 # encoding: [0x7c,0x62,0x26,0x30] 805*9880d681SAndroid Build Coastguard Worker# CHECK-LE: sraw 2, 3, 4 # encoding: [0x30,0x26,0x62,0x7c] 806*9880d681SAndroid Build Coastguard Worker sraw 2, 3, 4 807*9880d681SAndroid Build Coastguard Worker# CHECK-BE: sraw. 2, 3, 4 # encoding: [0x7c,0x62,0x26,0x31] 808*9880d681SAndroid Build Coastguard Worker# CHECK-LE: sraw. 2, 3, 4 # encoding: [0x31,0x26,0x62,0x7c] 809*9880d681SAndroid Build Coastguard Worker sraw. 2, 3, 4 810*9880d681SAndroid Build Coastguard Worker# CHECK-BE: sld 2, 3, 4 # encoding: [0x7c,0x62,0x20,0x36] 811*9880d681SAndroid Build Coastguard Worker# CHECK-LE: sld 2, 3, 4 # encoding: [0x36,0x20,0x62,0x7c] 812*9880d681SAndroid Build Coastguard Worker sld 2, 3, 4 813*9880d681SAndroid Build Coastguard Worker# CHECK-BE: sld. 2, 3, 4 # encoding: [0x7c,0x62,0x20,0x37] 814*9880d681SAndroid Build Coastguard Worker# CHECK-LE: sld. 2, 3, 4 # encoding: [0x37,0x20,0x62,0x7c] 815*9880d681SAndroid Build Coastguard Worker sld. 2, 3, 4 816*9880d681SAndroid Build Coastguard Worker# CHECK-BE: srd 2, 3, 4 # encoding: [0x7c,0x62,0x24,0x36] 817*9880d681SAndroid Build Coastguard Worker# CHECK-LE: srd 2, 3, 4 # encoding: [0x36,0x24,0x62,0x7c] 818*9880d681SAndroid Build Coastguard Worker srd 2, 3, 4 819*9880d681SAndroid Build Coastguard Worker# CHECK-BE: srd. 2, 3, 4 # encoding: [0x7c,0x62,0x24,0x37] 820*9880d681SAndroid Build Coastguard Worker# CHECK-LE: srd. 2, 3, 4 # encoding: [0x37,0x24,0x62,0x7c] 821*9880d681SAndroid Build Coastguard Worker srd. 2, 3, 4 822*9880d681SAndroid Build Coastguard Worker# CHECK-BE: sradi 2, 3, 4 # encoding: [0x7c,0x62,0x26,0x74] 823*9880d681SAndroid Build Coastguard Worker# CHECK-LE: sradi 2, 3, 4 # encoding: [0x74,0x26,0x62,0x7c] 824*9880d681SAndroid Build Coastguard Worker sradi 2, 3, 4 825*9880d681SAndroid Build Coastguard Worker# CHECK-BE: sradi. 2, 3, 4 # encoding: [0x7c,0x62,0x26,0x75] 826*9880d681SAndroid Build Coastguard Worker# CHECK-LE: sradi. 2, 3, 4 # encoding: [0x75,0x26,0x62,0x7c] 827*9880d681SAndroid Build Coastguard Worker sradi. 2, 3, 4 828*9880d681SAndroid Build Coastguard Worker# CHECK-BE: srad 2, 3, 4 # encoding: [0x7c,0x62,0x26,0x34] 829*9880d681SAndroid Build Coastguard Worker# CHECK-LE: srad 2, 3, 4 # encoding: [0x34,0x26,0x62,0x7c] 830*9880d681SAndroid Build Coastguard Worker srad 2, 3, 4 831*9880d681SAndroid Build Coastguard Worker# CHECK-BE: srad. 2, 3, 4 # encoding: [0x7c,0x62,0x26,0x35] 832*9880d681SAndroid Build Coastguard Worker# CHECK-LE: srad. 2, 3, 4 # encoding: [0x35,0x26,0x62,0x7c] 833*9880d681SAndroid Build Coastguard Worker srad. 2, 3, 4 834*9880d681SAndroid Build Coastguard Worker 835*9880d681SAndroid Build Coastguard Worker# FIXME: BCD assist instructions 836*9880d681SAndroid Build Coastguard Worker 837*9880d681SAndroid Build Coastguard Worker# Move to/from system register instructions 838*9880d681SAndroid Build Coastguard Worker 839*9880d681SAndroid Build Coastguard Worker# CHECK-BE: mtspr 600, 2 # encoding: [0x7c,0x58,0x93,0xa6] 840*9880d681SAndroid Build Coastguard Worker# CHECK-LE: mtspr 600, 2 # encoding: [0xa6,0x93,0x58,0x7c] 841*9880d681SAndroid Build Coastguard Worker mtspr 600, 2 842*9880d681SAndroid Build Coastguard Worker# CHECK-BE: mfspr 2, 600 # encoding: [0x7c,0x58,0x92,0xa6] 843*9880d681SAndroid Build Coastguard Worker# CHECK-LE: mfspr 2, 600 # encoding: [0xa6,0x92,0x58,0x7c] 844*9880d681SAndroid Build Coastguard Worker mfspr 2, 600 845*9880d681SAndroid Build Coastguard Worker# CHECK-BE: mtcrf 123, 2 # encoding: [0x7c,0x47,0xb1,0x20] 846*9880d681SAndroid Build Coastguard Worker# CHECK-LE: mtcrf 123, 2 # encoding: [0x20,0xb1,0x47,0x7c] 847*9880d681SAndroid Build Coastguard Worker mtcrf 123, 2 848*9880d681SAndroid Build Coastguard Worker# CHECK-BE: mfcr 2 # encoding: [0x7c,0x40,0x00,0x26] 849*9880d681SAndroid Build Coastguard Worker# CHECK-LE: mfcr 2 # encoding: [0x26,0x00,0x40,0x7c] 850*9880d681SAndroid Build Coastguard Worker mfcr 2 851*9880d681SAndroid Build Coastguard Worker# CHECK-BE: mtocrf 16, 2 # encoding: [0x7c,0x51,0x01,0x20] 852*9880d681SAndroid Build Coastguard Worker# CHECK-LE: mtocrf 16, 2 # encoding: [0x20,0x01,0x51,0x7c] 853*9880d681SAndroid Build Coastguard Worker mtocrf 16, 2 854*9880d681SAndroid Build Coastguard Worker# CHECK-BE: mfocrf 16, 8 # encoding: [0x7e,0x10,0x80,0x26] 855*9880d681SAndroid Build Coastguard Worker# CHECK-LE: mfocrf 16, 8 # encoding: [0x26,0x80,0x10,0x7e] 856*9880d681SAndroid Build Coastguard Worker mfocrf 16, 8 857*9880d681SAndroid Build Coastguard Worker# CHECK-BE: mcrxrx 7 # encoding: [0x7f,0x80,0x04,0x80] 858*9880d681SAndroid Build Coastguard Worker# CHECK-LE: mcrxrx 7 # encoding: [0x80,0x04,0x80,0x7f] 859*9880d681SAndroid Build Coastguard Worker mcrxrx 7 860*9880d681SAndroid Build Coastguard Worker 861*9880d681SAndroid Build Coastguard Worker# Move to/from segment register 862*9880d681SAndroid Build Coastguard Worker# CHECK-BE: mtsr 12, 10 # encoding: [0x7d,0x4c,0x01,0xa4] 863*9880d681SAndroid Build Coastguard Worker# CHECK-LE: mtsr 12, 10 # encoding: [0xa4,0x01,0x4c,0x7d] 864*9880d681SAndroid Build Coastguard Worker mtsr 12,%r10 865*9880d681SAndroid Build Coastguard Worker# CHECK-BE: mfsr 10, 12 # encoding: [0x7d,0x4c,0x04,0xa6] 866*9880d681SAndroid Build Coastguard Worker# CHECK-LE: mfsr 10, 12 # encoding: [0xa6,0x04,0x4c,0x7d] 867*9880d681SAndroid Build Coastguard Worker mfsr %r10,12 868*9880d681SAndroid Build Coastguard Worker 869*9880d681SAndroid Build Coastguard Worker# CHECK-BE: mtsrin 10, 12 # encoding: [0x7d,0x40,0x61,0xe4] 870*9880d681SAndroid Build Coastguard Worker# CHECK-LE: mtsrin 10, 12 # encoding: [0xe4,0x61,0x40,0x7d] 871*9880d681SAndroid Build Coastguard Worker mtsrin %r10,%r12 872*9880d681SAndroid Build Coastguard Worker# CHECK-BE: mfsrin 10, 12 # encoding: [0x7d,0x40,0x65,0x26] 873*9880d681SAndroid Build Coastguard Worker# CHECK-LE: mfsrin 10, 12 # encoding: [0x26,0x65,0x40,0x7d] 874*9880d681SAndroid Build Coastguard Worker mfsrin %r10,%r12 875*9880d681SAndroid Build Coastguard Worker 876*9880d681SAndroid Build Coastguard Worker# Copy-Paste Facility 877*9880d681SAndroid Build Coastguard Worker# CHECK-BE: copy 2, 19, 1 # encoding: [0x7c,0x22,0x9e,0x0c] 878*9880d681SAndroid Build Coastguard Worker# CHECK-LE: copy 2, 19, 1 # encoding: [0x0c,0x9e,0x22,0x7c] 879*9880d681SAndroid Build Coastguard Worker copy 2, 19, 1 880*9880d681SAndroid Build Coastguard Worker# CHECK-BE: paste 17, 1, 1 # encoding: [0x7c,0x31,0x0f,0x0c] 881*9880d681SAndroid Build Coastguard Worker# CHECK-LE: paste 17, 1, 1 # encoding: [0x0c,0x0f,0x31,0x7c] 882*9880d681SAndroid Build Coastguard Worker paste 17, 1, 1 883*9880d681SAndroid Build Coastguard Worker# CHECK-BE: cp_abort # encoding: [0x7c,0x00,0x06,0x8c] 884*9880d681SAndroid Build Coastguard Worker# CHECK-LE: cp_abort # encoding: [0x8c,0x06,0x00,0x7c] 885*9880d681SAndroid Build Coastguard Worker cp_abort 886*9880d681SAndroid Build Coastguard Worker 887*9880d681SAndroid Build Coastguard Worker# Message Synchronize 888*9880d681SAndroid Build Coastguard Worker# CHECK-BE: msgsync # encoding: [0x7c,0x00,0x06,0xec] 889*9880d681SAndroid Build Coastguard Worker# CHECK-LE: msgsync # encoding: [0xec,0x06,0x00,0x7c] 890*9880d681SAndroid Build Coastguard Worker msgsync 891*9880d681SAndroid Build Coastguard Worker 892*9880d681SAndroid Build Coastguard Worker# SLB Invalidate Entry Global 893*9880d681SAndroid Build Coastguard Worker# CHECK-BE: slbieg 6, 21 # encoding: [0x7c,0xc0,0xab,0xa4] 894*9880d681SAndroid Build Coastguard Worker# CHECK-LE: slbieg 6, 21 # encoding: [0xa4,0xab,0xc0,0x7c] 895*9880d681SAndroid Build Coastguard Worker slbieg 6, 21 896*9880d681SAndroid Build Coastguard Worker 897*9880d681SAndroid Build Coastguard Worker# SLB Synchronize 898*9880d681SAndroid Build Coastguard Worker# CHECK-BE: slbsync # encoding: [0x7c,0x00,0x02,0xa4] 899*9880d681SAndroid Build Coastguard Worker# CHECK-LE: slbsync # encoding: [0xa4,0x02,0x00,0x7c] 900*9880d681SAndroid Build Coastguard Worker slbsync 901*9880d681SAndroid Build Coastguard Worker 902*9880d681SAndroid Build Coastguard Worker# Power-Saving Mode Instruction 903*9880d681SAndroid Build Coastguard Worker# CHECK-BE: stop # encoding: [0x4c,0x00,0x02,0xe4] 904*9880d681SAndroid Build Coastguard Worker# CHECK-LE: stop # encoding: [0xe4,0x02,0x00,0x4c] 905*9880d681SAndroid Build Coastguard Worker stop 906