Home
last modified time | relevance | path

Searched refs:xe (Results 1 – 25 of 144) sorted by relevance

123456

/kernel/linux/linux-5.10/arch/mips/math-emu/
Dieee754dp.c87 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 …]
Dieee754sp.c87 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 …]
Ddp_tlong.c43 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()
Dsp_tlong.c43 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()
Ddp_sub.c122 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()
Ddp_add.c116 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()
Ddp_tint.c43 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()
Dsp_tint.c43 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()
Dsp_add.c116 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()
Dsp_sub.c120 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()
Ddp_fint.c15 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()
Dsp_fint.c15 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()
Dsp_flong.c15 int xe; in ieee754sp_flong() local
36 xe = SP_FBITS + 3; in ieee754sp_flong()
48 xe--; in ieee754sp_flong()
51 return ieee754sp_format(xs, xe, xm); in ieee754sp_flong()
Ddp_flong.c15 int xe; in ieee754dp_flong() local
38 xe = DP_FBITS + 3; in ieee754dp_flong()
48 xe--; in ieee754dp_flong()
52 return ieee754dp_format(xs, xe, xm); in ieee754dp_flong()
Ddp_rint.c37 if (xe >= DP_FBITS) in ieee754dp_rint()
40 if (xe < -1) { in ieee754dp_rint()
46 residue = xm << (64 - DP_FBITS + xe); in ieee754dp_rint()
49 xm >>= DP_FBITS - xe; in ieee754dp_rint()
Dsp_rint.c37 if (xe >= SP_FBITS) in ieee754sp_rint()
40 if (xe < -1) { in ieee754sp_rint()
46 residue = xm << (xe + 1); in ieee754sp_rint()
50 xm >>= SP_FBITS - xe; in ieee754sp_rint()
Ddp_sqrt.c73 if (xe > 512) { /* x > 2**-512? */ in ieee754dp_sqrt()
74 xe -= 512; /* x = x / 2**512 */ in ieee754dp_sqrt()
76 } else if (xe < -512) { /* x < 2**-512? */ in ieee754dp_sqrt()
77 xe += 512; /* x = x * 2**512 */ in ieee754dp_sqrt()
81 x = builddp(0, xe + DP_EBIAS, xm & ~DP_HIDDEN_BIT); in ieee754dp_sqrt()
Dieee754int.h46 unsigned int xm; int xe; int xs __maybe_unused; int xc
78 #define EXPLODEXSP EXPLODESP(x, xc, xs, xe, xm)
84 u64 xm; int xe; int xs __maybe_unused; int xc
116 #define EXPLODEXDP EXPLODEDP(x, xc, xs, xe, xm)
142 #define FLUSHXDP FLUSHDP(x, xc, xs, xe, xm)
145 #define FLUSHXSP FLUSHSP(x, xc, xs, xe, xm)
Ddp_fmin.c119 if (xe > ye) in ieee754dp_fmin()
121 else if (xe < ye) in ieee754dp_fmin()
125 if (xe > ye) in ieee754dp_fmin()
127 else if (xe < ye) in ieee754dp_fmin()
239 if (xe > ye) in ieee754dp_fmina()
241 else if (xe < ye) in ieee754dp_fmina()
Ddp_fmax.c119 if (xe > ye) in ieee754dp_fmax()
121 else if (xe < ye) in ieee754dp_fmax()
125 if (xe > ye) in ieee754dp_fmax()
127 else if (xe < ye) in ieee754dp_fmax()
239 if (xe > ye) in ieee754dp_fmaxa()
241 else if (xe < ye) in ieee754dp_fmaxa()
Dsp_fmin.c119 if (xe > ye) in ieee754sp_fmin()
121 else if (xe < ye) in ieee754sp_fmin()
125 if (xe > ye) in ieee754sp_fmin()
127 else if (xe < ye) in ieee754sp_fmin()
239 if (xe > ye) in ieee754sp_fmina()
241 else if (xe < ye) in ieee754sp_fmina()
Dsp_fmax.c119 if (xe > ye) in ieee754sp_fmax()
121 else if (xe < ye) in ieee754sp_fmax()
125 if (xe > ye) in ieee754sp_fmax()
127 else if (xe < ye) in ieee754sp_fmax()
239 if (xe > ye) in ieee754sp_fmaxa()
241 else if (xe < ye) in ieee754sp_fmaxa()
/kernel/linux/linux-5.10/drivers/staging/fbtft/
Dfb_ili9163.c112 int xe, int ye) in set_addr_win() argument
117 xs >> 8, xs & 0xff, xe >> 8, xe & 0xff); in set_addr_win()
125 (xe + __OFFSET) >> 8, (xe + __OFFSET) & 0xff); in set_addr_win()
132 xs >> 8, xs & 0xff, xe >> 8, xe & 0xff); in set_addr_win()
Dfb_agm1264k-fl.c226 int xs, ys_page, xe, ye_page; member
230 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) in set_addr_win() argument
234 addr_win.xe = xe; in set_addr_win()
240 int xs, int xe, int y) in construct_line_bitmap() argument
244 for (x = xs; x < xe; ++x) { in construct_line_bitmap()
375 if (addr_win.xe >= par->info->var.xres / 2) { in write_vmem()
379 addr_win.xe + 1, y); in write_vmem()
381 len = addr_win.xe + 1 - par->info->var.xres / 2; in write_vmem()
Dfb_ili9486.c46 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) in set_addr_win() argument
49 xs >> 8, xs & 0xFF, xe >> 8, xe & 0xFF); in set_addr_win()

123456