Lines Matching refs:r
652 #define _FP_TO_INT(fs, wc, r, X, rsize, rsigned) \ argument
661 r = 0; \
672 r = 0; \
676 _FP_FRAC_ASSEMBLE_##wc(r, X, rsize); \
681 r = 1; \
682 r <<= rsize - 1; \
683 r -= 1 - X##_s; \
687 r = 0; \
689 r = ~r; \
697 _FP_FRAC_ASSEMBLE_##wc(r, X, rsize); \
698 r <<= X##_e - _FP_WFRACBITS_##fs; \
712 _FP_FRAC_ASSEMBLE_##wc(r, X, rsize); \
715 r = -r; \
721 #define _FP_TO_INT_ROUND(fs, wc, r, X, rsize, rsigned) \ argument
723 r = 0; \
733 _FP_FRAC_ASSEMBLE_##wc(r, X, rsize); \
734 r <<= X##_e - _FP_WFRACBITS_##fs + 1; \
740 _FP_FRAC_ASSEMBLE_##wc(r, X, rsize); \
753 _FP_FRAC_ASSEMBLE_##wc(r, X, rsize); \
756 r = -r; \
764 r = 0; \
766 r = ~r; \
770 r = 1; \
771 r <<= rsize - 1; \
772 r -= 1 - X##_s; \
782 #define _FP_FROM_INT(fs, wc, X, r, rsize, rtype) \ argument
784 if (r) \
789 if ((X##_s = (r < 0))) \
790 ur_ = (unsigned rtype) -r; \
792 ur_ = (unsigned rtype) r; \
832 #define __FP_CLZ(r, x) \ argument
835 r = _FP_W_TYPE_SIZE - 1; \
836 if (_t > 0xffff) r -= 16; \
838 if (_t > 0xff) r -= 8; \
840 if (_t & 0xf0) r -= 4; \
842 if (_t & 0xc) r -= 2; \
844 if (_t & 0x2) r -= 1; \
847 #define __FP_CLZ(r, x) \ argument
850 r = _FP_W_TYPE_SIZE - 1; \
851 if (_t > 0xffffffff) r -= 32; \
853 if (_t > 0xffff) r -= 16; \
855 if (_t > 0xff) r -= 8; \
857 if (_t & 0xf0) r -= 4; \
859 if (_t & 0xc) r -= 2; \
861 if (_t & 0x2) r -= 1; \
866 #define _FP_DIV_HELP_imm(q, r, n, d) \ argument
868 q = n / d, r = n % d; \