Lines Matching +full:0 +full:x3a

81 	* an OP field of 0x24.
83 * muli AAAAA,BBBBB,IIIIIIIIIIIIIIII,-0x24-
84 * 27 22 6 0 <-- LSB of field
87 * of 0x3a. Their OPX fields identify them.
89 * R-type AAAAA,BBBBB,CCCCC,XXXXXX,NNNNN,-0x3a-
90 * 27 22 17 11 6 0 <-- LSB of field
93 * Opcode Encoding. muli is identified by its OP value. Then OPX & 0x02
97 * Instruction OP OPX OPX & 0x02
99 * muli 0x24
100 * divu 0x3a 0x24 0
101 * div 0x3a 0x25 0
102 * mul 0x3a 0x27 != 0
103 * mulxuu 0x3a 0x07 != 0
104 * mulxsu 0x3a 0x17 != 0
105 * mulxss 0x3a 0x1f != 0
115 stw zero, 0(sp) /* Save zero on stack to avoid special case for r0. */
160 andi r2, r2, 0x3f /* r2 = 00000000000000000000000000,PPPPPP */
161 andi r3, r3, 0x7c /* r3 = 0000000000000000000000000,AAAAA,00 */
162 andi r5, r5, 0x7c /* r5 = 0000000000000000000000000,BBBBB,00 */
163 andi r6, r6, 0x7c /* r6 = 0000000000000000000000000,CCCCC,00 */
186 ldw r3, 0(r3) /* r3 = A-operand. */
187 movi r7, 0x24 /* muli opcode (I-type instruction format) */
191 ldw r5, 0(r5) /* r5 = B-operand. */
196 andi r4, r4, 0x3f /* r4 = 00000000000000000000000000,-OPX-- */
210 andi r7, r4, 0x02 /* For R-type multiply instructions,
211 OPX & 0x02 != 0 */
227 * remainder >= divisor? no 00000000 0101011:0
228 * shift 00000000 101011:0_
255 * is unsigned, and storing its "sign" as 0.
257 movi r17, 0
261 xori r7, r4, 0x25 /* OPX of div */
280 movi r13, 0 /* remainder = 0 */
284 * r4 = 0x25 for div, 0x24 for divu
293 * for (count = 32; count > 0; --count)
330 * r4 = 0x25 for div, 0x24 for divu
338 * the sign already is initialized to 0.
349 stw r3, 0(r6) /* write quotient to stack */
389 * mulxsu = mulxuu - (rA < 0) ? rB : 0;
396 * mulxss = mulxsu - (rB < 0) ? rA : 0;
404 movi r4, 0x27 /* OPX of mul is 0x27 */
408 movi r9, 0 /* mul_product = 0 */
409 movi r10, 0 /* mulxuu_product = 0 */
429 * for (count = 32; count > 0; --count)
450 ror r7, r7, r16 /* r7 = 0x80000000 on carry, or else 0x00000000 */
506 xori r7, r4, 0x27
513 xori r7, r4, 0x07
518 * mulxsu = mulxuu - (rA < 0) ? rB : 0;
525 xori r7, r4, 0x17
530 * mulxss = mulxsu - (rB < 0) ? rA : 0;
539 stw r9, 0(r6)