Skip to content

Conversation

@berolinux
Copy link

"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.

Closes #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.

Closes espressif#11
@berolinux berolinux force-pushed the work/bero/fixes/memcpy-asm branch from 4dc7a53 to 5f67d2a Compare May 31, 2023 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Invalid asm code in newlib/libc/machine/xtensa/memcpy.S

1 participant