Skip to content

Commit 60e6672

Browse files
committed
Use numeric labels to allow repeated inlining
1 parent 7a4fef4 commit 60e6672

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

kernel/arm64/dot_kernel_sve.c

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -67,31 +67,31 @@ THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
6767
SETUP_TRUE \
6868
" neg x10, x9, lsl #1 \n" \
6969
" ands x11, x10, x0 \n" \
70-
" b.eq .Lskip_2x \n" \
70+
" b.eq 2f // skip_2x \n" \
7171
OFFSET_INPUTS \
72-
".Lvector_2x: \n" \
72+
"1: // vector_2x \n" \
7373
UPDATE("p0", "%[X_]", "%[Y_]", "z1") \
7474
UPDATE("p0", "x12", "x13", "z0") \
7575
" sub x8, x8, x10 \n" \
7676
" cmp x8, x11 \n" \
77-
" b.lo .Lvector_2x \n" \
77+
" b.lo 1b // vector_2x \n" \
7878
SUM_VECTOR("1") \
79-
".Lskip_2x: \n" \
79+
"2: // skip_2x \n" \
8080
" neg x10, x9 \n" \
8181
" and x10, x10, x0 \n" \
8282
" cmp x8, x10 \n" \
83-
" b.hs .Ltail \n" \
84-
".Lvector_1x: \n" \
83+
" b.hs 4f // tail \n" \
84+
"3: // vector_1x \n" \
8585
UPDATE("p0", "%[X_]", "%[Y_]", "z0") \
8686
" add x8, x8, x9 \n" \
8787
" cmp x8, x10 \n" \
88-
" b.lo .Lvector_1x \n" \
89-
".Ltail: \n" \
88+
" b.lo 3b // vector_1x \n" \
89+
"4: // tail \n" \
9090
" cmp x10, x0 \n" \
91-
" b.eq .Lend \n" \
91+
" b.eq 5f // end \n" \
9292
TAIL_WHILE \
9393
UPDATE("p1", "%[X_]", "%[Y_]", "z0") \
94-
".Lend: \n" \
94+
"5: // end \n" \
9595
SUM_VECTOR("0") \
9696
RET
9797

0 commit comments

Comments
 (0)