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

Normalize [us]shll.* ..., #0 aarch64 disassembly to the preferred [us]xtl.* #1213

Merged

Conversation

hkratz
Copy link
Contributor

@hkratz hkratz commented Sep 8, 2021

This is a workaround for an LLVM objdump shortcoming. uxtland sxtl are the preferred disassembly for ushll and sshll if the shift is zero as documented here:

This PR fixes some failing tests on Macos ARM64 (see #1206).

@rust-highfive
Copy link

r? @Amanieu

(rust-highfive has picked a reviewer for you, use r? to override)

@lu-zero
Copy link
Contributor

lu-zero commented Sep 8, 2021

Did you report the problem to llvm?

@hkratz hkratz force-pushed the aarch64_normalize_disassembly_ushll_to_uxtl branch from 15bf30a to a6d2c91 Compare September 8, 2021 19:20
@hkratz
Copy link
Contributor Author

hkratz commented Sep 8, 2021

Actually no need to report, it is already in the bug tracker: https://bugs.llvm.org/show_bug.cgi?id=39721 and there is a patch since 2018: https://reviews.llvm.org/D54791

@Amanieu Amanieu merged commit 7fd93e3 into rust-lang:master Sep 8, 2021
@hkratz hkratz deleted the aarch64_normalize_disassembly_ushll_to_uxtl branch September 9, 2021 03:50
bors added a commit to rust-lang-ci/rust that referenced this pull request Sep 27, 2021
Update stdarch submodule

This is mainly to fix the critical issue of aarch64 store intrinsics overwriting additional memory, see rust-lang/stdarch#1220

Changes:
* aarch64/armv7: additional vld1/vst1 intrinsics + perf fixes for existing ones
  * rust-lang/stdarch#1205
  * rust-lang/stdarch#1207
  * rust-lang/stdarch#1216
* armv7: Make FMA work with vfpv4 and optimize
  * rust-lang/stdarch#1219
* Non-visible changes to the testing framework
  * rust-lang/stdarch#1208
  * rust-lang/stdarch#1211
  * rust-lang/stdarch#1213
  * rust-lang/stdarch#1215
  * rust-lang/stdarch#1218
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.

4 participants