" mov "INC_X", %[INCX_] \n"
" mov "Y", %[Y_] \n"
" mov "INC_Y", %[INCY_] \n"
- " fmov "DOTF", "REG0" \n"
+ " fmov "DOTF", "REG0" \n"
" fmov d1, "REG0" \n"
" fmov d2, "REG0" \n"
" fmov d3, "REG0" \n"
" fmov d7, "REG0" \n"
" cmp "N", xzr \n"
- " ble 9f //dot_kernel_L999 \n"
+ " ble .Ldot_kernel_L999 \n"
" cmp "INC_X", #1 \n"
- " bne 5f //dot_kernel_S_BEGIN \n"
+ " bne .Ldot_kernel_S_BEGIN \n"
" cmp "INC_Y", #1 \n"
- " bne 5f //dot_kernel_S_BEGIN \n"
+ " bne .Ldot_kernel_S_BEGIN \n"
- "1: //dot_kernel_F_BEGIN \n"
+ ".Ldot_kernel_F_BEGIN: \n"
" asr "J", "N", #5 \n"
" cmp "J", xzr \n"
- " beq 3f //dot_kernel_F1 \n"
+ " beq .Ldot_kernel_F1 \n"
" .align 5 \n"
- "2: //dot_kernel_F32 \n"
+ ".Ldot_kernel_F32: \n"
" ldp q16, q17, ["X"] \n"
" ldp q24, q25, ["Y"] \n"
" ldp q18, q19, ["X", #32] \n"
" fmla v7.2d, v23.2d, v31.2d \n"
" subs "J", "J", #1 \n"
- " bne 2b //dot_kernel_F32 \n"
+ " bne .Ldot_kernel_F32 \n"
" fadd v0.2d, v0.2d, v1.2d \n"
" fadd v2.2d, v2.2d, v3.2d \n"
" fadd v0.2d, v0.2d, v4.2d \n"
" faddp "DOTF", v0.2d \n"
- "3: //dot_kernel_F1 \n"
+ ".Ldot_kernel_F1: \n"
" ands "J", "N", #31 \n"
- " ble 9f //dot_kernel_L999 \n"
+ " ble .Ldot_kernel_L999 \n"
- "4: //dot_kernel_F10 \n"
+ ".Ldot_kernel_F10: \n"
" ldr "TMPX", ["X"] \n"
" ldr "TMPY", ["Y"] \n"
" add "X", "X", #"SZ" \n"
" fmadd "DOTF", "TMPX", "TMPY", "DOTF" \n"
" subs "J", "J", #1 \n"
- " bne 4b //dot_kernel_F10 \n"
+ " bne .Ldot_kernel_F10 \n"
- " b 9f //dot_kernel_L999 \n"
+ " b .Ldot_kernel_L999 \n"
- "5: //dot_kernel_S_BEGIN \n"
+ ".Ldot_kernel_S_BEGIN: \n"
" lsl "INC_X", "INC_X", #3 \n"
" lsl "INC_Y", "INC_Y", #3 \n"
" asr "J", "N", #2 \n"
" cmp "J", xzr \n"
- " ble 7f //dot_kernel_S1 \n"
+ " ble .Ldot_kernel_S1 \n"
- "6: //dot_kernel_S4: \n"
+ ".Ldot_kernel_S4: \n"
" ld1 "LD1VX", ["X"], "INC_X" \n"
" ld1 "LD1VY", ["Y"], "INC_Y" \n"
" fmadd "DOTF", "TMPX", "TMPY", "DOTF" \n"
" ld1 "LD1VY", ["Y"], "INC_Y" \n"
" fmadd "DOTF", "TMPX", "TMPY", "DOTF" \n"
" subs "J", "J", #1 \n"
- " bne 6b //dot_kernel_S4 \n"
+ " bne .Ldot_kernel_S4 \n"
- "7: //dot_kernel_S1: \n"
+ ".Ldot_kernel_S1: \n"
" ands "J", "N", #3 \n"
- " ble 9f //dot_kernel_L999 \n"
+ " ble .Ldot_kernel_L999 \n"
- "8: //dot_kernel_S10 \n"
+ ".Ldot_kernel_S10: \n"
" ld1 "LD1VX", ["X"], "INC_X" \n"
" ld1 "LD1VY", ["Y"], "INC_Y" \n"
" fmadd "DOTF", "TMPX", "TMPY", "DOTF" \n"
" subs "J", "J", #1 \n"
- " bne 8b //dot_kernel_S10 \n"
+ " bne .Ldot_kernel_S10 \n"
- "9: //dot_kernel_L999 \n"
+ ".Ldot_kernel_L999: \n"
" fmov %[DOT_], "DOTF" \n"
+
: [DOT_] "=r" (dot) //%0
: [N_] "r" (n), //%1
[X_] "r" (x), //%2
" fmov d6, xzr \n"
" fmov d7, xzr \n"
" cmp "N", xzr \n"
- " ble 8f //nrm2_kernel_L999 \n"
+ " ble .Lnrm2_kernel_L999 \n"
" cmp "INC_X", xzr \n"
- " ble 8f //nrm2_kernel_L999 \n"
+ " ble .Lnrm2_kernel_L999 \n"
" cmp "INC_X", #1 \n"
- " bne 5f // nrm2_kernel_S_BEGIN \n"
+ " bne .Lnrm2_kernel_S_BEGIN \n"
- "1: //nrm2_kernel_F_BEGIN: \n"
+ ".Lnrm2_kernel_F_BEGIN: \n"
" asr "I", "N", #6 \n"
" cmp "I", xzr \n"
- " beq 5f // nrm2_kernel_S_BEGIN \n"
+ " beq .Lnrm2_kernel_S_BEGIN \n"
" .align 5 \n"
- "2: //nrm2_kernel_F64: \n"
+ ".Lnrm2_kernel_F64: \n"
" "KERNEL_F32" \n"
" "KERNEL_F32" \n"
" subs "I", "I", #1 \n"
- " bne 2b //nrm2_kernel_F64 \n"
+ " bne .Lnrm2_kernel_F64 \n"
" "KERNEL_F32_FINALIZE" \n"
- "3: // nrm2_kernel_F1: \n"
+ ".Lnrm2_kernel_F1: \n"
" ands "I", "N", #63 \n"
- " ble 8f //nrm2_kernel_L999 \n"
+ " ble .Lnrm2_kernel_L999 \n"
- "4: // nrm2_kernel_F10: \n"
+ ".Lnrm2_kernel_F10: \n"
" "KERNEL_F1" \n"
- " subs "I", "I", #1 \n"
- " bne 4b //nrm2_kernel_F10 \n"
- " b 8f //nrm2_kernel_L999 \n"
+ " subs "I", "I", #1 \n"
+ " bne .Lnrm2_kernel_F10 \n"
+ " b .Lnrm2_kernel_L999 \n"
- "5: // nrm2_kernel_S_BEGIN: \n"
+ ".Lnrm2_kernel_S_BEGIN: \n"
" lsl "INC_X", "INC_X", #2 \n"
" asr "I", "N", #2 \n"
" cmp "I", xzr \n"
- " ble 6f //nrm2_kernel_S1 \n"
+ " ble .Lnrm2_kernel_S1 \n"
- "4: //nrm2_kernel_S4: \n"
+ ".Lnrm2_kernel_S4: \n"
" "KERNEL_S1" \n"
" "KERNEL_S1" \n"
" "KERNEL_S1" \n"
" "KERNEL_S1" \n"
" subs "I", "I", #1 \n"
- " bne 4b //nrm2_kernel_S4 \n"
+ " bne .Lnrm2_kernel_S4 \n"
- "6: //nrm2_kernel_S1: \n"
+ ".Lnrm2_kernel_S1: \n"
" ands "I", "N", #3 \n"
- " ble 8f //nrm2_kernel_L999 \n"
+ " ble .Lnrm2_kernel_L999 \n"
- "7: //nrm2_kernel_S10: \n"
+ ".Lnrm2_kernel_S10: \n"
" "KERNEL_S1" \n"
- " subs "I", "I", #1 \n"
- " bne 7b //nrm2_kernel_S10 \n"
+ " subs "I", "I", #1 \n"
+ " bne .Lnrm2_kernel_S10 \n"
- "8: //nrm2_kernel_L999: \n"
+ ".Lnrm2_kernel_L999: \n"
" fmov %[RET_], "SSQD" \n"
: [RET_] "=r" (ret) //%0