Lines Matching full:d2

49  * something here. %d0 and %d1 is always usable, sometimes %d2 (or
237 move.w (FPD_RND,FPDATA),%d2
238 jne fp_e2e_roundother | %d2 == 0, round to nearest
257 subq.w #2,%d2
258 jcs 9b | %d2 < 2, round to zero
259 jhi 1f | %d2 > 2, round to +infinity
289 move.w -(%a0),%d2
290 sub.w %d1,%d2
293 add.w %d2,%d1
294 clr.w %d2
295 1: move.w %d2,(%a0)+
296 move.w %d1,%d2
299 lsl.l %d2,%d0
303 lsl.l %d2,%d0
305 neg.w %d2
306 and.w #0x1f,%d2
307 lsr.l %d2,%d1
313 neg.w %d2
314 add.w #24,%d2
317 lsl.l %d2,%d0
320 1: addq.w #8,%d2
321 lsl.l %d2,%d0
331 move.w -(%a0),%d2
332 sub.w %d1,%d2
335 add.w %d2,%d1
336 clr.w %d2
337 1: move.w %d2,(%a0)+
341 sub.w #32,%d2
359 move.w %d1,%d2
366 move.w -(%a0),%d2
367 sub.w %d1,%d2
370 add.w %d2,%d1
371 clr.w %d2
372 1: move.w %d2,(%a0)+
394 lsl.l %d2,%d0 | higher and lower lword
397 neg.w %d2
398 add.w #32,%d2
399 lsr.l %d2,%d0
435 | NOTE: it does _not_ modify %a0/%a1 and the upper word of %d2
461 move.w (FPD_RND,FPDATA),%d2
462 jne fp_ne_roundother | %d2 == 0, round to nearest
481 subq.w #2,%d2
482 jcs 9b | %d2 < 2, round to zero
483 jhi 1f | %d2 > 2, round to +infinity
513 move.w -(%a0),%d2
514 sub.w %d1,%d2
517 add.w %d2,%d1
518 clr.w %d2
520 1: move.w %d2,(%a0)+
521 move.w %d1,%d2
524 lsl.l %d2,%d0
528 lsl.l %d2,%d0
530 neg.w %d2
531 and.w #0x1f,%d2
532 lsr.l %d2,%d1
538 neg.w %d2
539 add.w #24,%d2
542 lsl.l %d2,%d0
545 1: addq.w #8,%d2
546 lsl.l %d2,%d0
556 move.w -(%a0),%d2
557 sub.w %d1,%d2
560 add.w %d2,%d1
561 clr.w %d2
563 1: move.w %d2,(%a0)+
585 move.w %d1,%d2
592 move.w -(%a0),%d2
593 sub.w %d1,%d2
596 add.w %d2,%d1
597 clr.w %d2
598 1: move.w %d2,(%a0)+
663 move.l (%a0)+,%d2
664 tst.w %d2
666 cmp.w #0x7fff,%d2
668 sub.w #0x4000-0x3ff,%d2 | will the exponent fit?
670 cmp.w #0x7fe,%d2
690 move.w (FPD_RND,FPDATA),%d2 | rounding mode
691 jne 2f | %d2 == 0, round to nearest
694 | here we test the X bit by adding it to %d2
695 clr.w %d2 | first set z bit, addx only clears it
696 addx.w %d2,%d2 | test lsb bit
724 2: subq.w #2,%d2
725 jcs 9b | %d2 < 2, round to zero
726 jhi 3f | %d2 > 2, round to +infinity
727 | Round to +Inf or -Inf. High word of %d2 contains the
729 swap %d2 | to -inf
730 tst.b %d2
733 3: swap %d2 | to +inf
734 tst.b %d2
742 neg.w %d2 | degree of underflow
743 cmp.w #32,%d2 | single or double shift?
748 lsr.l %d2,%d0
751 lsr.l %d2,%d0
752 neg.w %d2
753 add.w #32,%d2
754 lsl.l %d2,%d1
759 lsl.l %d2,%d1
764 1: sub.w #32,%d2
765 cmp.w #32,%d2 | Do we really need to shift?
770 lsr.l %d2,%d0
771 neg.w %d2
772 add.w #32,%d2
778 lsl.l %d2,%d1
817 move.w (FPD_RND,FPDATA),%d2
818 jne 3f | %d2 = 0 round to nearest
827 3: subq.w #2,%d2
828 jcs 5f | %d2 < 2, round to zero
829 jhi 4f | %d2 > 2, round to +infinity
858 move.w (%a0)+,%d2
860 cmp.w #0x7fff,%d2
862 sub.w #0x4000-0x7f,%d2 | will the exponent fit?
864 cmp.w #0xfe,%d2
888 move.w (FPD_RND,FPDATA),%d2 | rounding mode
889 jne 2f | %d2 == 0, round to nearest
914 2: subq.w #2,%d2
915 jcs 9b | %d2 < 2, round to zero
916 jhi 3f | %d2 > 2, round to +infinity
928 neg.w %d2 | degree of underflow
929 cmp.w #32,%d2 | single or double shift?
934 lsr.l %d2,%d0
937 neg.w %d2
938 add.w #32,%d2
939 lsl.l %d2,%d1
959 move.w (FPD_RND,FPDATA),%d2
960 jne 3f | %d2 = 0 round to nearest
969 3: subq.w #2,%d2
970 jcs 5f | %d2 < 2, round to zero
971 jhi 4f | %d2 > 2, round to +infinity
1023 move.w (%a0)+,%d2
1024 cmp.w #0x7fff,%d2
1048 move.w (FPD_RND,FPDATA),%d2 | rounding mode
1049 jne 2f | %d2 == 0, round to nearest
1074 2: subq.w #2,%d2
1075 jcs 9b | %d2 < 2, round to zero
1076 jhi 3f | %d2 > 2, round to +infinity
1089 move.w (FPD_RND,FPDATA),%d2
1090 jne 3f | %d2 = 0 round to nearest
1099 3: subq.w #2,%d2
1100 jcs 5f | %d2 < 2, round to zero
1101 jhi 4f | %d2 > 2, round to +infinity
1139 move.w (%a0)+,%d2 | exponent
1141 cmp.w #0x7fff,%d2
1143 sub.w #0x3ffe,%d2
1145 cmp.w #\b,%d2
1149 lsl.l %d2,%d1
1153 neg.w %d2
1154 add.w #32,%d2
1155 lsr.l %d2,%d0
1169 neg.w %d2
1170 add.w #32,%d2
1174 lsr.l %d2,%d0
1175 move.w (FPD_RND,FPDATA),%d2 | rounding mode
1176 jne 2f | %d2 == 0, round to nearest
1179 btst %d2,%d0 | test lsb bit (%d2 still 0)
1189 2: subq.w #2,%d2
1190 jcs 9b | %d2 < 2, round to zero
1191 jhi 3f | %d2 > 2, round to +infinity
1202 5: move.w (FPD_RND,FPDATA),%d2 | rounding mode
1203 jne 2b | %d2 == 0, round to nearest
1221 move.w (FPD_RND,FPDATA),%d2 | rounding mode
1222 subq.w #2,%d2
1223 jcs 3f | %d2 < 2, round to nearest/zero
1224 jhi 2f | %d2 > 2, round to +infinity
1271 move.l (%a0)+,%d2
1272 cmp.w #0x7fff,%d2
1274 move.w #0x7ff,%d2
1277 1: sub.w #0x3fff-0x3ff,%d2
1280 clr.w %d2
1281 2: lsl.w #5,%d2
1282 lsl.l #7,%d2
1283 lsl.l #8,%d2
1288 or.l %d2,%d0
1387 move.l (%a0)+,%d2
1388 lsl.l #1,%d2 | ignore high bit
1429 move.l %d0,%d2
1435 move.l %d2,%d0
1438 move.l %d2,%d1
1442 move.l %d2,%d1
1447 or.b %d0,%d2
1448 move.l %d2,(FPD_FPSR,FPDATA)