Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP32: enable jump tables for libAtomVM for Xtensa devices #1080

Draft
wants to merge 1 commit into
base: release-0.6
Choose a base branch
from

Conversation

bettio
Copy link
Collaborator

@bettio bettio commented Feb 28, 2024

Starting from a certain point jump tables are disabled since they are not compatible with moving code to IRAM.
Enable that again for libAtomVM since we are not moving code to IRAM for it.

See also:
espressif/esp-idf@c02aa6d

These changes are made under both the "Apache 2.0" and the "GNU Lesser General
Public License 2.1 or later" license terms (dual license).

SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later

@bettio bettio force-pushed the enable-jump-tables-for-libAtomVM branch from be15f06 to 9eb1e79 Compare February 29, 2024 18:08
Starting from a certain point jump tables are disabled since they are
not compatible with moving code to IRAM.
Enable that again for libAtomVM since we are not moving code to IRAM for
it.

See also:
espressif/esp-idf@c02aa6d

Signed-off-by: Davide Bettio <[email protected]>
@bettio bettio force-pushed the enable-jump-tables-for-libAtomVM branch from 9eb1e79 to 246c4aa Compare February 29, 2024 23:10
@bettio bettio changed the title ESP32: enable jump tables for libAtomVM for xtensa devices ESP32: enable jump tables for libAtomVM for Xtensa devices Feb 29, 2024
@bettio bettio changed the base branch from main to release-0.6 February 29, 2024 23:21
@bettio
Copy link
Collaborator Author

bettio commented Mar 1, 2024

There is no evident performance gain, so I will iterate over this PR to make sure the optimization is useful.

@bettio bettio marked this pull request as draft March 1, 2024 17:52
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.

None yet

1 participant