Home
last modified time | relevance | path

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

/hal_rpi_pico-3.4.0/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_v1_rom_shim.S132 bmi 2f @ force y to 0 proper, so result will be zero
146 @ here |x|>>|y| or both x and y are ±0
Dfloat_aeabi.S273 eors r1,r0 @ restore y
/hal_rpi_pico-3.4.0/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()
347 double WRAPPER_FUNC(fma)(double x,double y,double z) { check_nan_d1(x); return x*y+z; }
350 static double dpow_1(double x,double y) {
356 if(a==0) return exp2(u*y);
[all …]
Ddouble_v1_rom_shim.S194 @ here xe>=ye: need to shift y down r6 places
351 da_ymgtx: @ result is just y
369 @ (x) (y)
428 @ SSMULL: x signed, y signed
438 @ ¯(x) (y)
973 lsrs r2,r1,#17 @ y Q3
977 muls r3,r2 @ i32 p0=a0*a0*(y>>14); // Q32
988 muls r3,r4 @ i32 p1=((a1*a1)>>11)*(y>>11); // Q19*Q19=Q38
999 @ r0:r1 y mantissa
1000 @ r2 a2 ~ 1/sqrt(y) Q16
[all …]
/hal_rpi_pico-3.4.0/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-3.4.0/src/rp2_common/pico_divider/
Ddivider.S290 @ y -ve, x +ve
302 cmp r0,#0 @ y==0?
310 bne 5f @ y -ve? pass -2^63 to __aeabi_ldiv0
312 lsrs r1,r0,#1 @ y +ve: pass 2^63-1 to __aeabi_ldiv0
327 @ y +ve, x -ve
334 @ y -ve, x -ve
343 bne y64 @ y fits in 32 bits?
360 2: @ divide by 0 with y<2^32
361 cmp r0,#0 @ y==0?
376 movs r2,r0 @ x>y, so result is 0 remainder y
[all …]
/hal_rpi_pico-3.4.0/src/common/pico_base/include/
Dpico.h22 #define __PICO_CONCAT1(x, y) x ## y argument
/hal_rpi_pico-3.4.0/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-3.4.0/test/pico_float_test/
Dpico_float_test.c468 int32_t y; in main() local
479 y = x << 1; in main()
484 y = x << 1; in main()
489 y = x << 1; in main()
491 printf("d %d->%f\n", y, (float) y); in main()
495 uint32_t y; in main() local
499 y = x << 1; in main()
501 printf("u %u->%f\n", y, (float)y); in main()
561 bool __noinline check(float x, float y) {
562 return x > y;
[all …]
Dpico_double_test.c417 int32_t y; in main() local
428 y = x << 1; in main()
433 y = x << 1; in main()
438 y = x << 1; in main()
440 printf("d %d->%f\n", y, (float) y); in main()
444 uint32_t y; in main() local
448 y = x << 1; in main()
450 printf("u %u->%f\n", y, (double)y); in main()
/hal_rpi_pico-3.4.0/src/host/pico_platform/include/pico/
Dplatform.h88 #define __CONCAT(x,y) x ## y argument
/hal_rpi_pico-3.4.0/src/rp2_common/pico_double/include/pico/
Ddouble.h54 double powint(double x, int y);
/hal_rpi_pico-3.4.0/src/rp2_common/pico_float/include/pico/
Dfloat.h55 float powintf(float x, int y);
/hal_rpi_pico-3.4.0/tools/pioasm/
Dpio_types.h68 y = 0x2, enumerator
385 instr_nop(const yy::location &l) : instr_mov(l, mov::y, mov::y) {} in instr_nop()
Dparser.yy104 Y "y"
272 | Y { $$ = mov::y; }
281 | Y { $$ = mov::y; }
/hal_rpi_pico-3.4.0/tools/pioasm/gen/
Dparser.cpp1307 { yylhs.value.as < enum mov > () = mov::y; } in parse()
1335 { yylhs.value.as < enum mov > () = mov::y; } in parse()