Searched refs:__builtin_expect (Results 1 – 21 of 21) sorted by relevance
/picolibc-3.7.0-3.6.0/newlib/libc/machine/spu/ |
D | spu_timer_internal.h | 131 #define __likely(_c) __builtin_expect((_c), 1) 132 #define __unlikely(_c) __builtin_expect((_c), 0)
|
D | spu-gmon.c | 438 if (__builtin_expect (mach_stat & 1, 0)) in __mcount_internal()
|
/picolibc-3.7.0-3.6.0/newlib/libm/common/ |
D | sf_log.c | 61 if (__builtin_expect (ix == 0x3f800000, 0)) in logf() 64 if (__builtin_expect (ix - 0x00800000 >= 0x7f800000 - 0x00800000, 0)) in logf()
|
D | sf_log2.c | 60 if (__builtin_expect (ix == 0x3f800000, 0)) in log2f() 63 if (__builtin_expect (ix - 0x00800000 >= 0x7f800000 - 0x00800000, 0)) in log2f()
|
D | sf_pow.c | 163 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()
|
D | sf_exp2.c | 67 if (__builtin_expect (abstop >= top12 (128.0f), 0)) in exp2f()
|
D | sf_exp.c | 67 if (__builtin_expect (abstop >= top12 (88.0f), 0)) in expf()
|
D | math_config.h | 70 # 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/ |
D | strncpy.c | 24 #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/ |
D | have-builtin-expect.c | 3 return __builtin_expect(a, 1); in main()
|
/picolibc-3.7.0-3.6.0/newlib/libc/machine/riscv/ |
D | memcpy.c | 20 #define unlikely(X) __builtin_expect (!!(X), 0) 42 if (__builtin_expect (a < end, 1)) in memcpy()
|
D | strcpy.c | 23 if (__builtin_expect(!misaligned, 1)) in strcpy()
|
D | strlen.c | 24 if (__builtin_expect ((uintptr_t)str & (sizeof (long) - 1), 0)) do in strlen()
|
/picolibc-3.7.0-3.6.0/newlib/libc/machine/arm/ |
D | strcmp-armv4.S | 147 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)) \
|
D | strcmp-armv7m.S | 134 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/ |
D | memmem.c | 139 if (__builtin_expect (ne_len > 256, 0)) in memmem()
|
D | strstr.c | 187 if (__builtin_expect (ne_len < 255, 1)) in strstr()
|
/picolibc-3.7.0-3.6.0/newlib/libc/include/sys/ |
D | cdefs.h | 104 #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/ |
D | picolibc.h.in | 82 /* Compiler has __builtin_expect */
|
D | meson.build | 835 # 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')
|
D | CMakeLists.txt | 161 # Compiler has __builtin_expect
|