/kernel/linux/linux-4.19/arch/mips/math-emu/ |
D | ieee754dp.c | 99 union ieee754dp ieee754dp_format(int sn, int xe, u64 xm) in ieee754dp_format() argument 106 if (xe < DP_EMIN) { in ieee754dp_format() 108 int es = DP_EMIN - xe; in ieee754dp_format() 131 if (xe == DP_EMIN - 1 && in ieee754dp_format() 140 xe++; in ieee754dp_format() 146 xe += es; in ieee754dp_format() 148 assert(xe == DP_EMIN); in ieee754dp_format() 165 xe++; in ieee754dp_format() 172 assert(xe >= DP_EMIN); in ieee754dp_format() 174 if (xe > DP_EMAX) { in ieee754dp_format() [all …]
|
D | ieee754sp.c | 99 union ieee754sp ieee754sp_format(int sn, int xe, unsigned int xm) in ieee754sp_format() argument 106 if (xe < SP_EMIN) { in ieee754sp_format() 108 int es = SP_EMIN - xe; in ieee754sp_format() 131 if (xe == SP_EMIN - 1 && in ieee754sp_format() 140 xe++; in ieee754sp_format() 145 xe += es; in ieee754sp_format() 147 assert(xe == SP_EMIN); in ieee754sp_format() 164 xe++; in ieee754sp_format() 171 assert(xe >= SP_EMIN); in ieee754sp_format() 173 if (xe > SP_EMAX) { in ieee754sp_format() [all …]
|
D | sp_tlong.c | 55 if (xe >= 63) { in ieee754sp_tlong() 57 if (xe == 63 && xs && xm == SP_HIDDEN_BIT) in ieee754sp_tlong() 65 if (xe > SP_FBITS) { in ieee754sp_tlong() 66 xm <<= xe - SP_FBITS; in ieee754sp_tlong() 67 } else if (xe < SP_FBITS) { in ieee754sp_tlong() 68 if (xe < -1) { in ieee754sp_tlong() 74 residue = xm << (32 - SP_FBITS + xe); in ieee754sp_tlong() 77 xm >>= SP_FBITS - xe; in ieee754sp_tlong()
|
D | dp_tlong.c | 55 if (xe >= 63) { in ieee754dp_tlong() 57 if (xe == 63 && xs && xm == DP_HIDDEN_BIT) in ieee754dp_tlong() 65 if (xe > DP_FBITS) { in ieee754dp_tlong() 66 xm <<= xe - DP_FBITS; in ieee754dp_tlong() 67 } else if (xe < DP_FBITS) { in ieee754dp_tlong() 68 if (xe < -1) { in ieee754dp_tlong() 77 residue = xm << (xe + 1); in ieee754dp_tlong() 81 xm >>= DP_FBITS - xe; in ieee754dp_tlong()
|
D | sp_tint.c | 55 if (xe >= 31) { in ieee754sp_tint() 57 if (xe == 31 && xs && xm == SP_HIDDEN_BIT) in ieee754sp_tint() 65 if (xe > SP_FBITS) { in ieee754sp_tint() 66 xm <<= xe - SP_FBITS; in ieee754sp_tint() 68 if (xe < -1) { in ieee754sp_tint() 77 residue = xm << (xe + 1); in ieee754sp_tint() 81 xm >>= SP_FBITS - xe; in ieee754sp_tint()
|
D | dp_tint.c | 55 if (xe > 31) { in ieee754dp_tint() 62 if (xe > DP_FBITS) { in ieee754dp_tint() 63 xm <<= xe - DP_FBITS; in ieee754dp_tint() 64 } else if (xe < DP_FBITS) { in ieee754dp_tint() 65 if (xe < -1) { in ieee754dp_tint() 71 residue = xm << (64 - DP_FBITS + xe); in ieee754dp_tint() 74 xm >>= DP_FBITS - xe; in ieee754dp_tint()
|
D | dp_add.c | 129 if (xe > ye) { in ieee754dp_add() 133 s = xe - ye; in ieee754dp_add() 136 } else if (ye > xe) { in ieee754dp_add() 140 s = ye - xe; in ieee754dp_add() 142 xe += s; in ieee754dp_add() 144 assert(xe == ye); in ieee754dp_add() 145 assert(xe <= DP_EMAX); in ieee754dp_add() 156 xe++; in ieee754dp_add() 173 xe--; in ieee754dp_add() 177 return ieee754dp_format(xs, xe, xm); in ieee754dp_add()
|
D | dp_sub.c | 135 if (xe > ye) { in ieee754dp_sub() 139 s = xe - ye; in ieee754dp_sub() 142 } else if (ye > xe) { in ieee754dp_sub() 146 s = ye - xe; in ieee754dp_sub() 148 xe += s; in ieee754dp_sub() 150 assert(xe == ye); in ieee754dp_sub() 151 assert(xe <= DP_EMAX); in ieee754dp_sub() 160 xe++; in ieee754dp_sub() 180 xe--; in ieee754dp_sub() 184 return ieee754dp_format(xs, xe, xm); in ieee754dp_sub()
|
D | sp_sub.c | 133 if (xe > ye) { in ieee754sp_sub() 137 s = xe - ye; in ieee754sp_sub() 140 } else if (ye > xe) { in ieee754sp_sub() 144 s = ye - xe; in ieee754sp_sub() 146 xe += s; in ieee754sp_sub() 148 assert(xe == ye); in ieee754sp_sub() 149 assert(xe <= SP_EMAX); in ieee754sp_sub() 176 xe--; in ieee754sp_sub() 180 return ieee754sp_format(xs, xe, xm); in ieee754sp_sub()
|
D | sp_add.c | 129 if (xe > ye) { in ieee754sp_add() 133 s = xe - ye; in ieee754sp_add() 136 } else if (ye > xe) { in ieee754sp_add() 140 s = ye - xe; in ieee754sp_add() 142 xe += s; in ieee754sp_add() 144 assert(xe == ye); in ieee754sp_add() 145 assert(xe <= SP_EMAX); in ieee754sp_add() 172 xe--; in ieee754sp_add() 176 return ieee754sp_format(xs, xe, xm); in ieee754sp_add()
|
D | dp_fint.c | 27 int xe; in ieee754dp_fint() local 50 xe = DP_FBITS; in ieee754dp_fint() 53 xe--; in ieee754dp_fint() 55 return builddp(xs, xe + DP_EBIAS, xm & ~DP_HIDDEN_BIT); in ieee754dp_fint()
|
D | sp_fint.c | 27 int xe; in ieee754sp_fint() local 48 xe = SP_FBITS + 3; in ieee754sp_fint() 61 xe--; in ieee754sp_fint() 64 return ieee754sp_format(xs, xe, xm); in ieee754sp_fint()
|
D | dp_flong.c | 27 int xe; in ieee754dp_flong() local 50 xe = DP_FBITS + 3; in ieee754dp_flong() 60 xe--; in ieee754dp_flong() 64 return ieee754dp_format(xs, xe, xm); in ieee754dp_flong()
|
/kernel/linux/linux-5.10/arch/mips/math-emu/ |
D | ieee754dp.c | 87 union ieee754dp ieee754dp_format(int sn, int xe, u64 xm) in ieee754dp_format() argument 94 if (xe < DP_EMIN) { in ieee754dp_format() 96 int es = DP_EMIN - xe; in ieee754dp_format() 119 if (xe == DP_EMIN - 1 && in ieee754dp_format() 128 xe++; in ieee754dp_format() 134 xe += es; in ieee754dp_format() 136 assert(xe == DP_EMIN); in ieee754dp_format() 153 xe++; in ieee754dp_format() 160 assert(xe >= DP_EMIN); in ieee754dp_format() 162 if (xe > DP_EMAX) { in ieee754dp_format() [all …]
|
D | ieee754sp.c | 87 union ieee754sp ieee754sp_format(int sn, int xe, unsigned int xm) in ieee754sp_format() argument 94 if (xe < SP_EMIN) { in ieee754sp_format() 96 int es = SP_EMIN - xe; in ieee754sp_format() 119 if (xe == SP_EMIN - 1 && in ieee754sp_format() 128 xe++; in ieee754sp_format() 133 xe += es; in ieee754sp_format() 135 assert(xe == SP_EMIN); in ieee754sp_format() 152 xe++; in ieee754sp_format() 159 assert(xe >= SP_EMIN); in ieee754sp_format() 161 if (xe > SP_EMAX) { in ieee754sp_format() [all …]
|
D | dp_tlong.c | 43 if (xe >= 63) { in ieee754dp_tlong() 45 if (xe == 63 && xs && xm == DP_HIDDEN_BIT) in ieee754dp_tlong() 53 if (xe > DP_FBITS) { in ieee754dp_tlong() 54 xm <<= xe - DP_FBITS; in ieee754dp_tlong() 55 } else if (xe < DP_FBITS) { in ieee754dp_tlong() 56 if (xe < -1) { in ieee754dp_tlong() 65 residue = xm << (xe + 1); in ieee754dp_tlong() 69 xm >>= DP_FBITS - xe; in ieee754dp_tlong()
|
D | sp_tlong.c | 43 if (xe >= 63) { in ieee754sp_tlong() 45 if (xe == 63 && xs && xm == SP_HIDDEN_BIT) in ieee754sp_tlong() 53 if (xe > SP_FBITS) { in ieee754sp_tlong() 54 xm <<= xe - SP_FBITS; in ieee754sp_tlong() 55 } else if (xe < SP_FBITS) { in ieee754sp_tlong() 56 if (xe < -1) { in ieee754sp_tlong() 62 residue = xm << (32 - SP_FBITS + xe); in ieee754sp_tlong() 65 xm >>= SP_FBITS - xe; in ieee754sp_tlong()
|
D | sp_tint.c | 43 if (xe >= 31) { in ieee754sp_tint() 45 if (xe == 31 && xs && xm == SP_HIDDEN_BIT) in ieee754sp_tint() 53 if (xe > SP_FBITS) { in ieee754sp_tint() 54 xm <<= xe - SP_FBITS; in ieee754sp_tint() 56 if (xe < -1) { in ieee754sp_tint() 65 residue = xm << (xe + 1); in ieee754sp_tint() 69 xm >>= SP_FBITS - xe; in ieee754sp_tint()
|
D | dp_tint.c | 43 if (xe > 31) { in ieee754dp_tint() 50 if (xe > DP_FBITS) { in ieee754dp_tint() 51 xm <<= xe - DP_FBITS; in ieee754dp_tint() 52 } else if (xe < DP_FBITS) { in ieee754dp_tint() 53 if (xe < -1) { in ieee754dp_tint() 59 residue = xm << (64 - DP_FBITS + xe); in ieee754dp_tint() 62 xm >>= DP_FBITS - xe; in ieee754dp_tint()
|
D | dp_add.c | 116 if (xe > ye) { in ieee754dp_add() 120 s = xe - ye; in ieee754dp_add() 123 } else if (ye > xe) { in ieee754dp_add() 127 s = ye - xe; in ieee754dp_add() 129 xe += s; in ieee754dp_add() 131 assert(xe == ye); in ieee754dp_add() 132 assert(xe <= DP_EMAX); in ieee754dp_add() 143 xe++; in ieee754dp_add() 160 xe--; in ieee754dp_add() 164 return ieee754dp_format(xs, xe, xm); in ieee754dp_add()
|
D | dp_sub.c | 122 if (xe > ye) { in ieee754dp_sub() 126 s = xe - ye; in ieee754dp_sub() 129 } else if (ye > xe) { in ieee754dp_sub() 133 s = ye - xe; in ieee754dp_sub() 135 xe += s; in ieee754dp_sub() 137 assert(xe == ye); in ieee754dp_sub() 138 assert(xe <= DP_EMAX); in ieee754dp_sub() 147 xe++; in ieee754dp_sub() 167 xe--; in ieee754dp_sub() 171 return ieee754dp_format(xs, xe, xm); in ieee754dp_sub()
|
D | sp_add.c | 116 if (xe > ye) { in ieee754sp_add() 120 s = xe - ye; in ieee754sp_add() 123 } else if (ye > xe) { in ieee754sp_add() 127 s = ye - xe; in ieee754sp_add() 129 xe += s; in ieee754sp_add() 131 assert(xe == ye); in ieee754sp_add() 132 assert(xe <= SP_EMAX); in ieee754sp_add() 159 xe--; in ieee754sp_add() 163 return ieee754sp_format(xs, xe, xm); in ieee754sp_add()
|
D | sp_sub.c | 120 if (xe > ye) { in ieee754sp_sub() 124 s = xe - ye; in ieee754sp_sub() 127 } else if (ye > xe) { in ieee754sp_sub() 131 s = ye - xe; in ieee754sp_sub() 133 xe += s; in ieee754sp_sub() 135 assert(xe == ye); in ieee754sp_sub() 136 assert(xe <= SP_EMAX); in ieee754sp_sub() 163 xe--; in ieee754sp_sub() 167 return ieee754sp_format(xs, xe, xm); in ieee754sp_sub()
|
D | dp_fint.c | 15 int xe; in ieee754dp_fint() local 38 xe = DP_FBITS; in ieee754dp_fint() 41 xe--; in ieee754dp_fint() 43 return builddp(xs, xe + DP_EBIAS, xm & ~DP_HIDDEN_BIT); in ieee754dp_fint()
|
D | sp_fint.c | 15 int xe; in ieee754sp_fint() local 36 xe = SP_FBITS + 3; in ieee754sp_fint() 49 xe--; in ieee754sp_fint() 52 return ieee754sp_format(xs, xe, xm); in ieee754sp_fint()
|