shtirlic opened a new pull request, #16306: URL: https://github.com/apache/nuttx/pull/16306
## Summary Each Arm Cortex-M33 processor in RP2350 is configured with Single precision FPU and DSP extension > The Cortex-M33 processor with FPU supports single-precision arithmetic as defined by the FPv5 architecture that is part > of the Armv8-M architecture. The FPU provides floating-point computation functionality compliant with ANSI/IEEE > Standard 754-2008, IEEE Standard for Binary Floating-Point Arithmetic. > The FPU supports single-precision add, subtract, multiply, divide, multiply and accumulate, and square root operations. > It also provides conversions between fixed-point and floating-point data formats, and floating-point constant > instructions. > - Armv8-M Floating-point Extension - Armv8-M Digital Signal Processing (DSP) Extension ## Impact Enabling dsp and fpu extensions allows performance gains in calculations ## Testing Config `./tools/configure.sh raspberrypi-pico-2:nsh` FPU test from `ostest` ``` user_main: FPU test Starting task FPU#1 fpu_test: Started task FPU#1 at PID=4 FPU#1: pass 1 Starting task FPU#2 fpu_test: Started task FPU#2 at PID=5 FPU#2: pass 1 FPU#1: pass 2 FPU#2: pass 2 FPU#1: pass 3 FPU#2: pass 3 FPU#1: pass 4 FPU#2: pass 4 FPU#1: pass 5 FPU#2: pass 5 FPU#1: pass 6 FPU#2: pass 6 FPU#1: pass 7 FPU#2: pass 7 FPU#1: pass 8 FPU#2: pass 8 FPU#1: pass 9 FPU#2: pass 9 FPU#1: pass 10 FPU#2: pass 10 FPU#1: pass 11 FPU#2: pass 11 FPU#1: pass 12 FPU#2: pass 12 FPU#1: pass 13 FPU#2: pass 13 FPU#1: pass 14 FPU#2: pass 14 FPU#1: pass 15 FPU#2: pass 15 FPU#1: pass 16 FPU#2: pass 16 FPU#1: Succeeded FPU#2: Succeeded fpu_test: Returning End of test memory usage: VARIABLE BEFORE AFTER ======== ======== ======== arena 7e7e8 7e7e8 ordblks 2 4 mxordblk 7a1e0 78a40 uordblks 4570 5580 fordblks 7a278 79268 ``` cpuinfo ``` nsh> cat /proc/cpuinfo processor : 0 BogoMIPS : 10.45 cpu MHz : 0.000 Features : half fastmult lpae idivt thumb edsp fpv5 fpsp vfpv3d16 model name : ARMv8-M rev 0 (v8ml) CPU architecture: 8M CPU implementer : 0x41 CPU variant : 0x1 CPU part : 0xd21 CPU revision : 0 ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org