forked from llvm/llvm-project
-
Notifications
You must be signed in to change notification settings - Fork 22
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 (11.x) (Do not merge, PR created for easier review only) (LLVM-89) #42
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add Xtensa.td, XtensaInstrInfo.td etc. Currently add just part of Core Instructions like ALU, processor control, memory barrier and some move instructions. Add instructions formats and basic registers.
Add FDE CFI encoding for Xtensa.
Add instruction printer and basic tests of the Xtensa instructions.
Add relocations and fixups support in object files generation. Modify tests to support new instructions. Add tests for relocations and fixups.
Lower ConstantPool, GlobalAddress, BlockAddress and JumpTable. Implement lowering of External and JumpTable symbols to MCInst representation.
Also lower SHL, SRA, SRL with register operands.
Implement load unsigned 8-bit pseudo operation. Implement extending loads patterns extloadi1/i8/i16.
Make backend initialize functions public and visible outside library.
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.
Closed
This was referenced Dec 7, 2020
Do not use Frame Pointer by default. Also improve storing function argument from a7 register to a8 register. Corrected funnel shift test. Closes #19
Remove redundant bits from CALLX/RET descriptions.
Signed-off-by: Andrei Safronov <[email protected]>
Modified linker options. Added "no-rtti" directory to library search path in case of -fno-rtti option is in arguments. Added "-lgcc" option.
Add job which builds toolchain for windows.
Change gcc toolchain release and use new version of the build scripts.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR allows reviewing Xtensa patches on top of release/11.x branch.