Skip to content

Commit

Permalink
Use generic C for D/Z nrm2 kernels on Windows to work around fpu exce…
Browse files Browse the repository at this point in the history
…ption bug
  • Loading branch information
martin-frbg authored Oct 6, 2020
1 parent cccd143 commit 7812486
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions kernel/x86_64/KERNEL
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,12 @@ SNRM2KERNEL = nrm2_sse.S
endif

ifndef DNRM2KERNEL
ifeq ($(OSNAME),WINNT)
DNRM2KERNEL = ../arm/nrm2.c
else
DNRM2KERNEL = nrm2.S
endif
endif

ifndef QNRM2KERNEL
QNRM2KERNEL = nrm2.S
Expand All @@ -271,8 +275,12 @@ CNRM2KERNEL = znrm2_sse.S
endif

ifndef ZNRM2KERNEL
ifeq ($(OSNAME),WINNT)
ZNRM2KERNEL = ../arm/znrm2.c
else
ZNRM2KERNEL = znrm2.S
endif
endif

ifndef XNRM2KERNEL
XNRM2KERNEL = znrm2.S
Expand Down

0 comments on commit 7812486

Please sign in to comment.