Home
last modified time | relevance | path

Searched refs:result (Results 1 – 25 of 45) sorted by relevance

12

/hal_rpi_pico-latest/src/rp2_common/cmsis/stub/CMSIS/Core/Include/
Dcmsis_armclang_ltm.h421 uint32_t result; in __RRX() local
423 __ASM volatile ("rrx %0, %1" : __CMSIS_GCC_OUT_REG (result) : __CMSIS_GCC_USE_REG (value) ); in __RRX()
424 return(result); in __RRX()
436 uint32_t result; in __LDRBT() local
438 __ASM volatile ("ldrbt %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRBT()
439 return ((uint8_t) result); /* Add explicit type cast here */ in __LDRBT()
451 uint32_t result; in __LDRHT() local
453 __ASM volatile ("ldrht %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRHT()
454 return ((uint16_t) result); /* Add explicit type cast here */ in __LDRHT()
466 uint32_t result; in __LDRT() local
[all …]
Dcmsis_gcc.h221 uint32_t result; in __REV16() local
223 __ASM ("rev16 %0, %1" : __CMSIS_GCC_OUT_REG (result) : __CMSIS_GCC_USE_REG (value) ); in __REV16()
224 return (result); in __REV16()
276 uint32_t result; in __RBIT() local
279 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); in __RBIT()
283 result = value; /* r will be reversed bits of v; first get LSB of v */ in __RBIT()
286 result <<= 1U; in __RBIT()
287 result |= value & 1U; in __RBIT()
290 result <<= s; /* shift when v's highest bits are zero */ in __RBIT()
292 return (result); in __RBIT()
[all …]
Dcmsis_armclang.h410 uint32_t result; in __RRX() local
412 __ASM volatile ("rrx %0, %1" : "=r" (result) : "r" (value)); in __RRX()
413 return (result); in __RRX()
425 uint32_t result; in __LDRBT() local
427 __ASM volatile ("ldrbt %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRBT()
428 return ((uint8_t)result); /* Add explicit type cast here */ in __LDRBT()
440 uint32_t result; in __LDRHT() local
442 __ASM volatile ("ldrht %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRHT()
443 return ((uint16_t)result); /* Add explicit type cast here */ in __LDRHT()
455 uint32_t result; in __LDRT() local
[all …]
Dcmsis_clang.h415 uint32_t result; in __RRX() local
417 __ASM volatile ("rrx %0, %1" : "=r" (result) : "r" (value)); in __RRX()
418 return (result); in __RRX()
430 uint32_t result; in __LDRBT() local
432 __ASM volatile ("ldrbt %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRBT()
433 return ((uint8_t)result); /* Add explicit type cast here */ in __LDRBT()
445 uint32_t result; in __LDRHT() local
447 __ASM volatile ("ldrht %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRHT()
448 return ((uint16_t)result); /* Add explicit type cast here */ in __LDRHT()
460 uint32_t result; in __LDRT() local
[all …]
Dcmsis_armcc.h536 uint32_t result; in __RBIT() local
539 result = value; /* r will be reversed bits of v; first get LSB of v */ in __RBIT()
542 result <<= 1U; in __RBIT()
543 result |= value & 1U; in __RBIT()
546 result <<= s; /* shift when v's highest bits are zero */ in __RBIT()
547 return result; in __RBIT()
/hal_rpi_pico-latest/src/rp2_common/cmsis/stub/CMSIS/Core/Include/m-profile/
Dcmsis_gcc_m.h129 uint32_t result; in __get_CONTROL() local
131 __ASM volatile ("MRS %0, control" : "=r" (result) ); in __get_CONTROL()
132 return (result); in __get_CONTROL()
144 uint32_t result; in __TZ_get_CONTROL_NS() local
146 __ASM volatile ("MRS %0, control_ns" : "=r" (result) ); in __TZ_get_CONTROL_NS()
147 return (result); in __TZ_get_CONTROL_NS()
185 uint32_t result; in __get_IPSR() local
187 __ASM volatile ("MRS %0, ipsr" : "=r" (result) ); in __get_IPSR()
188 return (result); in __get_IPSR()
199 uint32_t result; in __get_APSR() local
[all …]
Dcmsis_armclang_m.h130 uint32_t result; in __get_CONTROL() local
132 __ASM volatile ("MRS %0, control" : "=r" (result) ); in __get_CONTROL()
133 return (result); in __get_CONTROL()
145 uint32_t result; in __TZ_get_CONTROL_NS() local
147 __ASM volatile ("MRS %0, control_ns" : "=r" (result) ); in __TZ_get_CONTROL_NS()
148 return (result); in __TZ_get_CONTROL_NS()
186 uint32_t result; in __get_IPSR() local
188 __ASM volatile ("MRS %0, ipsr" : "=r" (result) ); in __get_IPSR()
189 return (result); in __get_IPSR()
200 uint32_t result; in __get_APSR() local
[all …]
Dcmsis_clang_m.h136 uint32_t result; in __get_CONTROL() local
138 __ASM volatile ("MRS %0, control" : "=r" (result) ); in __get_CONTROL()
139 return (result); in __get_CONTROL()
151 uint32_t result; in __TZ_get_CONTROL_NS() local
153 __ASM volatile ("MRS %0, control_ns" : "=r" (result) ); in __TZ_get_CONTROL_NS()
154 return (result); in __TZ_get_CONTROL_NS()
192 uint32_t result; in __get_IPSR() local
194 __ASM volatile ("MRS %0, ipsr" : "=r" (result) ); in __get_IPSR()
195 return (result); in __get_IPSR()
206 uint32_t result; in __get_APSR() local
[all …]
Dcmsis_tiarmclang_m.h446 uint32_t result; in __RRX() local
448 __ASM volatile ("rrx %0, %1" : "=r" (result) : "r" (value)); in __RRX()
449 return (result); in __RRX()
461 uint32_t result; in __LDRBT() local
463 __ASM volatile ("ldrbt %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRBT()
464 return ((uint8_t)result); /* Add explicit type cast here */ in __LDRBT()
476 uint32_t result; in __LDRHT() local
478 __ASM volatile ("ldrht %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRHT()
479 return ((uint16_t)result); /* Add explicit type cast here */ in __LDRHT()
491 uint32_t result; in __LDRT() local
[all …]
/hal_rpi_pico-latest/test/pico_float_test/
Dhazard3_test_gen.c40 const uint64_t result = xr256_rotl(s[0] + s[3], 23) + s[0]; in xr256_next() local
53 return result; in xr256_next()
89 uint32_t result = bitcast_f2u(bitcast_u2f(x) + bitcast_u2f(y)); in model_fadd() local
91 if (is_nan_u(result)) { in model_fadd()
92 result = -1u; in model_fadd()
94 result = flush_to_zero_u(result); in model_fadd()
95 return result; in model_fadd()
102 uint32_t result = bitcast_f2u(bitcast_u2f(x) * bitcast_u2f(y)); in model_fmul() local
104 if (is_nan_u(result)) { in model_fmul()
105 result = -1u; in model_fmul()
[all …]
/hal_rpi_pico-latest/test/pico_sha256_test/
Dpico_sha256_test.c30 sha256_result_t result; in run_test() local
35 pico_sha256_finish(&state, &result); in run_test()
36 hard_assert(memcmp(empty_expected, &result, SHA256_RESULT_BYTES) == 0); in run_test()
49 pico_sha256_finish(&state, &result); in run_test()
50 hard_assert(memcmp(nist_1_expected, &result.bytes, SHA256_RESULT_BYTES) == 0); in run_test()
65 pico_sha256_finish(&state, &result); in run_test()
66 hard_assert(memcmp(rc_4_16_expected, &result.bytes, SHA256_RESULT_BYTES) == 0); in run_test()
85 pico_sha256_finish(&state, &result); in run_test()
86 hard_assert(memcmp(rc_4_55_expected, result.bytes, SHA256_RESULT_BYTES) == 0); in run_test()
103 pico_sha256_finish(&state, &result); in run_test()
[all …]
/hal_rpi_pico-latest/src/rp2_common/pico_mbedtls/
Dpico_mbedtls.c52 sha256_result_t result; in mbedtls_sha256_finish_ret() local
53 pico_sha256_finish(ctx, &result); in mbedtls_sha256_finish_ret()
54 memcpy(output, result.bytes, 32); in mbedtls_sha256_finish_ret()
/hal_rpi_pico-latest/src/rp2_common/pico_bootrom/
Dbootrom.c88 uint32_t result[5]; in rom_get_boot_random() local
90 if (5 == func(result, count_of(result), SYS_INFO_BOOT_RANDOM)) { in rom_get_boot_random()
92 out[i] = result[i+1]; in rom_get_boot_random()
/hal_rpi_pico-latest/src/rp2_common/pico_bootrom/include/pico/
Dbootrom.h1020 uint32_t result[5]; in rom_get_boot_info() local
1021 int words_returned = rom_get_sys_info(result, 5, SYS_INFO_BOOT_INFO); in rom_get_boot_info()
1022 if (words_returned == (sizeof(result)/sizeof(result[0])) && result[0] == SYS_INFO_BOOT_INFO) { in rom_get_boot_info()
1023 memcpy(info, &result[1], sizeof(boot_info_t)); in rom_get_boot_info()
1031 uint32_t result[5]; in rom_get_last_boot_type_with_chained_flag() local
1032 int words_returned = rom_get_sys_info(result, 5, SYS_INFO_BOOT_INFO); in rom_get_last_boot_type_with_chained_flag()
1033 if (words_returned == count_of(result) && result[0] == SYS_INFO_BOOT_INFO) { in rom_get_last_boot_type_with_chained_flag()
1035 return (int)((result[1] & 0xff00u) >> 8); in rom_get_last_boot_type_with_chained_flag()
/hal_rpi_pico-latest/src/rp2_common/pico_double/
Ddouble_fma_dcp.S111 bne 90f @ then use mla path which gives the correct result in all these cases
145 WXMO r2,r3 @ write sticky+result bits
157 WXMO r2,r3 @ write sticky+result bits
168 WXMO r2,r3 @ write sticky+result bits
186 WXMO r2,r3 @ write sticky+result bits
200 WXMO r2,r3 @ write sticky+result bits
215 WXMO r2,r3 @ write sticky+result bits
237 …construct an IEEE packed value in r2:r3 such that adding it to r4:r5 gives the correct final result
252 … @ get sign of a (which in this path is the same as the sign of mn, and of the result)
257 …? then we have just constructed a denormal (or less) and the addition will give an incorrect result
[all …]
Ddouble_sci_m33.S57 @ r7:r8 range reduced result
128 movne r0,r2 @ calculating cosine? move to result registers
158 bhs 1f @ loop until the result is big enough
181 bmi 1f @ very small result?
248 @ case where range reduction result has excess exponent ≥ 32
358 @ here ε is positive, we need the sin of θ and the sign of the result is r12b0^r12b2
373 @ here ε is negative, we need the sin of θ and the sign of the result is r12b0^r12b2
381 @ here ε is positive, we need the cos of θ and the sign of the result is r12b2
391 @ here ε is negative, we need the cos of θ and the sign of the result is r12b2
424 eors r1,r1,r4,lsl#1 @ negate sine result if argument was negative
[all …]
Ddouble_v1_rom_shim_rp2040.S198 @ here unnormalised signed result (possibly 0) is in r0:r1 with exponent r12, rounding + sticky bit…
201 @ to provide a correct continuation of the exact result.
202 @ now pack result back up
338 da_ymgtx: @ result is just y
341 da_xmgty: @ result is just x
988 @ r12 result exponent
1014 @ r12 result exponent
1028 @ r12 result exponent
1240 bne 1f @ sign extension bits fail to match sign of result?
1258 @ result clamped so that r3 can only be 0 or -1
/hal_rpi_pico-latest/test/pico_test/include/pico/test/
Dxrand.h53 const uint64_t result = xrand_rotl(s0 + s1, 17) + s0; in xrand_next() local
59 return result; in xrand_next()
/hal_rpi_pico-latest/tools/
Dbazel_build.py207 result = run_bazel(
214 if result.returncode != 0:
/hal_rpi_pico-latest/src/rp2_common/pico_float/
Dfloat_sci_m33.S44 @ r6 range reduced result
80 adc r0,r0,#0x3f800000 @ result is just over 1
85 adc r0,r0,#0x3f800000 @ result is just under 1
206 @ here result may be close to zero
249 cmp r12,#1 @ result will be near zero?
285 cmp r12,#1 @ result will be near zero?
380 beq 80f @ already in quadrants 0/±2? then 0/0 result will be correct
430 @ where both x' and y' are positive, y'/x' < 1+δ, and the final result is
510 @ r3 phi0+phi1+phi2, result over reduced range Q32
535 @ r0 Q31 result, must not be zero
[all …]
Dfloat_v1_rom_shim_rp2040.S131 bmi 2f @ force y to 0 proper, so result will be zero
168 mov r0,r2 @ result here is -pi/2..3pi/2 Q29
174 bcs 6f @ -pi/2..0? leave result as is
219 @ result clamped so that r3 can only be 0 or -1
306 movs r0,r3 @ result very near zero: use sign extension bits
312 bne 1f @ sign extension bits fail to match sign of result?
/hal_rpi_pico-latest/src/rp2_common/pico_cyw43_driver/cybt_shared_bus/
Dcybt_shared_bus_driver.c180 uint32_t result = 0; in read_hex() local
183 result <<= 8; in read_hex()
184 result |= read_hex_byte(str + pos); in read_hex()
186 return result; in read_hex()
691 int result; in cybt_init_buffer() local
692 result = cybt_reg_read(WLAN_RAM_BASE_REG_ADDR, &WLAN_RAM_BASE_ADDR); in cybt_init_buffer()
693 if (CYBT_SUCCESS != result) { in cybt_init_buffer()
694 return result; in cybt_init_buffer()
/hal_rpi_pico-latest/src/rp2040/hardware_structs/include/hardware/structs/
Dadc.h43 io_ro_32 result;
/hal_rpi_pico-latest/src/rp2350/hardware_structs/include/hardware/structs/
Dadc.h43 io_ro_32 result;
/hal_rpi_pico-latest/src/rp2_common/pico_atomic/
Datomic.c26 bool result = *(volatile bool *) mem; in __atomic_test_and_set_c() local
29 return result; in __atomic_test_and_set_c()

12