Skip to content

Commit c589c3e

Browse files
authored
Merge pull request #2882 from martin-frbg/issue2709
Use generic C for (D/Z)NRM2 on Windows x86_64
2 parents ec638a8 + 7812486 commit c589c3e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

kernel/x86_64/KERNEL

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,12 @@ SNRM2KERNEL = nrm2_sse.S
259259
endif
260260

261261
ifndef DNRM2KERNEL
262+
ifeq ($(OSNAME),WINNT)
263+
DNRM2KERNEL = ../arm/nrm2.c
264+
else
262265
DNRM2KERNEL = nrm2.S
263266
endif
267+
endif
264268

265269
ifndef QNRM2KERNEL
266270
QNRM2KERNEL = nrm2.S
@@ -271,8 +275,12 @@ CNRM2KERNEL = znrm2_sse.S
271275
endif
272276

273277
ifndef ZNRM2KERNEL
278+
ifeq ($(OSNAME),WINNT)
279+
ZNRM2KERNEL = ../arm/znrm2.c
280+
else
274281
ZNRM2KERNEL = znrm2.S
275282
endif
283+
endif
276284

277285
ifndef XNRM2KERNEL
278286
XNRM2KERNEL = znrm2.S

0 commit comments

Comments
 (0)