target: support scalable vectors on arm64ec#154984
target: support scalable vectors on arm64ec#154984davidtwco wants to merge 1 commit intorust-lang:mainfrom
Conversation
This architecture is also AArch64, just with a different ABI, and so supports scalable vectors too.
|
These commits modify compiler targets. |
|
r? @JohnTitor rustbot has assigned @JohnTitor. Use Why was this reviewer chosen?The reviewer was selected based on:
|
fc55604 to
df56632
Compare
AFAIK, arm64ec doesn't support SVE: #131332 (comment). |
|
I can confirm that arm64ec doesn't support SVE. The OS only saves the low 128 bits of vector registers, which means that the upper bits could be clobbered at any point from random interrupts. Most likely the OS just disables SVE instructions entirely and makes them unavailable to user mode. |
|
Oh, I didn't know that. I'll close this and adjust the cfgs on the stdarch side, thanks. |
This architecture is also AArch64, just with a different ABI, and so supports scalable vectors too.
This is part of what is becoming a series of small PRs which fix CI failures in rust-lang/stdarch#2071 once they reach nightly.