Home
last modified time | relevance | path

Searched refs:rnd_dir (Results 1 – 12 of 12) sorted by relevance

/openbsd/lib/libc/arch/sh/gen/
H A Dfpsetround.c23 fpsetround(fp_rnd rnd_dir) in fpsetround() argument
31 if (rnd_dir == FP_RN || rnd_dir == FP_RZ) { in fpsetround()
32 nfpscr = (fpscr & ~0x03) | rnd_dir; in fpsetround()
34 __fpscr_values[0] = (__fpscr_values[0] & ~0x03) | rnd_dir; in fpsetround()
35 __fpscr_values[1] = (__fpscr_values[1] & ~0x03) | rnd_dir; in fpsetround()
/openbsd/lib/libc/arch/mips64/gen/
H A Dfpsetround.c10 fpsetround(rnd_dir) in fpsetround() argument
11 fp_rnd rnd_dir; in fpsetround()
20 new |= (rnd_dir & 0x03);
/openbsd/lib/libc/arch/sparc64/gen/
H A Dfpsetround.c11 fpsetround(rnd_dir) in fpsetround() argument
12 fp_rnd rnd_dir; in fpsetround()
21 new |= ((rnd_dir & 0x03) << 30);
/openbsd/lib/libc/arch/m88k/gen/
H A Dfpsetround.c12 fpsetround(rnd_dir) in fpsetround() argument
13 fp_rnd rnd_dir; in fpsetround()
22 new |= ((rnd_dir & 0x03) << 14);/* and set new one */
/openbsd/lib/libc/arch/powerpc64/gen/
H A Dfpsetround.c37 fpsetround(rnd_dir) in fpsetround() argument
38 fp_rnd rnd_dir; in fpsetround()
45 fpscr = (fpscr & 0xfffffffcULL) | rnd_dir;
/openbsd/lib/libc/arch/powerpc/gen/
H A Dfpsetround.c37 fpsetround(rnd_dir) in fpsetround() argument
38 fp_rnd rnd_dir; in fpsetround()
45 fpscr = (fpscr & 0xfffffffcULL) | rnd_dir;
/openbsd/lib/libc/arch/arm/gen/
H A Dfpsetround.c29 fpsetround(fp_rnd rnd_dir) in fpsetround() argument
35 new |= (rnd_dir & 3) << 22; in fpsetround()
38 float_rounding_mode = rnd_dir; in fpsetround()
/openbsd/lib/libc/arch/hppa/gen/
H A Dfpsetround.c11 fpsetround(rnd_dir) in fpsetround() argument
12 fp_rnd rnd_dir; in fpsetround()
20 ((u_int64_t)(rnd_dir & 0x03) << 41);
/openbsd/lib/libc/arch/alpha/gen/
H A Dfpsetround.c39 fpsetround(rnd_dir) in fpsetround() argument
40 fp_rnd rnd_dir; in fpsetround()
51 new = (long)rnd_dir << 58;
/openbsd/lib/libc/arch/riscv64/gen/
H A Dfpsetround.c22 fpsetround(fp_rnd rnd_dir) in fpsetround() argument
26 __asm volatile ("fsrm %0, %1" : "=r"(frm) : "r"(rnd_dir)); in fpsetround()
/openbsd/lib/libc/softfloat/
H A Dfpsetround.c43 fpsetround(fp_rnd rnd_dir) in fpsetround() argument
48 float_rounding_mode = rnd_dir; in fpsetround()
/openbsd/lib/libc/arch/aarch64/gen/
H A Dfpsetround.c33 fpsetround(fp_rnd rnd_dir) in fpsetround() argument
39 new |= rnd_dir << 22; in fpsetround()