You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure why, but Rust + the Espressif LLVM Xtensa compiler fork generates calls to the __sync_lock_test_and_set_ intrinsic when targeting the esp32s2 chip. I have not seen that on being generated for esp32c3 (Riscv32imc).
In any case, here is a (hopefully correct!) diff, which implements __sync_lock_test_and_set_ and __sync_lock_release_
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
Missing __sync_lock_test_and_set_ intrinsic for esp32s2
Missing __sync_lock_test_and_set_ intrinsic for esp32s2 (IDFGH-5897)
Sep 23, 2021
Provide emulated atomic load & store libcalls for u8, u16 & u32 integer
types. This is required when building with Clang as llvm does not lower
these operations to native load / stores, where as gcc does.
Provide `sync_lock_test_and_set` atomic implementations for all
supported integer types.
Closes#7591.
Closes#7592.
Related to #7591:
Not sure why, but Rust + the Espressif LLVM Xtensa compiler fork generates calls to the
__sync_lock_test_and_set_
intrinsic when targeting theesp32s2
chip. I have not seen that on being generated foresp32c3
(Riscv32imc).In any case, here is a (hopefully correct!) diff, which implements
__sync_lock_test_and_set_
and__sync_lock_release_
The text was updated successfully, but these errors were encountered: