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
Line 261 of newlib/libc/machine/xtensa/memcpy.S says srli a11, a8, 30
This is undefined; srli shifts only by 0 to 15 bits, not 30.
Some assemblers seem to translate the srli statement to extui a11, a8, 30, 2, but some (e.g. clang) don't.
The text was updated successfully, but these errors were encountered:
berolinux
added a commit
to berolinux/newlib-esp32
that referenced
this issue
May 31, 2023
"srli a11, a8, 30" is invalid, srli shifts by 0 to 15 bits.
Some assemblers (e.g. gas 2.40) automatically translate a srli
statement with > 15 bit shift to an extui statement, some others
(clang 16 with espressif patches) don't.
Using extui works with both.
Closesespressif#11
"srli a11, a8, 30" is invalid, srli shifts by 0 to 15 bits.
Some assemblers (e.g. gas 2.40) automatically translate a srli
statement with > 15 bit shift to an extui statement, some others
(clang 16 with espressif patches) don't.
Using extui works with both.
Closesespressif#11
Line 261 of newlib/libc/machine/xtensa/memcpy.S says
srli a11, a8, 30
This is undefined; srli shifts only by 0 to 15 bits, not 30.
Some assemblers seem to translate the
srli
statement toextui a11, a8, 30, 2
, but some (e.g. clang) don't.The text was updated successfully, but these errors were encountered: