Home
last modified time | relevance | path

Searched refs:f (Results 1 – 25 of 42) sorted by relevance

12

/hal_rpi_pico-latest/src/rp2_common/pico_float/include/pico/
Dfloat.h49 float int2float(int32_t f);
50 float uint2float(uint32_t f);
51 float int642float(int64_t f);
52 float uint642float(uint64_t f);
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);
63 int32_t float2int(float f);
64 uint32_t float2uint(float f);
[all …]
/hal_rpi_pico-latest/src/rp2_common/pico_lwip/tools/
Dmakefsdata.py27 data = f"/{file.relative_to(input_dir)}\x00"
28 comment = f"\"/{file.relative_to(input_dir)}\" ({len(data)} chars)"
36 if file.name.startswith(f"{response_id}."):
39 data = f"{response_types[response_type]}\r\n"
40 comment = f"\"{response_types[response_type]}\" ({len(data)} chars)"
44 data = f"Server: {HTTPD_SERVER_AGENT}\r\n"
45 comment = f"\"Server: {HTTPD_SERVER_AGENT}\" ({len(data)} chars)"
51 data = f"Content-Length: {file_size}\r\n"
52 comment = f"\"Content-Length: {file_size}\" ({len(data)} chars)"
56 data = f"Content-Type: {content_type}\r\n\r\n"
[all …]
/hal_rpi_pico-latest/src/rp2_common/pico_float/
Dfloat_aeabi_rp2040.S59 bhi 1f
70 bhi 1f
73 bhi 2f
130 bmi 1f // different signs
132 bl 1f
145 bl 1f
183 beq 2f
192 bne 3f
205 bl 1f
213 beq 2f
[all …]
Dfloat_v1_rom_shim_rp2040.S33 bne 1f
44 bcc 1f
50 b 2f
69 bpl 3f @ positive? we can use signed code
74 b 4f
91 bne 1f @ next shift will overflow?
131 bmi 2f @ force y to 0 proper, so result will be zero
133 bge 1f @ ex>=ey?
137 blo 3f
139 b 3f
[all …]
Dfloat_conv_m33.S33 bge 10f @ positive? use unsigned code
36 cbz r1,7f @ high word is zero?
39 bmi 2f
50 beq 4f @ potential rounding tie?
52 bhs 3f @ over/underflow?
67 beq 4f @ potential rounding tie?
98 bmi 2f
107 b 3f
120 beq 4f @ potential rounding tie?
141 cbz r0,1f @ zero? return it
[all …]
Dfloat_sci_m33_vfp.S72 bmi 1f
74 bge 3f
79 bmi 2f
116 bls 4f @ not NaN?
126 bge 5f @ risk of underflow, -Inf, -NaN?
131 bpl 6f
148 bls 14f
199 bhs 1f
201 beq 2f @ ±0?
241 bgt 3f @ +NaN?
[all …]
Dfloat_single_hazard3.S59 bgez a0, 1f
64 bgez a1, 1f
108 bgez \sig_lhs, 3f
111 bgeu \exp_lhs, t0, 1f
121 bgez \exp_lhs, 2f
171 bnez a3, 1f
190 bgez a1, 1f
232 bgez a4, 2f
263 beqz a5, 1f
278 bnez a1, 1f
Dfloat_sci_m33.S77 bne 1f
96 bne 8f
98 blo 6f
101 b 6f
106 bhs 6f
109 b 6f
117 bge 20f @ overflow, Inf or NaN?
157 bhs 1f
160 bgt 23f
162 blt 23f
[all …]
/hal_rpi_pico-latest/tools/
Dbuild_all_headers.py61 for f in sorted(files):
62 if f.endswith('.h'):
63 include_file = os.path.relpath(os.path.join(root, f), d)
81 for f in include_files:
82 if include_locations[f] != last_location:
83 fh.write('\n// {}\n'.format(include_locations[f]))
84 fh.write('#include "{}"\n'.format(f))
85 last_location = include_locations[f]
Dcompare_build_systems.py183 with open(p, "r") as f:
184 for line in f:
206 _LOG.warning(f" {cmake_option.name} does not exist in Bazel")
211 _LOG.warning(f" {bazel_option.name} does not exist in CMake")
215 _LOG.error(f" [CMAKE] {bazel_option}")
216 _LOG.error(f" [BAZEL] {cmake_option}")
249 ("git", "-C", SDK_ROOT, "rev-parse", f'HEAD:{maybe_match.group("dependency")}'),
300 f
302 for f in glob.glob(os.path.join(SDK_ROOT, p), recursive=True)
305 f
[all …]
Dcheck_source_files_in_bazel_build.py168 bazel_files = [Path(f) for f in bazel_file_list.splitlines()]
185 "Ignoring files:\n\n%s\n", "\n".join(" " + str(f) for f in ignored_files)
Drun_all_bazel_checks.py66 print_framed_string(f"{step['description']}...")
75 print_to_stderr(f" * FAILED: {build}")
/hal_rpi_pico-latest/src/rp2_common/pico_double/
Ddouble_aeabi_rp2040.S56 bhi 1f
68 bhi 1f
71 bhi 2f
159 bmi 1f // different signs
162 bl 2f
177 bl 1f
218 beq 2f
230 bne 3f
244 bl 1f
251 beq 2f
[all …]
Ddouble_conv_m33.S33 bge 10f @ positive? can use unsigned code
36 cbz r1,7f @ high word is zero?
39 bmi 2f
54 b 3f
72 beq 4f @ potential rounding tie?
104 cbz r1,7f @ high word zero?
107 bmi 2f
121 b 3f
139 beq 4f @ potential rounding tie?
170 bmi 2f
[all …]
Ddouble_fma_dcp.S70 b 1f // 16-bit instruction
106 bmi 50f @ mn has opposite sign to a so operation is essentially a subtraction
111 bne 90f @ then use mla path which gives the correct result in all these cases
120 …blt 80f @ branch if |a| is big compared to |mn|, more precisely if ea-(em+en)≥…
135 bmi 91f @ use flags: will a be shifted down?
137 bge 92f
139 bge 93f
180 bge 94f
182 bge 95f
232 bne 1f @ 2≤mn<4?
[all …]
Ddouble_sci_m33.S120 cbnz r3,33f
138 b 31f
158 bhs 1f @ loop until the result is big enough
181 bmi 1f @ very small result?
245 b 2f
262 bmi 23f @ doing dsincos?
264 bcc 21f @ need sine?
280 b 20f
297 b 1f
302 b 1f
[all …]
/hal_rpi_pico-latest/src/rp2_common/pico_divider/
Ddivider_hardware.S41 b 9f
121 beq 1f
140 beq 1f
183 beq 1f
198 beq 1f
285 blt 1f
287 beq 2f @ could x be zero?
304 bne 4f
306 beq 5f @ then pass 0 to __aeabi_ldiv0
311 bne 5f @ y -ve? pass -2^63 to __aeabi_ldiv0
[all …]
/hal_rpi_pico-latest/tools/pioasm/gen/
Dlocation.h68 explicit position (filename_type* f = YY_NULLPTR,
71 : filename (f) in filename() argument
185 explicit location (filename_type* f,
188 : begin (f, l, c) in begin() argument
189 , end (f, l, c) in begin()
194 void initialize (filename_type* f = YY_NULLPTR,
198 begin.initialize (f, l, c);
/hal_rpi_pico-latest/tools/pioasm/
Dmain.cpp21 for(const auto& f : output_format::all()) { in usage() local
22 std::cerr << " " << f->name << std::endl; in usage()
23 std::cerr << " " << f->get_description() << std::endl; in usage()
96 [&](const std::shared_ptr<output_format> &f) { in main() argument
97 return f->name == format; in main()
/hal_rpi_pico-latest/test/pico_float_test/
Dhazard3_test_gen.c58 float f; in bitcast_f2u() member
61 un.f = x; in bitcast_f2u()
67 float f; in bitcast_u2f() member
71 return un.f; in bitcast_u2f()
/hal_rpi_pico-latest/src/rp2_common/hardware_divider/
Ddivider.S31 b 1f
32 1: b 1f
33 1: b 1f
/hal_rpi_pico-latest/src/rp2040/hardware_regs/include/hardware/
Dplatform_defs.h119 #define REG_FIELD_WIDTH(f) (f ## _MSB + 1 - f ## _LSB) argument
/hal_rpi_pico-latest/test/hardware_pwm_test/
Dhardware_pwm_test.c88 int f = (int8_t) ((divider - i) * 16); in main() local
90 …PICOTEST_CHECK_CHANNEL(pwm, slice->div == (i << 4 | f), "pwm_set_clkdiv() failed to set register"); in main()
93 pwm_set_clkdiv_int_frac(pwm, i, f); in main()
94 PICOTEST_CHECK_CHANNEL(pwm, slice->div == (i << 4 | f), in main()
/hal_rpi_pico-latest/src/rp2350/hardware_regs/include/hardware/
Dplatform_defs.h163 #define REG_FIELD_WIDTH(f) (f ## _MSB + 1 - f ## _LSB) argument
/hal_rpi_pico-latest/src/rp2_common/pico_bit_ops/
Dbit_ops_aeabi.S74 bne 1f
88 beq 1f
171 beqz a0, 1f
179 cbz r0, 1f

12