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

sys/pgmspace.h: Refactor inline asm #7510

Merged
merged 2 commits into from
Aug 9, 2020

Conversation

jjsuwa
Copy link
Contributor

@jjsuwa jjsuwa commented Aug 6, 2020

  • Refactor asm tabs for .S cosmetics

  • Avoid fixed regname (a14) allocation

  • Remove unnecessary explicit cast and word masking

* Refactor asm tabs for `.S` cosmetics

* Avoid fixed regname (`a14`) allocation

* Remove unnecessary explicit cast and word masking
@earlephilhower
Copy link
Collaborator

Howdy, @jjsuwa! Looks good if a bit pedantic (dropping casts).

Let me do a couple checks on real HW just to verify the a14 change.

In the meantime, this file comes from upstream in the newlib toolchain. Can you put in the same PR there? https://github.com/earlephilhower/newlib-xtensa

OTW, this change will be lost as soon as a new toolchain build is done.

Copy link
Collaborator

@earlephilhower earlephilhower left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did a BearSSL recompile and test and an ESP8266Audio AAC test with this patch. Everything worked fine. Thanks!

@earlephilhower earlephilhower merged commit fc2426a into esp8266:master Aug 9, 2020
@jjsuwa jjsuwa deleted the pgmspace_refactor branch August 9, 2020 01:20
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

2 participants