STMicroelectronics / STM32CubeG4

STM32Cube MCU Full Package for the STM32G4 series - (HAL + LL Drivers, CMSIS Core, CMSIS Device, MW libraries plus a set of Projects running on all boards provided by ST (Nucleo, Evaluation and Discovery Kits))
Other
182 stars 98 forks source link

Update cmsis_gcc.h to undo removed __PKHBT and __PKHTB intrinsics #38

Closed etheory closed 1 year ago

etheory commented 1 year ago

By commenting out PKHBT and PKHTB assembly versions, and instead using native C versions, you have absolutely crippled the performance of this header when using these instructions. In real world high performance code, I got a 6.58% speed improvement for the entire codebase JUST by making this change.

IMPORTANT INFORMATION

Contributor License Agreement (CLA)

ST-dot-com commented 1 year ago

This pull request has been refused, the Contribution License Agreement must be signed.