Skip to content

Commit 87083fd

Browse files
authored
[WIP] Work around assembler limitations in current LLVM for Windows on Arm (#5076)
* Protect align directives in assembly files that are currently problematic with LLVM on WoA * use the armv8 zdot on WoA to work around other LLVM issues
1 parent 2954dc1 commit 87083fd

6 files changed

+235
-219
lines changed

kernel/arm64/KERNEL.NEOVERSEN1

+10
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,18 @@ ZNRM2KERNEL = znrm2.S
9898

9999
DDOTKERNEL = dot.c
100100
SDOTKERNEL = dot.c
101+
ifeq ($(OSNAME), WINNT)
102+
ifeq ($(C_COMPILER), CLANG)
103+
CDOTKERNEL = zdot.S
104+
ZDOTKERNEL = zdot.S
105+
else
106+
CDOTKERNEL = zdot_thunderx2t99.c
107+
ZDOTKERNEL = zdot_thunderx2t99.c
108+
endif
109+
else
101110
CDOTKERNEL = zdot_thunderx2t99.c
102111
ZDOTKERNEL = zdot_thunderx2t99.c
112+
endif
103113
DSDOTKERNEL = dot.S
104114

105115
DGEMM_BETA = dgemm_beta.S

0 commit comments

Comments
 (0)