/hal_rpi_pico-latest/src/common/hardware_claim/ |
D | claim.c | 35 for(uint bit=bit_lsb; bit <= bit_msb; bit++) { in hw_claim_unused_from_range() local 36 if (!hw_is_claimed(bits, bit)) { in hw_claim_unused_from_range() 37 bits[bit >> 3u] |= (uint8_t)(1u << (bit & 7u)); in hw_claim_unused_from_range() 38 found_bit = (int)bit; in hw_claim_unused_from_range()
|
/hal_rpi_pico-latest/test/pico_divider_test/ |
D | pico_divider_test.c | 272 for(int bit = 30; bit>=0; bit--) { in perf_test() local 273 int div = 1u << (31-bit); in perf_test() 285 printf(" S32 %d %f\t%f\n", bit, tc / 1000.0, tp / 1000.0); in perf_test() 288 for(int bit = 30; bit>=0; bit--) { in perf_test() local 289 int div = 1u << (31-bit); in perf_test() 301 printf(" U32 %d %f\t%f\n", bit, tc / 1000.0, tp / 1000.0); in perf_test() 306 for(int bit = 62; bit>=0; bit--) { in perf_test() local 307 int64_t div = 1ull << (62-bit); in perf_test() 319 printf(" S64 %d %d %f\t%f\n", extra, bit, tc / 1000.0, tp / 1000.0); in perf_test() 322 for(int bit = 62; bit>=0; bit--) { in perf_test() local [all …]
|
/hal_rpi_pico-latest/src/host/hardware_irq/ |
D | irq.c | 117 …int bit = hw_claim_unused_from_range(user_irq_claimed_ptr(), required, 0, NUM_USER_IRQS - 1, "No u… in PICO_WEAK_FUNCTION_DEF() local 118 if (bit >= 0) bit = (int)NUM_IRQS - bit - 1; in PICO_WEAK_FUNCTION_DEF() 119 return bit; in PICO_WEAK_FUNCTION_DEF()
|
/hal_rpi_pico-latest/src/rp2_common/pico_float/ |
D | float_conv_m33.S | 30 @ convert signed 64-bit fix to float, rounding; number of r0:r1 bits after point in r2 47 adds r12,r12,r12 @ rounding bit into carry 56 lsls r12,r1,r3 @ rounding bit in carry, sticky bits in r12 89 @ convert signed 32-bit fix to float, rounding; number of r0 bits after point in r1 110 lsls r12,r0,r3 @ rounding bit in carry, sticky bits in r12 139 @ convert unsigned 32-bit fix to float, rounding; number of r0 bits after point in r1 158 lsls r12,r0,r3 @ rounding bit in carry, sticky bits in r12 190 @ convert unsigned 64-bit fix to float, rounding; number of r0:r1 bits after point in r2 204 adds r12,r12,r12 @ rounding bit into carry 212 lsls r12,r1,r3 @ rounding bit in carry, sticky bits in r12
|
D | float_v1_rom_shim_rp2040.S | 65 @ convert unsigned 64-bit fix to float, rounding; number of r0:r1 bits after point in r2 80 @ convert signed 64-bit fix to float, rounding; number of r0:r1 bits after point in r2 323 lsrs r3,r0,#31 @ sign bit
|
D | float_sci_m33.S | 31 @ load a 32-bit constant n into register rx 90 bfi r0,r1,#23,#9 @ implied 1, clear sign bit 119 bfi r0,r1,#23,#9 @ implied 1, clear sign bit 122 adds r0,r0,r12,lsr#31 @ negate if sign bit set 548 lsrs r0,r0,r2 @ save rounding bit in carry 621 @ r0 θ, abs range reduced angle θ 0..π/4 Q32+r12, 2π * 2^-6..2^-4 in Q32 terms (so top bit is clear)
|
D | float_sci_m33_vfp.S | 24 @ load a 32-bit constant n into register rx 299 orrs r0,r0,#0x00400000 @ set top mantissa bit of NaN 439 orrs r0,r0,#0x00400000 @ set top mantissa bit of NaN 603 orrs r0,r0,#0x00400000 @ set top mantissa bit of NaN 758 lsrs r2,r2,#8 @ rounding bit to carry 796 lsrs r2,r2,#8 @ rounding bit to carry
|
/hal_rpi_pico-latest/src/rp2350/hardware_structs/include/hardware/structs/ |
D | hstx_ctrl.h | 45 io_rw_32 bit[8];
|
/hal_rpi_pico-latest/src/rp2_common/pico_double/ |
D | double_fma_dcp.S | 100 …mov r2,#0 @ seems to be no 16-bit instruction which zeros a register without aff… 184 orr r0,r0,#1 @ a is non-zero so ensure we set the sticky bit 233 … 2..4 Q124; note that the contents of r0 and r1 are always destined for the sticky bit in this path 239 @ so the alignment shift in the final addition will be by at least two places; thus we can use bit … 240 @ value as a sticky bit, and we still have one bit in hand for rounding 248 orrne r2,r2,#1 @ sticky bit from bottom 64 bits of mn as shifted 250 @ r2b0 holds sticky bit; note that for alignment with a in r4:r5, r2:r3 will be shifted down at lea… 302 @ r4:r5 a IEEE packed (including sign bit; sign of mn is opposite as we are in the subtraction path) 341 @ r4:r5 a IEEE packed (including sign bit; sign of mn is opposite as we are in the subtraction path) 429 orrne r2,r2,#1 @ or into sticky bit [all …]
|
D | double_v1_rom_shim_rp2040.S | 187 lsls r4,r4,r7 @ rounding bit + sticky bits 203 lsrs r3,r1,#31 @ get sign bit 227 lsls r4,#1 @ check rounding bit 275 lsls r6,r0,#31 @ save rounding bit 300 asrs r3,r2,#31 @ propagate sign bit 310 lsls r4,r4,r6 @ rounding bit + sticky bits 335 asrs r1,r0,#31 @ propagate sign bit 1045 asrs r2,#5 @ d4 Q52, rounded to Q53 with spare bit in carry 1208 @ convert packed double in r0:r1 to signed/unsigned 32/64-bit integer/fixed-point value in r0:r1 [w…
|
D | double_conv_m33.S | 30 @ convert unsigned 64-bit fix to double, rounding; number of r0:r1 bits after point in r2 60 lsls r12,r0,r3 @ rounding bit in carry, sticky bits in Z 101 @ convert unsigned 64-bit fix to double, rounding; number of r0:r1 bits after point in r2 127 lsls r12,r0,r3 @ rounding bit in carry, sticky bits in Z
|
D | double_sci_m33.S | 31 @ load a 32-bit constant n into register rx 595 lsrs r0,r0,r2 @ save rounding bit in carry
|
/hal_rpi_pico-latest/src/common/pico_bit_ops_headers/ |
D | BUILD.bazel | 4 # this library and the bit ops implementations.
|
/hal_rpi_pico-latest/src/rp2_common/hardware_irq/ |
D | irq.c | 684 …int bit = hw_claim_unused_from_range(user_irq_claimed_ptr(), required, 0, NUM_USER_IRQS - 1, "No u… in user_irq_claim_unused() local 685 if (bit >= 0) bit = (int)NUM_IRQS - bit - 1; in user_irq_claim_unused() 686 return bit; in user_irq_claim_unused()
|
/hal_rpi_pico-latest/test/pico_float_test/ |
D | CMakeLists.txt | 7 # routines for RISC-V soft float (and the other tests are a bit
|
/hal_rpi_pico-latest/src/rp2040/boot_stage2/ |
D | CMakeLists.txt | 42 # todo bit of an abstraction failure - revisit for Clang support anyway
|
/hal_rpi_pico-latest/src/rp2350/boot_stage2/ |
D | CMakeLists.txt | 42 # todo bit of an abstraction failure - revisit for Clang support anyway
|
/hal_rpi_pico-latest/cmake/preload/toolchains/util/ |
D | pico_arm_clang_common.cmake | 56 # this is a bit of a hack; to try to autodetect the C library used:
|
/hal_rpi_pico-latest/src/rp2_common/pico_crt0/rp2040/ |
D | memmap_blocked_ram.ld | 70 …/* bit of a hack right now to exclude all floating point and time critical (e.g. memset, memcpy) c…
|
D | memmap_default.ld | 70 …/* bit of a hack right now to exclude all floating point and time critical (e.g. memset, memcpy) c…
|
/hal_rpi_pico-latest/src/rp2_common/pico_crt0/rp2350/ |
D | memmap_default.ld | 59 …/* bit of a hack right now to exclude all floating point and time critical (e.g. memset, memcpy) c…
|
/hal_rpi_pico-latest/src/rp2_common/pico_divider/ |
D | divider_hardware.S | 310 lsls r1,#31 @ get sign bit 390 b y64_x48 @ if x does not fit in 32 bits, go to 48- and 64-bit cases
|
/hal_rpi_pico-latest/tools/pioasm/ |
D | parser.yy | 151 …<std::string> CODE_BLOCK_CONTENTS "%}" // bit ugly but if there is no end this is what we will be …
|