Handle NaN in input

This commit is contained in:
Martin Kroeker 2024-01-08 14:20:07 +01:00 committed by GitHub
parent f637e12713
commit 7ee1ee38e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -87,6 +87,7 @@
xorps %xmm7, %xmm7
comiss %xmm0, %xmm7
jne .L100 # Alpha_r != ZERO
jp .L100 # Alpha_r NaN
comiss %xmm1, %xmm7
jne .L100 # Alpha_i != ZERO

View File

@ -98,6 +98,7 @@
xorps %xmm7, %xmm7
comisd %xmm0, %xmm7
jne .L100
jp .L100
comisd %xmm1, %xmm7
jne .L100