Skip to content

Commit

Permalink
[WIP] Work around assembler limitations in current LLVM for Windows o…
Browse files Browse the repository at this point in the history
…n 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
  • Loading branch information
martin-frbg authored Jan 18, 2025
1 parent 2954dc1 commit 87083fd
Show file tree
Hide file tree
Showing 6 changed files with 235 additions and 219 deletions.
10 changes: 10 additions & 0 deletions kernel/arm64/KERNEL.NEOVERSEN1
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,18 @@ ZNRM2KERNEL = znrm2.S

DDOTKERNEL = dot.c
SDOTKERNEL = dot.c
ifeq ($(OSNAME), WINNT)
ifeq ($(C_COMPILER), CLANG)
CDOTKERNEL = zdot.S
ZDOTKERNEL = zdot.S
else
CDOTKERNEL = zdot_thunderx2t99.c
ZDOTKERNEL = zdot_thunderx2t99.c
endif
else
CDOTKERNEL = zdot_thunderx2t99.c
ZDOTKERNEL = zdot_thunderx2t99.c
endif
DSDOTKERNEL = dot.S

DGEMM_BETA = dgemm_beta.S
Expand Down
Loading

0 comments on commit 87083fd

Please sign in to comment.