/sysdeps/pthread/ |
A D | tst-robust1.c | 37 long int round = (long int) arg; in tf() local 75 printf ("%ld: testcancel returned\n", round); in tf() 142 for (long int round = 1; round < 5; ++round) in do_test() local 160 printf ("%ld: create failed\n", round); in do_test() 173 printf ("%ld: cancel failed\n", round); in do_test() 185 if (round & 1) in do_test() 191 printf ("%ld: join failed\n", round); in do_test() 226 if ((round & 1) == 0) in do_test() 231 printf ("%ld: join failed\n", round); in do_test() 282 round, e); in do_test() [all …]
|
A D | tst-robust8.c | 117 child (int round) in child() argument 124 printf ("cannot create thread %d in round %d\n", thread, round); in child() 184 for (int round = 1; round <= ROUNDS; ++round) in do_test() local 200 printf ("mutex_init %d in round %d failed\n", n + 1, round); in do_test() 208 printf ("fork in round %d failed\n", round); in do_test() 212 child (round); in do_test() 217 printf ("waitpid in round %d failed\n", round); in do_test() 222 printf ("child did not die of a signal in round %d\n", round); in do_test() 228 THESIGNAL, round); in do_test() 237 printf ("mutex_lock %d failed in round %d\n", n + 1, round); in do_test() [all …]
|
/sysdeps/aarch64/fpu/ |
A D | fenv_private.h | 61 round = (fpcr ^ round) & _FPU_FPCR_RM_MASK; in libc_fesetround_aarch64() 65 _FPU_SETCW (fpcr ^ round); in libc_fesetround_aarch64() 88 new_fpcr |= round; in libc_feholdexcept_setround_aarch64() 193 round = (fpcr ^ round) & _FPU_FPCR_RM_MASK; in libc_feholdsetround_aarch64() 197 _FPU_SETCW (fpcr ^ round); in libc_feholdsetround_aarch64() 208 int round; in libc_feresetround_aarch64() local 217 _FPU_SETCW (fpcr ^ round); in libc_feresetround_aarch64() 231 int round; in libc_feholdsetround_aarch64_ctx() local 242 _FPU_SETCW (fpcr ^ round); in libc_feholdsetround_aarch64_ctx() 266 int round; in libc_feholdsetround_noex_aarch64_ctx() local [all …]
|
A D | fesetround.c | 24 __fesetround (int round) in __fesetround() argument 26 if (round & ~_FPU_FPCR_RM_MASK) in __fesetround() 29 libc_fesetround_aarch64 (round); in __fesetround()
|
/sysdeps/arm/ |
A D | fesetround.c | 24 __fesetround (int round) in __fesetround() argument 29 return (round == FE_TONEAREST) ? 0 : 1; in __fesetround() 31 if (round & ~_FPU_MASK_RM) in __fesetround() 34 libc_fesetround_vfp (round); in __fesetround()
|
A D | fenv_private.h | 39 libc_fesetround_vfp (int round) in libc_fesetround_vfp() argument 47 _FPU_SETCW ((fpscr & ~_FPU_MASK_RM) | round); in libc_fesetround_vfp() 61 _FPU_SETCW (fpscr | round); in libc_feholdexcept_setround_vfp() 80 fpu_control_t fpscr, round; in libc_feresetround_vfp() local 85 round = (envp->__cw ^ fpscr) & _FPU_MASK_RM; in libc_feresetround_vfp() 88 if (__glibc_unlikely (round != 0)) in libc_feresetround_vfp() 89 _FPU_SETCW (fpscr ^ round); in libc_feresetround_vfp() 146 fpu_control_t fpscr, round; in libc_feholdsetround_vfp_ctx() local 153 round = (fpscr ^ r) & _FPU_MASK_RM; in libc_feholdsetround_vfp_ctx() 156 if (__glibc_unlikely (round != 0)) in libc_feholdsetround_vfp_ctx() [all …]
|
/sysdeps/riscv/rvf/ |
A D | fesetround.c | 23 __fesetround (int round) in __fesetround() argument 25 switch (round) in __fesetround() 31 riscv_setround (round); in __fesetround() 34 return round; /* A nonzero value. */ in __fesetround()
|
/sysdeps/x86_64/fpu/ |
A D | fesetround.c | 22 __fesetround (int round) in __fesetround() argument 27 if ((round & ~0xc00) != 0) in __fesetround() 34 cw |= round; in __fesetround() 41 mxcsr |= round << 3; in __fesetround()
|
/sysdeps/i386/fpu/ |
A D | fesetround.c | 25 __fesetround (int round) in __fesetround() argument 29 if ((round & ~0xc00) != 0) in __fesetround() 35 cw |= round; in __fesetround() 45 xcw |= round << 3; in __fesetround()
|
/sysdeps/powerpc/fpu/ |
A D | fesetround.c | 23 __fesetround (int round) in __fesetround() argument 25 if ((unsigned int) round > 3) in __fesetround() 28 return __fesetround_inline(round); in __fesetround()
|
/sysdeps/s390/fpu/ |
A D | fesetround.c | 22 __fesetround (int round) in __fesetround() argument 24 if ((round | FPC_RM_MASK) != FPC_RM_MASK) in __fesetround() 30 libc_fesetround_s390 (round); in __fesetround()
|
/sysdeps/powerpc/nofpu/ |
A D | fesetround.c | 23 __fesetround (int round) in __fesetround() argument 25 if ((unsigned int) round > FE_DOWNWARD) in __fesetround() 28 __sim_round_mode_thread = round; in __fesetround()
|
/sysdeps/csky/fpu/ |
A D | fenv_private.h | 49 libc_fesetround_vfp (int round) in libc_fesetround_vfp() argument 57 _FPU_SETCW ((fpcr & ~FE_DOWNWARD) | round); in libc_fesetround_vfp() 77 _FPU_SETCW (fpcr | round); in libc_feholdexcept_setround_vfp() 96 fpu_control_t fpcr, round; in libc_feresetround_vfp() local 101 round = (envp->__fpcr ^ fpcr) & FE_DOWNWARD; in libc_feresetround_vfp() 104 if (__glibc_unlikely (round != 0)) in libc_feresetround_vfp() 105 _FPU_SETCW (fpcr ^ round); in libc_feresetround_vfp() 172 fpu_control_t fpcr, fpsr, round; in libc_feholdsetround_vfp_ctx() local 181 round = (fpcr ^ r) & FE_DOWNWARD; in libc_feholdsetround_vfp_ctx() 184 if (__glibc_unlikely (round != 0)) in libc_feholdsetround_vfp_ctx() [all …]
|
/sysdeps/sh/sh4/fpu/ |
A D | fesetround.c | 23 __fesetround (int round) in __fesetround() argument 27 if ((round & ~0x1) != 0) in __fesetround() 36 cw |= round; in __fesetround()
|
/sysdeps/sparc/fpu/ |
A D | fesetround.c | 23 __fesetround (int round) in __fesetround() argument 27 if ((round & ~__FE_ROUND_MASK) != 0) in __fesetround() 33 tmp |= round; in __fesetround()
|
/sysdeps/mips/fpu/ |
A D | fesetround.c | 23 __fesetround (int round) in __fesetround() argument 27 if ((round & ~_FPU_RC_MASK) != 0) in __fesetround() 36 cw |= round; in __fesetround()
|
/sysdeps/ia64/fpu/ |
A D | fesetround.c | 22 __fesetround (int round) in __fesetround() argument 26 if (round & ~3) in __fesetround() 33 fpsr = (fpsr & ~(3UL << 10)) | ((fenv_t) round << 10); in __fesetround()
|
/sysdeps/m68k/fpu/ |
A D | fesetround.c | 22 __fesetround (int round) in __fesetround() argument 26 if (round & ~FE_UPWARD) in __fesetround() 32 fpcr |= round; in __fesetround()
|
/sysdeps/alpha/fpu/ |
A D | fesetround.c | 22 __fesetround (int round) in __fesetround() argument 26 if (round & ~3) in __fesetround() 34 | ((unsigned long)round << FPCR_ROUND_SHIFT)); in __fesetround()
|
/sysdeps/arc/fpu/ |
A D | fesetround.c | 23 __fesetround (int round) in __fesetround() argument 29 if (((fpcr >> __FPU_RND_SHIFT) & __FPU_RND_MASK) != round) in __fesetround() 32 fpcr |= (round & __FPU_RND_MASK) << __FPU_RND_SHIFT; in __fesetround()
|
/sysdeps/hppa/fpu/ |
A D | fesetround.c | 22 __fesetround (int round) in __fesetround() argument 26 if (round & ~FE_DOWNWARD) in __fesetround() 33 s.sw[0] |= round & FE_DOWNWARD; in __fesetround()
|
/sysdeps/ieee754/ldbl-opt/ |
A D | nldbl-fromfp.c | 23 fromfpl (double x, int round, unsigned int width) in fromfpl() argument 25 return fromfp (x, round, width); in fromfpl()
|
A D | nldbl-fromfpx.c | 23 fromfpxl (double x, int round, unsigned int width) in fromfpxl() argument 25 return fromfpx (x, round, width); in fromfpxl()
|
A D | nldbl-ufromfp.c | 23 ufromfpl (double x, int round, unsigned int width) in ufromfpl() argument 25 return ufromfp (x, round, width); in ufromfpl()
|
A D | nldbl-ufromfpx.c | 23 ufromfpxl (double x, int round, unsigned int width) in ufromfpxl() argument 25 return ufromfpx (x, round, width); in ufromfpxl()
|