Home
last modified time | relevance | path

Searched refs:__builtin_expect (Results 1 – 21 of 21) sorted by relevance

/picolibc-3.7.0-3.6.0/newlib/libc/machine/spu/
Dspu_timer_internal.h131 #define __likely(_c) __builtin_expect((_c), 1)
132 #define __unlikely(_c) __builtin_expect((_c), 0)
Dspu-gmon.c438 if (__builtin_expect (mach_stat & 1, 0)) in __mcount_internal()
/picolibc-3.7.0-3.6.0/newlib/libm/common/
Dsf_log.c61 if (__builtin_expect (ix == 0x3f800000, 0)) in logf()
64 if (__builtin_expect (ix - 0x00800000 >= 0x7f800000 - 0x00800000, 0)) in logf()
Dsf_log2.c60 if (__builtin_expect (ix == 0x3f800000, 0)) in log2f()
63 if (__builtin_expect (ix - 0x00800000 >= 0x7f800000 - 0x00800000, 0)) in log2f()
Dsf_pow.c163 if (__builtin_expect (ix - 0x00800000 >= 0x7f800000 - 0x00800000 in powf()
168 if (__builtin_expect (zeroinfnan (iy), 0)) in powf()
182 if (__builtin_expect (zeroinfnan (ix), 0)) in powf()
219 if (__builtin_expect ((asuint64 (ylogx) >> 47 & 0xffff) in powf()
Dsf_exp2.c67 if (__builtin_expect (abstop >= top12 (128.0f), 0)) in exp2f()
Dsf_exp.c67 if (__builtin_expect (abstop >= top12 (88.0f), 0)) in expf()
Dmath_config.h70 # define likely(x) __builtin_expect (!!(x), 1)
71 # define unlikely(x) __builtin_expect (x, 0)
/picolibc-3.7.0-3.6.0/newlib/libc/machine/mips/
Dstrncpy.c24 #define __builtin_expect(a,b) a macro
60 if (__builtin_expect (ch == '\0', 0)) in strncpy()
104 if (__builtin_expect (count >= 4, 1)) in strncpy()
/picolibc-3.7.0-3.6.0/cmake/
Dhave-builtin-expect.c3 return __builtin_expect(a, 1); in main()
/picolibc-3.7.0-3.6.0/newlib/libc/machine/riscv/
Dmemcpy.c20 #define unlikely(X) __builtin_expect (!!(X), 0)
42 if (__builtin_expect (a < end, 1)) in memcpy()
Dstrcpy.c23 if (__builtin_expect(!misaligned, 1)) in strcpy()
Dstrlen.c24 if (__builtin_expect ((uintptr_t)str & (sizeof (long) - 1), 0)) do in strlen()
/picolibc-3.7.0-3.6.0/newlib/libc/machine/arm/
Dstrcmp-armv4.S147 if (__builtin_expect(tmp2 != data2 RSHIFT shift, 0)) \
152 if (__builtin_expect(((data1 - b1) & ~data1) & (b1 << 7), 0)) \
167 if (__builtin_expect(tmp2 != data2 LSHIFT (32 - shift), 0)) \
Dstrcmp-armv7m.S134 if (__builtin_expect(tmp2 != data2 RSHIFT shift, 0)) \
139 if (__builtin_expect(((data1 - b1) & ~data1) & (b1 << 7), 0)) \
154 if (__builtin_expect(tmp2 != data2 LSHIFT (32 - shift), 0)) \
/picolibc-3.7.0-3.6.0/newlib/libc/string/
Dmemmem.c139 if (__builtin_expect (ne_len > 256, 0)) in memmem()
Dstrstr.c187 if (__builtin_expect (ne_len < 255, 1)) in strstr()
/picolibc-3.7.0-3.6.0/newlib/libc/include/sys/
Dcdefs.h104 #define __builtin_expect(cond, exp) (cond) macro
491 #define __predict_true(exp) __builtin_expect((exp), 1)
492 #define __predict_false(exp) __builtin_expect((exp), 0)
/picolibc-3.7.0-3.6.0/
Dpicolibc.h.in82 /* Compiler has __builtin_expect */
Dmeson.build835 # CompCert does not have __builtin_expect
839 return __builtin_expect(a, 1);
842 have_builtin_expect = cc.links(builtin_expect_code, name : 'has __builtin_expect', args: core_c_arg…
1302 …data.set('_HAVE_BUILTIN_EXPECT', have_builtin_expect, description: 'Compiler has __builtin_expect')
DCMakeLists.txt161 # Compiler has __builtin_expect