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

Define assembler files for ARM64 + Windows + GCC combination #1

Closed
wants to merge 3 commits into from

Conversation

vejbomar
Copy link
Member

@vejbomar vejbomar commented Nov 8, 2024

It seems that Clang on Aarch64 uses the same syntax as GNU (boostorg#262), so at the end it was enough to just use the same assembler files.

@Blackhex @eukarpov please take a brief look at the assembler files:

https://github.com/Windows-on-ARM-Experiments/boost-context/blob/develop/src/asm/jump_arm64_aapcs_pe_armclang.S
https://github.com/Windows-on-ARM-Experiments/boost-context/blob/develop/src/asm/make_arm64_aapcs_pe_armclang.S
https://github.com/Windows-on-ARM-Experiments/boost-context/blob/develop/src/asm/ontop_arm64_aapcs_pe_armclang.S

if you'll see something that should not work with our toolchain. But I think all should be alright since they're compiled and they're the same as the ones for Clang.

@vejbomar vejbomar requested review from Blackhex and eukarpov November 8, 2024 16:38
alias asm_sources
: asm/make_arm64_aapcs_pe_armclang.asm
asm/jump_arm64_aapcs_pe_armclang.asm
Copy link
Member

@eukarpov eukarpov Nov 8, 2024

Choose a reason for hiding this comment

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

It looks like it was not defined here correctly initially for clang and this change fixes it.

Copy link
Member

@Blackhex Blackhex left a comment

Choose a reason for hiding this comment

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

LGTM

@vejbomar
Copy link
Member Author

Thanks for the reviews!

PR into upstream was opened boostorg#275, so I'm closing this PR as it was just for internal review.

@vejbomar vejbomar closed this Nov 11, 2024
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.

3 participants