Merge pull request #5618 from vtjnash/jn/zdot_thunderx2t99-ICE
arm64: fix clang ICE on Windows for thunderx2t kernels
This commit is contained in:
@@ -155,7 +155,10 @@ static double nrm2_compute(BLASLONG n, FLOAT *x, BLASLONG inc_x)
|
||||
" cmp "J", xzr \n"
|
||||
" beq .Lnrm2_kernel_F1 \n"
|
||||
|
||||
/* https://github.com/llvm/llvm-project/issues/149547 */
|
||||
#if !(defined(__clang__) && defined(OS_WINDOWS))
|
||||
" .align 5 \n"
|
||||
#endif
|
||||
".Lnrm2_kernel_F: \n"
|
||||
" "KERNEL_F" \n"
|
||||
" subs "J", "J", #1 \n"
|
||||
|
||||
@@ -238,7 +238,10 @@ static double nrm2_compute(BLASLONG n, FLOAT *x, BLASLONG inc_x)
|
||||
" cmp "J", xzr \n"
|
||||
" beq 5f //nrm2_kernel_S_BEGIN \n"
|
||||
|
||||
/* https://github.com/llvm/llvm-project/issues/149547 */
|
||||
#if !(defined(__clang__) && defined(OS_WINDOWS))
|
||||
" .align 5 \n"
|
||||
#endif
|
||||
"2: //nrm2_kernel_F: \n"
|
||||
" "KERNEL_F" \n"
|
||||
" subs "J", "J", #1 \n"
|
||||
|
||||
@@ -243,7 +243,8 @@ static void zdot_compute(BLASLONG n, FLOAT *x, BLASLONG inc_x, FLOAT *y, BLASLON
|
||||
" asr "J", "N", #"N_DIV_SHIFT" \n"
|
||||
" cmp "J", xzr \n"
|
||||
" beq 3f //dot_kernel_F1 \n"
|
||||
#ifndef _MSC_VER
|
||||
/* https://github.com/llvm/llvm-project/issues/149547 */
|
||||
#if !(defined(__clang__) && defined(OS_WINDOWS))
|
||||
" .align 5 \n"
|
||||
#endif
|
||||
"2: //dot_kernel_F: \n"
|
||||
|
||||
@@ -136,7 +136,10 @@ static FLOAT zasum_compute(BLASLONG n, FLOAT *x, BLASLONG inc_x)
|
||||
" cmp "J", xzr \n"
|
||||
" beq 3f //asum_kernel_F1 \n"
|
||||
|
||||
/* https://github.com/llvm/llvm-project/issues/149547 */
|
||||
#if !(defined(__clang__) && defined(OS_WINDOWS))
|
||||
".align 5 \n"
|
||||
#endif
|
||||
"2: //asum_kernel_F16: \n"
|
||||
" "KERNEL_F16" \n"
|
||||
" subs "J", "J", #1 \n"
|
||||
|
||||
Reference in New Issue
Block a user