/hal_rpi_pico-latest/src/rp2_common/pico_float/ |
D | float_math.c | 37 #define FUNPACK(x,e,m) e=((x)>>23)&0xff,m=((x)&0x007fffff)|0x00800000 argument 38 #define FUNPACKS(x,s,e,m) s=((x)>>31),FUNPACK((x),(e),(m)) argument 82 int e; in fldexp() local 83 e=fgetexp(x); in fldexp() 84 if(e==0||e==0xff) return x; in fldexp() 85 e+=de; in fldexp() 86 if(e<=0) iy=ix&0x80000000; // signed zero for underflow in fldexp() 87 else if(e>=0xff) iy=(ix&0x80000000)|0x7f800000ULL; // signed infinity on overflow in fldexp() 117 int e=fgetexp(x); in fisint() local 118 if(e==0) return 1; // 0 is an integer in fisint() [all …]
|
D | float_sci_m33.S | 41 @ r1 exponent e>=-32, typically offset by +9 48 asrs r3,r1,#5 @ k=e/32, k<=5 for e offsets up to 9+32 50 and r3,r1,#31 @ s=e%32 55 @ r3:r4 u0:u1 = m<<(e%32); u1 is never more than 2<<23 73 rsb r3,#1 @ 1-(e+9) 115 bmi 7b @ e<0? 323 @ r2 e+6 <0 327 rsbs r4,r2,#0 @ -e-6 = shift down of mantissa required to get to Q29 >0 328 cmp r4,#7 @ -e-6 ≥ 7 [ e ≤ -13 ] 331 bfi r0,r3,#23,#9 @ fix up mantissa Q23-e [all …]
|
D | float_sci_m33_vfp.S | 33 .long 0 @ this allows values of e down to -32 40 @ r1 exponent e>=-32, typically offset by +9 48 asrs r3,r1,#5 @ k=e/32, k<=5 for e offsets up to 9+32 50 and r3,r1,#31 @ s=e%32 55 @ r3:r4 u0:u1 = m<<(e%32); u1 is never more than 2<<23 221 lsls r1,#23 @ e Q23 236 vadd.f32 s0,s0,s7 @ e log 2 + log ε - log u 271 .word 0x011a,0xbdc61a2f @ 00003eca..000040fe 303 @ here x≥256, -e in r1 308 rsb r1,#9 @ e+9 [all …]
|
/hal_rpi_pico-latest/src/rp2_common/pico_double/ |
D | double_math.c | 39 #define DUNPACK(x,e,m) e=((x)>>52)&0x7ff,m=((x)&0x000fffffffffffffULL)|0x0010000000000000ULL argument 40 #define DUNPACKS(x,s,e,m) s=((x)>>63),DUNPACK((x),(e),(m)) argument 85 int e; in dldexp() local 86 e=dgetexp(x); in dldexp() 87 if(e==0||e==0x7ff) return x; in dldexp() 88 e+=de; in dldexp() 89 if(e<=0) iy=ix&0x8000000000000000ULL; // signed zero for underflow in dldexp() 90 …else if(e>=0x7ff) iy=(ix&0x8000000000000000ULL)|0x7ff0000000000000ULL; // signed infinity on overf… in dldexp() 120 int e=dgetexp(x); in disint() local 121 if(e==0) return 1; // 0 is an integer in disint() [all …]
|
D | double_sci_m33.S | 40 .long 0 @ this allows values of e down to -32 53 @ r2 exponent e>=-32, typically offset by +12 62 and r5,r2,#31 @ s=e%32 65 …asrs r8,r2,#5 @ k=e/32, k<=32 for double with e offset <32; with e offsets up to 12+… 69 @ r2 e 70 @ r4:r5:r6 u0:u1:u2 = m<<(e%32); u2 is never more than 2<<20 71 @ r8 e/32 316 add r2,#12 @ e+12 628 @ r3 exponent e of x with 0x3ff bias removed, -32≤e<12 so 2^-32≤x<2^12 643 beq 1f @ e<0, x<1 [all …]
|
D | double_fma_dcp.S | 88 …eors r6,r6,r5 @ set N if mn has opposite sign to a, i.e. if the operation is essenti… 120 … @ branch if |a| is big compared to |mn|, more precisely if ea-(em+en)≥3 so e.g. if ea=0 (hence 1≤… 124 @ here |mn| is big compared to |a|; e.g. if em+en=0 (so 1≤mn<4) then ea≤2 and a<8 249 @ r2:r3 mn 2..4 Q51, i.e. 1..2 Q52 307 … @ branch if |a| is big compared to |mn|, more precisely if ea-(em+en)≥4 so e.g. if ea=0 then em+e… 308 …beq 94f @ branch if ea-(em+en)=3 e.g. if ea=0 then em+en=-3 and 1/8=2^-3≤mn<4.… 309 @ in this branch, if e.g. em+en=0 (so 1≤mn<4) then ea≤2 and a<8 339 @ here if ea-(em+en)=3 e.g. if ea=0 then em+en=-3 and 1/8=2^-3≤mn<4.2^-3=1/2 531 @ here |a| is big compared to |mn|, more precisely ea-(em+en)≥4 so e.g. if ea=0 then em+en≤-4 and m…
|
/hal_rpi_pico-latest/src/rp2_common/pico_float/include/pico/ |
D | float.h | 53 float fix2float(int32_t m, int e); 54 float ufix2float(uint32_t m, int e); 55 float fix642float(int64_t m, int e); 56 float ufix642float(uint64_t m, int e); 59 int32_t float2fix(float f, int e); 60 uint32_t float2ufix(float f, int e); 61 int64_t float2fix64(float f, int e); 62 uint64_t float2ufix64(float f, int e); 79 int64_t float2fix64_z(float f, int e);
|
/hal_rpi_pico-latest/src/rp2_common/pico_double/include/pico/ |
D | double.h | 45 double fix2double(int32_t m, int e); 46 double ufix2double(uint32_t m, int e); 47 double fix642double(int64_t m, int e); 48 double ufix642double(uint64_t m, int e); 51 int32_t double2fix(double d, int e); 52 uint32_t double2ufix(double d, int e); 53 int64_t double2fix64(double d, int e); 54 uint64_t double2ufix64(double d, int e);
|
/hal_rpi_pico-latest/tools/pioasm/ |
D | main.cpp | 95 const auto& e = std::find_if(output_format::all().begin(), output_format::all().end(), in main() local 99 if (e == output_format::all().end()) { in main() 103 oformat = *e; in main()
|
D | pio_assembler.cpp | 250 } catch (syntax_error &e) { in resolve() local 252 throw e; in resolve() 475 for (const auto &e : program.code_blocks) { in write_output() local 478 if (o == e.first || 0 == e.first.find(o+"-")) { in write_output() 484 …std::cerr << e.second[0].location << ": warning, unknown code block output type '" << e.first << "… in write_output() 485 known_output_formats.insert(e.first); in write_output() 521 …locks, cprogram.code_blocks.begin()), [](const std::pair<std::string, std::vector<code_block>>&e) { in write_output() argument 523 …std::transform(e.second.begin(), e.second.end(), std::back_inserter(blocks), [&](const code_block&… in write_output() 526 return std::pair<std::string, std::vector<std::string>>(e.first, blocks); in write_output()
|
/hal_rpi_pico-latest/src/rp2040/ |
D | README.md | 1 …e RP2040 hardware. It is only used when building for the RP2040 platforms i.e. `PICO_PLATFORM=rp20…
|
/hal_rpi_pico-latest/cmake/preload/toolchains/ |
D | pico_riscv_gcc_zcb_zcmp.cmake | 2 # i.e. CMake<Lang>Information and whatnot
|
D | pico_arm_cortex_m23_gcc.cmake | 2 # i.e. CMake<Lang>Information and whatnot
|
D | pico_arm_clang_arm.cmake | 3 # i.e. CMake<Lang>Information and whatnot
|
/hal_rpi_pico-latest/cmake/ |
D | pico_pre_load_platform.cmake | 9 # PICO_CMAKE_CONFIG: PICO_PLATFORM, Platform to build for e.g. rp2040/rp2350/rp2350-arm-s/rp2350-ri… 55 set(PICO_BOARD ${PICO_BOARD} CACHE STRING "PICO target board (e.g. pico, pico2)" FORCE) 75 …fault actual platform to build for if rp2350 is specified for PICO_PLATFORM e.g. rp2350-arm-s/rp23… 124 set(PICO_PLATFORM ${PICO_PLATFORM} CACHE STRING "PICO Build platform (e.g. rp2040, rp2350, rp2350-r… 125 set(PICO_PREVIOUS_PLATFORM ${PICO_PLATFORM} CACHE STRING "Saved PICO Build platform (e.g. rp2040, r…
|
/hal_rpi_pico-latest/src/rp2350/ |
D | README.md | 1 …ns files specific to the RP2350 hardware. It is only used when building for RP2350 platforms, i.e.
|
/hal_rpi_pico-latest/src/rp2_common/hardware_xosc/ |
D | xosc.c | 19 #error XOSC_HZ must be in the range 1,000,000-50,000,000 i.e. 1-50MHz XOSC frequency
|
/hal_rpi_pico-latest/tools/pioasm/gen/ |
D | location.h | 173 location (const position& b, const position& e) in location() argument 175 , end (e) in location()
|
/hal_rpi_pico-latest/src/rp2_common/pico_runtime/ |
D | BUILD.bazel | 6 # the implementation getting pulled in as a link dep (i.e. invert the usual
|
/hal_rpi_pico-latest/src/rp2_common/pico_runtime_init/ |
D | BUILD.bazel | 6 # the implementation getting pulled in as a link dep (i.e. invert the usual
|
/hal_rpi_pico-latest/src/rp2_common/pico_standard_binary_info/ |
D | BUILD.bazel | 13 # PICO_BUILD_DEFINE: PICO_CMAKE_BUILD_TYPE, The type of build (e.g. Debug or Release) to embed in b…
|
/hal_rpi_pico-latest/docs/ |
D | mainpage.md | 13 …premium. Additionally the trade-offs between performance and other factors (e.g. edge-case error h… 23 The SDK builds an executable which is bare-metal, i.e. it includes the entirety of the code needed …
|
/hal_rpi_pico-latest/ |
D | README.md | 148 About the simplest you can do is a single source file (e.g. hello_world.c) 185 …co, you should pass `-DPICO_BOARD=board_name` to the `cmake` command above, e.g. `cmake -DPICO_BOA… 187 …Specifying `PICO_BOARD=<booardname>` sets up various compiler defines (e.g. default pin numbers fo… 188 …cases also enables the use of additional libraries (e.g. wireless support when building for `PICO_…
|
/hal_rpi_pico-latest/src/rp2_common/pico_cyw43_driver/ |
D | CMakeLists.txt | 101 # e.g. Don't add new depenedences 142 …# e.g. pico_configure_ip4_address(picow_tcpip_server_background PRIVATE CYW43_DEFAULT_IP_STA_ADDRE…
|
/hal_rpi_pico-latest/tools/ |
D | uf2_aspect.bzl | 56 It's also possible to use this aspect within a custom macro (e.g. my_cc_binary)
|