Home
last modified time | relevance | path

Searched refs:y (Results 1 – 25 of 28) sorted by relevance

12

/hal_rpi_pico-latest/src/rp2_common/pico_float/
Dfloat_math.c64 #define check_nan_f2(x,y) if (fisnan((x))) return (x); else if (fisnan((y))) return (y); argument
67 #define check_nan_f2(x,y) ((void)0) argument
97 static inline float fcopysign(float x,float y) { in fcopysign() argument
98 ui32 ix=float2ui32(x),iy=float2ui32(y); in fcopysign()
103 float WRAPPER_FUNC(copysignf)(float x, float y) { in WRAPPER_FUNC()
104 check_nan_f2(x,y); in WRAPPER_FUNC()
105 return fcopysign(x, y); in WRAPPER_FUNC()
334 float WRAPPER_FUNC(fmaf)(float x,float y,float z) { in WRAPPER_FUNC()
335 check_nan_f2(x,y); in WRAPPER_FUNC()
337 return (float)((double)x*(double)y+(double)z); in WRAPPER_FUNC()
[all …]
Dfloat_sci_m33.S137 orr r2,#64 @ y=(t&0x3f)+0x40; Q6
144 muls r2,r2,r1 @ y Q14
152 mla r2,r2,r1,r2 @ y Q26
154 smmlar r2,r2,r0,r2 @ y(1+ε) Q26
280 @ r3: log y
322 @ r0 y/x in IEEE format, 0..2^-8
351 eors r0,r0,r6,lsl#31 @ no: return y/x with the correct sign
374 @ case where reduced (x',y') has y' zero
397 bhi 90b @ y NaN?
403 @ y now positive
[all …]
Dfloat_sci_m33_vfp.S616 cmp r3,#0x7f800000 @ y an infinity; x an infinity too?
618 @ here x and y are both infinities
628 cmp r3,#0x7f800000 @ y an infinity; x an infinity too?
631 @ here x and y are both infinities
639 bhs 72f @ y 0 or denormal?
640 @ here both x and y are zeros
652 bhs 82f @ y 0 or denormal?
654 @ here both x and y are zeros
670 cmp r2,r3 @ |y| vs. |x|
672 @ here |x|≥|y| so we need |y|/|x|; octant/xs/ys: 0++,3-+,4--,7+-
[all …]
Dfloat_v1_rom_shim_rp2040.S131 bmi 2f @ force y to 0 proper, so result will be zero
145 @ here |x|>>|y| or both x and y are ±0
/hal_rpi_pico-latest/src/rp2_common/pico_double/
Ddouble_math.c67 #define check_nan_d2(x,y) if (disnan((x))) return (x); else if (disnan((y))) return (y); argument
70 #define check_nan_d2(x,y) ((void)0) argument
101 static inline double dcopysign(double x,double y) { in dcopysign() argument
102 ui64 ix=double2ui64(x),iy=double2ui64(y); in dcopysign()
107 double WRAPPER_FUNC(copysign)(double x, double y) { in WRAPPER_FUNC()
108 check_nan_d2(x,y); in WRAPPER_FUNC()
109 return dcopysign(x, y); in WRAPPER_FUNC()
348 double WRAPPER_FUNC(fma)(double x,double y,double z) { check_nan_d1(x); return x*y+z; } in WRAPPER_FUNC()
352 static double dpow_1(double x,double y) { in dpow_1() argument
358 if(a==0) return exp2(u*y); in dpow_1()
[all …]
Ddouble_v1_rom_shim_rp2040.S181 @ here xe>=ye: need to shift y down r6 places
338 da_ymgtx: @ result is just y
356 @ (x) (y)
415 @ SSMULL: x signed, y signed
425 @ ¯(x) (y)
960 lsrs r2,r1,#17 @ y Q3
964 muls r3,r2 @ i32 p0=a0*a0*(y>>14); // Q32
975 muls r3,r4 @ i32 p1=((a1*a1)>>11)*(y>>11); // Q19*Q19=Q38
986 @ r0:r1 y mantissa
987 @ r2 a2 ~ 1/sqrt(y) Q16
[all …]
Ddouble_sci_m33.S766 orr r5,#64 @ y=(t&0x3f)+0x40; Q6
774 muls r5,r5,r2 @ y Q14
783 mla r5,r5,r2,r5 @ y Q26
802 lsls r1,r5,#3 @ y Q29
803 umull r4,r0,r1,r2 @ εlo * y Q61+32
804 smlal r0,r1,r1,r3 @ εhi * y + y Q61
1062 @ r2:r3 y Q64
1188 @ r0:r1 has z=y/x in IEEE format, <2^-11
1273 @ case where reduced (x',y') has x' infinite
1278 cmn r4,#1 @ y' also infinite?
[all …]
/hal_rpi_pico-latest/test/pico_float_test/
Dhazard3_test_gen.c85 uint32_t model_fadd(uint32_t x, uint32_t y) { in model_fadd() argument
87 y = flush_to_zero_u(y); in model_fadd()
89 uint32_t result = bitcast_f2u(bitcast_u2f(x) + bitcast_u2f(y)); in model_fadd()
98 uint32_t model_fmul(uint32_t x, uint32_t y) { in model_fmul() argument
100 y = flush_to_zero_u(y); in model_fmul()
102 uint32_t result = bitcast_f2u(bitcast_u2f(x) * bitcast_u2f(y)); in model_fmul()
120 uint32_t x, y; in main() local
122 y = xr256_next(rand_state) & 0xffffffffu; in main()
127 if (is_nan_u(y)) { in main()
128 y &= -1u << 23; in main()
[all …]
Dpico_float_test_hazard3.c20 uint32_t y; member
170 uint32_t __addsf3(uint32_t x, uint32_t y);
171 uint32_t __mulsf3(uint32_t x, uint32_t y);
176 uint32_t actual = func(tests[i].x, tests[i].y); in run_tests()
178 printf("%08x %s %08x -> %08x", tests[i].x, op_str, tests[i].y, tests[i].expect); in run_tests()
Dpico_float_test.c484 int32_t y; in main() local
495 y = x << 1; in main()
500 y = x << 1; in main()
505 y = x << 1; in main()
507 printf("d %d->%f\n", y, (float) y); in main()
511 uint32_t y; in main() local
515 y = x << 1; in main()
517 printf("u %u->%f\n", y, (float)y); in main()
586 bool __noinline check(float x, float y) {
587 return x > y;
[all …]
Dpico_double_test.c424 int32_t y; in main() local
435 y = x << 1; in main()
440 y = x << 1; in main()
445 y = x << 1; in main()
447 printf("d %d->%f\n", y, (float) y); in main()
451 uint32_t y; in main() local
455 y = x << 1; in main()
457 printf("u %u->%f\n", y, (double)y); in main()
/hal_rpi_pico-latest/test/pico_divider_test/
Dpico_divider_test.c16 void test_mulib_divu64u64(ui64*y,ui64*x,ui64*q,ui64*r) { in test_mulib_divu64u64() argument
17 *q = divmod_u64u64_rem(*y, *x, r); in test_mulib_divu64u64()
19 void test_mulib_divs64s64( i64*y, i64*x, i64*q, i64*r) { in test_mulib_divs64s64() argument
20 *q = divmod_s64s64_rem(*y, *x, r); in test_mulib_divs64s64()
104 void test_divu64u64(ui64 y,ui64 x) { in test_divu64u64() argument
106 test_mulib_divu64u64(&y,&x,&q,&r); in test_divu64u64()
110 if(q==y/x&&r==y%x) ; in test_divu64u64()
113 o16hex(y); osp(); in test_divu64u64()
118 o16hex(y/x); osp(); in test_divu64u64()
119 o16hex(y%x); onl(); in test_divu64u64()
[all …]
/hal_rpi_pico-latest/src/rp2_common/pico_divider/
Ddivider_hardware.S291 @ y -ve, x +ve
303 cmp r0,#0 @ y==0?
311 bne 5f @ y -ve? pass -2^63 to __aeabi_ldiv0
313 lsrs r1,r0,#1 @ y +ve: pass 2^63-1 to __aeabi_ldiv0
328 @ y +ve, x -ve
335 @ y -ve, x -ve
344 bne y64 @ y fits in 32 bits?
361 2: @ divide by 0 with y<2^32
362 cmp r0,#0 @ y==0?
377 movs r2,r0 @ x>y, so result is 0 remainder y
[all …]
/hal_rpi_pico-latest/src/rp2_common/pico_clib_interface/include/llvm_libc/sys/
Dcdefs.h12 #define __CONCAT1(x,y) x ## y argument
13 #define __CONCAT(x,y) __CONCAT1(x,y) argument
/hal_rpi_pico-latest/src/common/boot_picobin_headers/include/boot/
Dpicobin.h55 #define _PICOBIN_INDEX_TO_BITS(y, x) (y ## x << y ## _LSB) argument
56 #define PICOBIN_INDEX_TO_BITS(y, x) (y ## _ ## x << y ## _LSB) argument
/hal_rpi_pico-latest/src/rp2_common/pico_cyw43_driver/
Dcyw43_bus_pio_spi.pio17 jmp y-- lp2 side 0
31 jmp y-- lp2 side 1
46 jmp y-- lp2 side 0
59 jmp y-- lp2 side 0
/hal_rpi_pico-latest/src/common/pico_base_headers/include/
Dpico.h24 #define __PICO_CONCAT1(x, y) x ## y argument
/hal_rpi_pico-latest/src/rp2_common/pico_double/include/pico/
Ddouble.h66 double powint(double x, int y);
71 double mla(double x, double y, double z); // note this is not fused
/hal_rpi_pico-latest/src/rp2350/boot_stage2/include/boot_stage2/
Dconfig.h93 #define _PICO__CONCAT1(x, y) x ## y argument
/hal_rpi_pico-latest/src/host/pico_platform/include/pico/
Dplatform.h91 #define __CONCAT(x,y) x ## y argument
/hal_rpi_pico-latest/tools/pioasm/test/
Damethyst.pio29 mov rxfifo[y], isr
/hal_rpi_pico-latest/src/rp2_common/pico_float/include/pico/
Dfloat.h76 float powintf(float x, int y);
/hal_rpi_pico-latest/src/rp2_common/hardware_rcp/include/hardware/
Drcp.h236 static __rcpinline void rcp_iequal(uint32_t x, uint32_t y) { in rcp_iequal() argument
237 rcp_asm ("mcrr p7, #7, %0, %1, c0\n" : : "r" (x), "r" (y)); in rcp_iequal()
240 static __rcpinline void rcp_iequal_nodelay(uint32_t x, uint32_t y) { in rcp_iequal_nodelay() argument
241 rcp_asm ("mcrr2 p7, #7, %0, %1, c0\n" : : "r" (x), "r" (y)); in rcp_iequal_nodelay()
400 .macro rcp_iequal x, y
401 mcrr p7, #7, \x , \y , c0
404 .macro rcp_iequal_nodelay x, y
405 mcrr2 p7, #7, \x , \y , c0
/hal_rpi_pico-latest/src/rp2_common/pico_platform_compiler/include/pico/platform/
Dcompiler.h67 #define __builtin_expect(x, y) (x) argument
/hal_rpi_pico-latest/tools/pioasm/
Dpio_types.h94 y = 0x2, enumerator
480 instr_nop(const yy::location &l) : instr_mov(l, mov::y, mov::y) {} in instr_nop()

12