Skip to content

Disable loop vectorization for gfortran on ARM - #1165

Merged
langou merged 2 commits into
Reference-LAPACK:masterfrom
ACSimon33:fno-tree-loop-vectorize
Nov 14, 2025
Merged

langou merged 2 commits into
Reference-LAPACK:masterfrom
ACSimon33:fno-tree-loop-vectorize

Conversation

@ACSimon33

Copy link
Copy Markdown
Collaborator

Description

Fixes #1160

Checklist

  • The documentation has been updated.
  • If the PR solves a specific issue, it is set to be closed on merge.

@langou
langou merged commit 8d44c30 into Reference-LAPACK:master Nov 14, 2025
@langou

langou commented Nov 14, 2025

Copy link
Copy Markdown
Contributor

Thanks. That's really good and helpful.

@TamarChristinaArm

TamarChristinaArm commented Nov 19, 2025 •

Copy link
Copy Markdown

Hi, disabling vectorization is a really big hammer. could you perhaps for arm64|aarch64 instead of -fno-tree-vectorize use -march=armv8-a which will just disable the extra instructions which cause the problem. You could so do as well for arm if you don't support armv7-a and earlier.

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.

Eigenvector issues in 3.12.1

3 participants