Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5070

General • Question about the nature of riscv and arm cores

$
0
0
With the Pico2, it's possible to have one ARM core and one RISCV core. I was wondering what use this configuration could be made of. Since I'm programming in RISCV assembler and the hasard3 cores don't have instructions for floating-point operations, I used this possibility: my main program is on core 0 in RISCV and it calls the float functions on core 1 ARM. Everything works fine.
But I'd like to be sure that core 1 is indeed an ARM core when calling functions. I haven't found any registers that contain information about the nature of each core after the cores restart, but maybe I didn't search properly. Does anyone know a solution?
Thanks.

Statistics: Posted by VincentARM — Thu Mar 13, 2025 2:10 pm — Replies 11 — Views 181



Viewing all articles
Browse latest Browse all 5070