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

Xtensa patches (19.x) (Do not merge, PR created for easier review only) #109

Open
wants to merge 284 commits into
base: xtensa_release_19.1.2_init
Choose a base branch
from

Conversation

gerekon
Copy link
Collaborator

@gerekon gerekon commented Jan 14, 2025

No description provided.

Implement subtarget dependent SR and UR register parsing and
disassembling, add tests. Implement User Registers read/write
instructions and add tests.
Use Multilib class functionality to choose between library variants,
based on the command line args.
Add FP instructions test, format FP instruction descriptions.
Remove register class for boolean operands, because it is only suitable for FP compare operations
and may lead to problems in other cases. Disable load width reduction, because for IRAM memory
it may cause exceptions.
Do not use Frame Pointer by default.
Also improve storing function argument from a7 register to a8 register.
Corrected funnel shift test.
This adds the 'f' inline assembly constraint, as supported by GCC. An
'f'-constrained operand is passed in a floating point register.

This patch adds support in both the clang frontend, and LLVM itself.
The ESP32-S2 chip includes Xtensa ISA extension which
helps to work with GPIO, so we add instructions description
and test. Add MEMCTL feature to ESP32-S2 target. Implement
Xtensa illegal instructions with tests.
Implement support of the ESP32-S3 chip in clang and llvm.
The ESP32-S3 chip includes Xtensa ISA extension which
helps to work with GPIO, so we add instructions description
and test.
gerekon and others added 22 commits January 16, 2025 13:05
This matches GCC.

Partially addresses llvm#115964

Pull Request: llvm#115967
It fixes crash in Xtensa AsmParser::run() during ModuleSummaryIndexAnalysis pass.
It consumes much less memory. This commit also limits the number of simulteneous compile and link jobs for LLVM.
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.

8 participants