Search found 2 matches

by pentagolo
Wed Mar 06, 2019 9:00 am
Forum: ESP-IDF
Topic: round to zero TRUNC.S gcc intrinsic / inline asm
Replies: 0
Views: 1973

round to zero TRUNC.S gcc intrinsic / inline asm

Hi, Is there any gcc C intrinsic or inline function which will convert a float to int by rounding to zero by simply producing the native TRUNC.S instruction? Or as an alternative: How would an inline assembler implementation look like? How could i instruct the build system to run my script (which ex...
by pentagolo
Wed Mar 06, 2019 8:07 am
Forum: ESP-IDF
Topic: Force context switch on other core
Replies: 1
Views: 2920

Force context switch on other core

Hi, i need to switch to a higher priority task on one core when it is unblocked by the other core as soon as possible. As far as i understand, unblocking a higher priority task (pinned to PRO core) from the APP core, will result in a context switch on PRO core only when some other API functions are ...