Home
last modified time | relevance | path

Searched refs:fe (Results 1 – 25 of 89) sorted by relevance

1234

/openbsd-src/lib/libc/arch/sparc64/fpu/
H A Dfpu_qp.c41 struct fpemu fe; \
43 __asm volatile("stx %%fsr, [%0]" : : "r" (&fe.fe_fsr)); \
44 fe.fe_f1.fp_sign = a[0] >> 31; \
45 fe.fe_f1.fp_sticky = 0; \
46 fe.fe_f1.fp_class = __fpu_qtof(&fe.fe_f1, a[0], a[1], a[2], a[3]); \
47 fe.fe_f2.fp_sign = b[0] >> 31; \
48 fe.fe_f2.fp_sticky = 0; \
49 fe.fe_f2.fp_class = __fpu_qtof(&fe.fe_f2, b[0], b[1], b[2], b[3]); \
50 r = __fpu_ ## op(&fe); \
51 c[0] = __fpu_ftoq(&fe, r, c); \
[all …]
H A Dfpu_implode.c81 fpround(struct fpemu *fe, struct fpn *fp) in fpround() argument
102 fe->fe_cx |= FSR_NX; /* inexact */ in fpround()
105 switch (FSR_GET_RD(fe->fe_fsr)) { in fpround()
161 toinf(struct fpemu *fe, int sign) in toinf() argument
166 switch (FSR_GET_RD(fe->fe_fsr)) { in toinf()
194 __fpu_ftoi(fe, fp) in __fpu_ftoi() argument
195 struct fpemu *fe; in __fpu_ftoi()
222 fe->fe_cx |= FSR_NX;
232 fe->fe_cx = (fe->fe_cx & ~FSR_NX) | FSR_NV;
243 __fpu_ftox(fe, fp, res) in __fpu_ftox() argument
[all …]
H A Dfpu_compare.c94 __fpu_compare(struct fpemu *fe, int cmpe, int fcc) in __fpu_compare() argument
100 a = &fe->fe_f1; in __fpu_compare()
101 b = &fe->fe_f2; in __fpu_compare()
110 fe->fe_cx = FSR_NV; in __fpu_compare()
169 a = __fpu_sub(fe); in __fpu_compare()
176 fe->fe_fsr = (fe->fe_fsr & fcc_nmask[fcc]) | in __fpu_compare()
H A Dfpu_add.c64 __fpu_add(fe) in __fpu_add() argument
65 struct fpemu *fe; in __fpu_add()
67 struct fpn *x = &fe->fe_f1, *y = &fe->fe_f2, *r;
96 return (__fpu_newnan(fe));
99 rd = FSR_GET_RD(fe->fe_fsr);
116 r = &fe->fe_f3;
H A Dfpu_div.c156 __fpu_div(fe) in __fpu_div() argument
157 struct fpemu *fe; in __fpu_div()
159 struct fpn *x = &fe->fe_f1, *y = &fe->fe_f2;
186 return (__fpu_newnan(fe));
197 fe->fe_cx = FSR_DZ;
H A Dfpu_mul.c103 __fpu_mul(fe) in __fpu_mul() argument
104 struct fpemu *fe; in __fpu_mul()
106 struct fpn *x = &fe->fe_f1, *y = &fe->fe_f2;
134 return (__fpu_newnan(fe));
H A Dfpu_emu.h162 #define __fpu_sub(fe) ((fe)->fe_f2.fp_sign ^= 1, __fpu_add(fe)) argument
/openbsd-src/sys/arch/sparc64/fpu/
H A Dfpu.c190 struct fpemu fe; in fpu_cleanup() local
231 fe.fe_fpstate = fs; in fpu_cleanup()
236 error = fpu_execute(p, &fe, instr); in fpu_cleanup()
276 fpu_execute(struct proc *p, struct fpemu *fe, union instr instr) in fpu_execute() argument
285 DUMPSTATE(FPE_STATE, fe->fe_fpstate); in fpu_execute()
287 fs = fe->fe_fpstate; in fpu_execute()
288 fe->fe_fsr = fs->fs_fsr & ~FSR_CX; in fpu_execute()
289 fe->fe_cx = 0; in fpu_execute()
297 return (fpu_insn_fcmp(fs, fe, instr, 0)); in fpu_execute()
300 return (fpu_insn_fcmp(fs, fe, instr, 1)); in fpu_execute()
[all …]
H A Dfpu_implode.c77 fpu_round(struct fpemu *fe, struct fpn *fp) in fpu_round() argument
98 fe->fe_cx |= FSR_NX; /* inexact */ in fpu_round()
101 switch ((fe->fe_fsr >> FSR_RD_SHIFT) & FSR_RD_MASK) { in fpu_round()
158 toinf(struct fpemu *fe, int sign) in toinf() argument
163 switch ((fe->fe_fsr >> FSR_RD_SHIFT) & FSR_RD_MASK) { in toinf()
192 fpu_ftoi(struct fpemu *fe, struct fpn *fp) in fpu_ftoi() argument
218 fe->fe_cx |= FSR_NX; in fpu_ftoi()
228 fe->fe_cx = (fe->fe_cx & ~FSR_NX) | FSR_NV; in fpu_ftoi()
239 fpu_ftox(struct fpemu *fe, struct fpn *fp, u_int *res) in fpu_ftox() argument
266 fe->fe_cx |= FSR_NX; in fpu_ftox()
[all …]
H A Dfpu_compare.c75 fpu_compare(struct fpemu *fe, int cmpe) in fpu_compare() argument
81 a = &fe->fe_f1; in fpu_compare()
82 b = &fe->fe_f2; in fpu_compare()
91 fe->fe_cx = FSR_NV; in fpu_compare()
150 a = fpu_sub(fe); in fpu_compare()
157 fe->fe_fsr = (fe->fe_fsr & ~FSR_FCC) | (cc << FSR_FCC_SHIFT); in fpu_compare()
H A Dfpu_add.c64 fpu_add(struct fpemu *fe) in fpu_add() argument
66 struct fpn *x = &fe->fe_f1, *y = &fe->fe_f2, *r; in fpu_add()
95 return (fpu_newnan(fe)); in fpu_add()
98 rd = ((fe->fe_fsr >> FSR_RD_SHIFT) & FSR_RD_MASK); in fpu_add()
115 r = &fe->fe_f3; in fpu_add()
H A Dfpu_div.c152 fpu_div(struct fpemu *fe) in fpu_div() argument
154 struct fpn *x = &fe->fe_f1, *y = &fe->fe_f2; in fpu_div()
181 return (fpu_newnan(fe)); in fpu_div()
192 fe->fe_cx = FSR_DZ; in fpu_div()
H A Dfpu_mul.c98 fpu_mul(struct fpemu *fe) in fpu_mul() argument
100 struct fpn *x = &fe->fe_f1, *y = &fe->fe_f2; in fpu_mul()
128 return (fpu_newnan(fe)); in fpu_mul()
H A Dfpu_emu.h153 #define fpu_sub(fe) ((fe)->fe_f2.fp_sign ^= 1, fpu_add(fe)) argument
/openbsd-src/lib/libcrypto/curve25519/
H A Dcurve25519_internal.h29 typedef int32_t fe[10]; typedef
44 fe X;
45 fe Y;
46 fe Z;
50 fe X;
51 fe Y;
52 fe Z;
53 fe T;
57 fe X;
58 fe Y;
[all …]
H A Dcurve25519.c58 static void fe_frombytes(fe h, const uint8_t *s) { in fe_frombytes()
127 static void fe_tobytes(uint8_t *s, const fe h) { in fe_tobytes()
208 static void fe_copy(fe h, const fe f) { in fe_copy()
213 static void fe_0(fe h) { memset(h, 0, sizeof(int32_t) * 10); } in fe_0()
216 static void fe_1(fe h) { in fe_1()
230 static void fe_add(fe h, const fe f, const fe g) { in fe_add()
246 static void fe_sub(fe h, const fe f, const fe g) { in fe_sub()
280 static void fe_mul(fe h, const fe f, const fe g) { in fe_mul()
506 static void fe_sq(fe h, const fe f) { in fe_sq()
637 static void fe_invert(fe out, const fe z) { in fe_invert()
[all …]
/openbsd-src/regress/sbin/route/
H A Drttest30.ok9 10.1.254.56 fe:e1:ba:d4:c8:1d UHLl 0 0 - 1 vether99
10 10.1.255.1 fe:e1:ba:d4:c8:1d UHLl 0 0 - 1 vlan99
11 10.1.255.2 fe:e1:ba:d4:c8:1d UHLl 0 0 - 1 vlan99
12 10.1.255.3 fe:e1:ba:d4:c8:1d UHLl 0 0 - 1 vlan99
/openbsd-src/sys/crypto/
H A Dcurve25519.c55 typedef struct fe { uint32_t v[10]; } fe; typedef
85 static __always_inline void fe_frombytes(fe *h, const uint8_t *s) in fe_frombytes()
195 static __always_inline void fe_tobytes(uint8_t s[32], const fe *f) in fe_tobytes()
234 static __always_inline void fe_copy(fe *h, const fe *f) in fe_copy()
239 static __always_inline void fe_copy_lt(fe_loose *h, const fe *f) in fe_copy_lt()
245 static __always_inline void fe_0(fe *h) in fe_0()
251 static __always_inline void fe_1(fe *h) in fe_1()
294 static __always_inline void fe_add(fe_loose *h, const fe *f, const fe *g) in fe_add()
336 static __always_inline void fe_sub(fe_loose *h, const fe *f, const fe *g) in fe_sub()
456 static __always_inline void fe_mul_ttt(fe *h, const fe *f, const fe *g) in fe_mul_ttt()
[all …]
/openbsd-src/usr.bin/tmux/
H A Dformat.c3336 struct format_entry *fe; in format_free()
3338 RB_FOREACH(fe, format_entry_tree, &from->tree) { in format_free()
3339 if (fe->value != NULL) in format_free()
3340 format_add(ft, fe->key, "%s", fe->value); in format_free()
3390 struct format_entry *fe, *fe1; in format_each()
3392 RB_FOREACH_SAFE(fe, format_entry_tree, &ft->tree, fe1) { in format_each()
3393 RB_REMOVE(format_entry_tree, &ft->tree, fe); in format_each()
3394 free(fe->value); in format_each()
3395 free(fe in format_each()
3279 struct format_entry *fe; format_merge() local
3333 struct format_entry *fe, *fe1; format_free() local
3369 struct format_entry *fe; format_each() local
3409 struct format_entry *fe; format_add() local
3436 struct format_entry *fe, *fe_now; format_add_tv() local
3459 struct format_entry *fe; format_add_cb() local
3564 struct format_entry *fe, fe_find; format_find() local
[all...]
/openbsd-src/regress/usr.sbin/arp/
H A Darptest4.ok2 192.0.2.1 fe:e1:ba:d2:a3:18 vether10001 permanent l
3 192.0.2.42 fe:88:33:11:bb:aa vether10001 static
H A Darptest6.ok2 192.0.2.1 fe:e1:ba:d2:a3:18 vether10001 permanent l
4 192.0.2.42 fe:88:33:11:bb:aa vether10001 static p
H A Darptest2.ok2 192.0.2.1 fe:e1:ba:d2:a3:18 vether10001 permanent l
3 192.0.2.42 fe:88:33:11:bb:aa vether10001 static p
H A Darptest1.ok2 192.0.2.1 fe:e1:ba:d2:a3:18 vether10001 permanent l
4 192.0.2.42 fe:88:33:11:bb:aa vether10001 static p
/openbsd-src/gnu/usr.bin/perl/dist/IO/lib/IO/
H A DSelect.pm103 for my $fe (@{$vec}[FIRST_FD .. $#$vec]) {
104 if (defined($fe) && $fe == $f) {
106 $fe = undef;
/openbsd-src/usr.sbin/netgroup_mkdb/
H A Dnetgroup_mkdb.c342 ng_reventry(DB *db, DB *udb, struct nentry *fe, char *name, size_t s, in ng_reventry() argument
352 if (_ng_sl_find(ss, fe->n_name) != NULL) { in ng_reventry()
356 if (_ng_sl_add(ss, fe->n_name) == -1) { in ng_reventry()
361 for (e = fe->n_next; e != NULL; e = e->n_next) in ng_reventry()
426 struct nentry *fe; in ng_reverse() local
438 memcpy(&fe, data.data, sizeof(fe)); in ng_reverse()
439 ng_reventry(db, udb, fe, (char *) key.data, s, sl); in ng_reverse()

1234