Searched refs:__builtin_expect (Results 1 – 21 of 21) sorted by relevance
/picolibc-latest/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 | 440 if (__builtin_expect (mach_stat & 1, 0)) in __mcount_internal()
|
/picolibc-latest/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-latest/newlib/libc/machine/mips/ |
D | strncpy.c | 26 #define __builtin_expect(a,b) a macro 62 if (__builtin_expect (ch == '\0', 0)) in strncpy() 106 if (__builtin_expect (count >= 4, 1)) in strncpy()
|
/picolibc-latest/cmake/ |
D | have-builtin-expect.c | 3 return __builtin_expect(a, 1); in main()
|
/picolibc-latest/newlib/libc/machine/riscv/ |
D | memcpy.c | 22 #define unlikely(X) __builtin_expect (!!(X), 0) 44 if (__builtin_expect (a < end, 1)) in memcpy()
|
D | strcpy.c | 26 if (__builtin_expect(!misaligned, 1)) in strcpy()
|
D | strlen.c | 27 if (__builtin_expect ((uintptr_t)str & (sizeof (long) - 1), 0)) do in strlen()
|
/picolibc-latest/newlib/libc/machine/arm/ |
D | strcmp-armv4.S | 149 if (__builtin_expect(tmp2 != data2 RSHIFT shift, 0)) \ 154 if (__builtin_expect(((data1 - b1) & ~data1) & (b1 << 7), 0)) \ 169 if (__builtin_expect(tmp2 != data2 LSHIFT (32 - shift), 0)) \
|
D | strcmp-armv7m.S | 136 if (__builtin_expect(tmp2 != data2 RSHIFT shift, 0)) \ 141 if (__builtin_expect(((data1 - b1) & ~data1) & (b1 << 7), 0)) \ 156 if (__builtin_expect(tmp2 != data2 LSHIFT (32 - shift), 0)) \
|
/picolibc-latest/newlib/libc/string/ |
D | memmem.c | 140 if (__builtin_expect (ne_len > 256, 0)) in memmem()
|
D | strstr.c | 187 if (__builtin_expect (ne_len < 255, 1)) in strstr()
|
/picolibc-latest/newlib/libc/include/sys/ |
D | cdefs.h | 133 #define __builtin_expect(cond, exp) (cond) macro 520 #define __predict_true(exp) __builtin_expect((exp), 1) 521 #define __predict_false(exp) __builtin_expect((exp), 0)
|
/picolibc-latest/ |
D | picolibc.h.in | 87 /* Compiler has __builtin_expect */
|
D | meson.build | 908 # CompCert does not have __builtin_expect 912 return __builtin_expect(a, 1); 915 have_builtin_expect = cc.links(builtin_expect_code, name : 'has __builtin_expect', args: core_c_arg… 1391 …data.set('_HAVE_BUILTIN_EXPECT', have_builtin_expect, description: 'Compiler has __builtin_expect')
|
D | CMakeLists.txt | 170 # Compiler has __builtin_expect
|