Skip to content

BUG, SIMD: Fix spurious invalid exception for sin/cos on arm64/clang#22954

Merged
seberg merged 1 commit intonumpy:mainfrom
seiko2plus:issue_22933
Jan 6, 2023
Merged

BUG, SIMD: Fix spurious invalid exception for sin/cos on arm64/clang#22954
seberg merged 1 commit intonumpy:mainfrom
seiko2plus:issue_22933

Conversation

@seiko2plus
Copy link
Copy Markdown
Member

closes #22933

@seiko2plus seiko2plus added 09 - Backport-Candidate PRs tagged should be backported component: SIMD Issues in SIMD (fast instruction sets) code or machinery labels Jan 6, 2023
Copy link
Copy Markdown
Member

@seberg seberg left a comment

Choose a reason for hiding this comment

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

Having to do asm is annoying, but notnan really must not set these flags.

Confirmed that this fixes the tests on my M1, thanks!

@seberg seberg added this to the 1.24.2 release milestone Jan 6, 2023
@seiko2plus
Copy link
Copy Markdown
Member Author

Having to do asm is annoying

I couldn't find another way

@seberg
Copy link
Copy Markdown
Member

seberg commented Jan 6, 2023

Yeah I trust that that this is a good way; that was meant as a compliment :). Thanks again, lets put it in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

00 - Bug component: SIMD Issues in SIMD (fast instruction sets) code or machinery

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG,TST: Tests report spurious invalid values on M1 for sin, cos, ...

3 participants