From 74921eee924625426429044decefe3673561b174 Mon Sep 17 00:00:00 2001 From: Michael Tyler Date: Wed, 12 Apr 2023 17:43:17 +0100 Subject: Update CPU kernel implementations and guard directives Resolves COMPMID-6023 Change-Id: I868975d14c4f98af6716726feda22405a6a4c891 Signed-off-by: Michael Tyler Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/9686 Tested-by: Arm Jenkins Reviewed-by: Viet-Hoa Do Comments-Addressed: Arm Jenkins Benchmark: Arm Jenkins --- .../kernels/sve_hybrid_s8s32_dot_6x4VL/generic.cpp | 2071 ++++++++++---------- 1 file changed, 1035 insertions(+), 1036 deletions(-) (limited to 'src/core/NEON/kernels/arm_gemm/kernels/sve_hybrid_s8s32_dot_6x4VL/generic.cpp') diff --git a/src/core/NEON/kernels/arm_gemm/kernels/sve_hybrid_s8s32_dot_6x4VL/generic.cpp b/src/core/NEON/kernels/arm_gemm/kernels/sve_hybrid_s8s32_dot_6x4VL/generic.cpp index b3d2e6b271..eeef192b66 100644 --- a/src/core/NEON/kernels/arm_gemm/kernels/sve_hybrid_s8s32_dot_6x4VL/generic.cpp +++ b/src/core/NEON/kernels/arm_gemm/kernels/sve_hybrid_s8s32_dot_6x4VL/generic.cpp @@ -115,11 +115,11 @@ void sve_hybrid_s8s32_dot_6x4VL ( "5:" // Height 1: String loop "ldr x20, [%x[args_ptr], %[offsetof_string_lengths]]\n" "ldr w27, [x20, x28, LSL #0x2]\n" - "ldr x20, [%x[args_ptr], %[offsetof_input_offset]]\n" + "ldr x21, [%x[args_ptr], %[offsetof_input_offset]]\n" "tbz %x[flags], #3, 6f\n" - "ldr x21, [%x[input_ptr], x28, LSL #0x3]\n" - "add x21, x21, x20, LSL #3\n" - "ldr x26, [x21, #0x0]\n" + "ldr x20, [%x[input_ptr], x28, LSL #0x3]\n" + "add x20, x20, x21, LSL #3\n" + "ldr x26, [x20, #0x0]\n" "cbnz x28, 7f\n" "ldr x20, [%x[args_ptr], %[offsetof_input_initial_col]]\n" "add x26, x26, x20\n" @@ -132,87 +132,87 @@ void sve_hybrid_s8s32_dot_6x4VL ( "8:" // Height 1: Multiply loop: Main loop head "whilelt p0.b, XZR, x27\n" "ld1rqb { z0.b }, p0/Z, [x26]\n" - "ld1b { z6.b }, p5/Z, [x10]\n" - "sdot z8.s, z6.b, z0.b[0]\n" - "ld1b { z7.b }, p5/Z, [x10, #1, MUL VL]\n" - "sdot z9.s, z7.b, z0.b[0]\n" - "ld1b { z6.b }, p5/Z, [x10, #2, MUL VL]\n" - "sdot z10.s, z6.b, z0.b[0]\n" - "ld1b { z7.b }, p5/Z, [x10, #3, MUL VL]\n" - "sdot z11.s, z7.b, z0.b[0]\n" - "ld1b { z6.b }, p5/Z, [x10, #4, MUL VL]\n" - "sdot z8.s, z6.b, z0.b[1]\n" - "ld1b { z7.b }, p5/Z, [x10, #5, MUL VL]\n" - "sdot z9.s, z7.b, z0.b[1]\n" - "ld1b { z6.b }, p5/Z, [x10, #6, MUL VL]\n" - "sdot z10.s, z6.b, z0.b[1]\n" - "ld1b { z7.b }, p5/Z, [x10, #7, MUL VL]\n" + "ld1b { z16.b }, p5/Z, [x10]\n" + "sdot z8.s, z16.b, z0.b[0]\n" + "ld1b { z16.b }, p5/Z, [x10, #1, MUL VL]\n" + "sdot z9.s, z16.b, z0.b[0]\n" + "ld1b { z16.b }, p5/Z, [x10, #2, MUL VL]\n" + "sdot z10.s, z16.b, z0.b[0]\n" + "ld1b { z16.b }, p5/Z, [x10, #3, MUL VL]\n" + "sdot z11.s, z16.b, z0.b[0]\n" + "ld1b { z16.b }, p5/Z, [x10, #4, MUL VL]\n" + "sdot z8.s, z16.b, z0.b[1]\n" + "ld1b { z16.b }, p5/Z, [x10, #5, MUL VL]\n" + "sdot z9.s, z16.b, z0.b[1]\n" + "ld1b { z16.b }, p5/Z, [x10, #6, MUL VL]\n" + "sdot z10.s, z16.b, z0.b[1]\n" + "ld1b { z16.b }, p5/Z, [x10, #7, MUL VL]\n" "addvl x10, x10, #16\n" - "sdot z11.s, z7.b, z0.b[1]\n" - "ld1b { z6.b }, p5/Z, [x10, #-8, MUL VL]\n" - "ld1b { z7.b }, p5/Z, [x10, #-7, MUL VL]\n" - "sdot z8.s, z6.b, z0.b[2]\n" - "sdot z9.s, z7.b, z0.b[2]\n" - "ld1b { z6.b }, p5/Z, [x10, #-6, MUL VL]\n" - "ld1b { z7.b }, p5/Z, [x10, #-5, MUL VL]\n" - "sdot z10.s, z6.b, z0.b[2]\n" - "sdot z11.s, z7.b, z0.b[2]\n" - "ld1b { z6.b }, p5/Z, [x10, #-4, MUL VL]\n" - "ld1b { z7.b }, p5/Z, [x10, #-3, MUL VL]\n" - "sdot z8.s, z6.b, z0.b[3]\n" - "sdot z9.s, z7.b, z0.b[3]\n" - "ld1b { z6.b }, p5/Z, [x10, #-2, MUL VL]\n" - "ld1b { z7.b }, p5/Z, [x10, #-1, MUL VL]\n" + "sdot z11.s, z16.b, z0.b[1]\n" + "ld1b { z17.b }, p5/Z, [x10, #-8, MUL VL]\n" + "ld1b { z16.b }, p5/Z, [x10, #-7, MUL VL]\n" + "sdot z8.s, z17.b, z0.b[2]\n" + "sdot z9.s, z16.b, z0.b[2]\n" + "ld1b { z17.b }, p5/Z, [x10, #-6, MUL VL]\n" + "ld1b { z16.b }, p5/Z, [x10, #-5, MUL VL]\n" + "sdot z10.s, z17.b, z0.b[2]\n" + "sdot z11.s, z16.b, z0.b[2]\n" + "ld1b { z17.b }, p5/Z, [x10, #-4, MUL VL]\n" + "ld1b { z16.b }, p5/Z, [x10, #-3, MUL VL]\n" + "sdot z8.s, z17.b, z0.b[3]\n" + "sdot z9.s, z16.b, z0.b[3]\n" + "ld1b { z17.b }, p5/Z, [x10, #-2, MUL VL]\n" + "ld1b { z16.b }, p5/Z, [x10, #-1, MUL VL]\n" "sub x27, x27, #0x10\n" "cmp x27, #0x10\n" - "sdot z10.s, z6.b, z0.b[3]\n" - "sdot z11.s, z7.b, z0.b[3]\n" + "sdot z10.s, z17.b, z0.b[3]\n" + "sdot z11.s, z16.b, z0.b[3]\n" "add x26, x26, #0x10\n" "bgt 8b\n" "9:" // Height 1: Multiply loop: Single iteration only "whilelt p0.b, XZR, x27\n" "ld1rqb { z0.b }, p0/Z, [x26]\n" - "ld1b { z6.b }, p5/Z, [x10]\n" - "sdot z8.s, z6.b, z0.b[0]\n" - "ld1b { z7.b }, p5/Z, [x10, #1, MUL VL]\n" - "sdot z9.s, z7.b, z0.b[0]\n" - "ld1b { z6.b }, p5/Z, [x10, #2, MUL VL]\n" + "ld1b { z16.b }, p5/Z, [x10]\n" + "sdot z8.s, z16.b, z0.b[0]\n" + "ld1b { z16.b }, p5/Z, [x10, #1, MUL VL]\n" + "sdot z9.s, z16.b, z0.b[0]\n" + "ld1b { z17.b }, p5/Z, [x10, #2, MUL VL]\n" "subs x27, x27, #0x4\n" - "ld1b { z7.b }, p5/Z, [x10, #3, MUL VL]\n" - "sdot z10.s, z6.b, z0.b[0]\n" - "sdot z11.s, z7.b, z0.b[0]\n" + "ld1b { z16.b }, p5/Z, [x10, #3, MUL VL]\n" + "sdot z10.s, z17.b, z0.b[0]\n" + "sdot z11.s, z16.b, z0.b[0]\n" "addvl x10, x10, #4\n" "ble 10f\n" - "ld1b { z6.b }, p5/Z, [x10]\n" - "ld1b { z7.b }, p5/Z, [x10, #1, MUL VL]\n" - "sdot z8.s, z6.b, z0.b[1]\n" - "sdot z9.s, z7.b, z0.b[1]\n" - "ld1b { z6.b }, p5/Z, [x10, #2, MUL VL]\n" - "ld1b { z7.b }, p5/Z, [x10, #3, MUL VL]\n" + "ld1b { z17.b }, p5/Z, [x10]\n" + "ld1b { z16.b }, p5/Z, [x10, #1, MUL VL]\n" + "sdot z8.s, z17.b, z0.b[1]\n" + "sdot z9.s, z16.b, z0.b[1]\n" + "ld1b { z17.b }, p5/Z, [x10, #2, MUL VL]\n" + "ld1b { z16.b }, p5/Z, [x10, #3, MUL VL]\n" "subs x27, x27, #0x4\n" - "sdot z10.s, z6.b, z0.b[1]\n" - "sdot z11.s, z7.b, z0.b[1]\n" + "sdot z10.s, z17.b, z0.b[1]\n" + "sdot z11.s, z16.b, z0.b[1]\n" "addvl x10, x10, #4\n" "ble 10f\n" - "ld1b { z6.b }, p5/Z, [x10]\n" - "ld1b { z7.b }, p5/Z, [x10, #1, MUL VL]\n" - "sdot z8.s, z6.b, z0.b[2]\n" - "sdot z9.s, z7.b, z0.b[2]\n" - "ld1b { z6.b }, p5/Z, [x10, #2, MUL VL]\n" - "ld1b { z7.b }, p5/Z, [x10, #3, MUL VL]\n" + "ld1b { z17.b }, p5/Z, [x10]\n" + "ld1b { z16.b }, p5/Z, [x10, #1, MUL VL]\n" + "sdot z8.s, z17.b, z0.b[2]\n" + "sdot z9.s, z16.b, z0.b[2]\n" + "ld1b { z17.b }, p5/Z, [x10, #2, MUL VL]\n" + "ld1b { z16.b }, p5/Z, [x10, #3, MUL VL]\n" "subs x27, x27, #0x4\n" - "sdot z10.s, z6.b, z0.b[2]\n" - "sdot z11.s, z7.b, z0.b[2]\n" + "sdot z10.s, z17.b, z0.b[2]\n" + "sdot z11.s, z16.b, z0.b[2]\n" "addvl x10, x10, #4\n" "ble 10f\n" - "ld1b { z6.b }, p5/Z, [x10]\n" - "ld1b { z7.b }, p5/Z, [x10, #1, MUL VL]\n" - "sdot z8.s, z6.b, z0.b[3]\n" - "sdot z9.s, z7.b, z0.b[3]\n" - "ld1b { z6.b }, p5/Z, [x10, #2, MUL VL]\n" - "ld1b { z7.b }, p5/Z, [x10, #3, MUL VL]\n" - "sdot z10.s, z6.b, z0.b[3]\n" - "sdot z11.s, z7.b, z0.b[3]\n" + "ld1b { z17.b }, p5/Z, [x10]\n" + "ld1b { z16.b }, p5/Z, [x10, #1, MUL VL]\n" + "sdot z8.s, z17.b, z0.b[3]\n" + "sdot z9.s, z16.b, z0.b[3]\n" + "ld1b { z17.b }, p5/Z, [x10, #2, MUL VL]\n" + "ld1b { z16.b }, p5/Z, [x10, #3, MUL VL]\n" + "sdot z10.s, z17.b, z0.b[3]\n" + "sdot z11.s, z16.b, z0.b[3]\n" "addvl x10, x10, #4\n" "10:" // Height 1: Multiply loop: multiply skip "ldr w20, [%x[args_ptr], %[offsetof_num_strings]]\n" @@ -244,15 +244,15 @@ void sve_hybrid_s8s32_dot_6x4VL ( "whilelt p1.s, x20, x11\n" "tbz %x[flags], #0, 14f\n" "ldr x20, [%x[args_ptr], %[offsetof_output_offset]]\n" - "add x24, x9, x20, LSL #2\n" + "add x20, x9, x20, LSL #2\n" "ld1w { z8.s }, p4/Z, [x9]\n" "ld1w { z9.s }, p3/Z, [x9, #1, MUL VL]\n" "ld1w { z10.s }, p2/Z, [x9, #2, MUL VL]\n" "ld1w { z11.s }, p1/Z, [x9, #3, MUL VL]\n" - "ld1w { z12.s }, p4/Z, [x24]\n" - "ld1w { z13.s }, p3/Z, [x24, #1, MUL VL]\n" - "ld1w { z14.s }, p2/Z, [x24, #2, MUL VL]\n" - "ld1w { z15.s }, p1/Z, [x24, #3, MUL VL]\n" + "ld1w { z12.s }, p4/Z, [x20]\n" + "ld1w { z13.s }, p3/Z, [x20, #1, MUL VL]\n" + "ld1w { z14.s }, p2/Z, [x20, #2, MUL VL]\n" + "ld1w { z15.s }, p1/Z, [x20, #3, MUL VL]\n" "b 15f\n" "14:" // Height 2: no accumulate "mov z8.s, #0x0\n" @@ -268,12 +268,12 @@ void sve_hybrid_s8s32_dot_6x4VL ( "16:" // Height 2: String loop "ldr x20, [%x[args_ptr], %[offsetof_string_lengths]]\n" "ldr w27, [x20, x28, LSL #0x2]\n" - "ldr x20, [%x[args_ptr], %[offsetof_input_offset]]\n" + "ldr x21, [%x[args_ptr], %[offsetof_input_offset]]\n" "tbz %x[flags], #3, 17f\n" - "ldr x21, [%x[input_ptr], x28, LSL #0x3]\n" - "add x21, x21, x20, LSL #3\n" - "ldr x26, [x21, #0x0]\n" - "ldr x25, [x21, #0x8]\n" + "ldr x20, [%x[input_ptr], x28, LSL #0x3]\n" + "add x20, x20, x21, LSL #3\n" + "ldr x26, [x20, #0x0]\n" + "ldr x25, [x20, #0x8]\n" "cbnz x28, 18f\n" "ldr x20, [%x[args_ptr], %[offsetof_input_initial_col]]\n" "add x26, x26, x20\n" @@ -281,146 +281,146 @@ void sve_hybrid_s8s32_dot_6x4VL ( "b 18f\n" "17:" // Height 2: setup direct input "mov x26, %x[input_ptr]\n" - "add x25, x26, x20\n" + "add x25, x26, x21\n" "18:" // Height 2: input setup done "cmp x27, #0x10\n" "ble 20f\n" "19:" // Height 2: Multiply loop: Main loop head "whilelt p0.b, XZR, x27\n" - "ld1rqb { z0.b }, p0/Z, [x26]\n" - "ld1rqb { z1.b }, p0/Z, [x25]\n" + "ld1rqb { z1.b }, p0/Z, [x26]\n" + "ld1rqb { z0.b }, p0/Z, [x25]\n" "sub x27, x27, #0x10\n" - "ld1b { z6.b }, p5/Z, [x10]\n" - "ld1b { z7.b }, p5/Z, [x10, #1, MUL VL]\n" - "sdot z8.s, z6.b, z0.b[0]\n" - "sdot z12.s, z6.b, z1.b[0]\n" - "sdot z9.s, z7.b, z0.b[0]\n" - "sdot z13.s, z7.b, z1.b[0]\n" - "ld1b { z6.b }, p5/Z, [x10, #2, MUL VL]\n" - "ld1b { z7.b }, p5/Z, [x10, #3, MUL VL]\n" - "sdot z10.s, z6.b, z0.b[0]\n" - "sdot z14.s, z6.b, z1.b[0]\n" - "ld1b { z6.b }, p5/Z, [x10, #4, MUL VL]\n" + "ld1b { z17.b }, p5/Z, [x10]\n" + "ld1b { z16.b }, p5/Z, [x10, #1, MUL VL]\n" + "sdot z8.s, z17.b, z1.b[0]\n" + "sdot z12.s, z17.b, z0.b[0]\n" + "sdot z9.s, z16.b, z1.b[0]\n" + "sdot z13.s, z16.b, z0.b[0]\n" + "ld1b { z17.b }, p5/Z, [x10, #2, MUL VL]\n" + "ld1b { z16.b }, p5/Z, [x10, #3, MUL VL]\n" + "sdot z10.s, z17.b, z1.b[0]\n" + "sdot z14.s, z17.b, z0.b[0]\n" + "ld1b { z17.b }, p5/Z, [x10, #4, MUL VL]\n" "cmp x27, #0x10\n" - "sdot z11.s, z7.b, z0.b[0]\n" - "sdot z15.s, z7.b, z1.b[0]\n" - "ld1b { z7.b }, p5/Z, [x10, #5, MUL VL]\n" + "sdot z11.s, z16.b, z1.b[0]\n" + "sdot z15.s, z16.b, z0.b[0]\n" + "ld1b { z16.b }, p5/Z, [x10, #5, MUL VL]\n" "add x26, x26, #0x10\n" - "sdot z8.s, z6.b, z0.b[1]\n" - "sdot z12.s, z6.b, z1.b[1]\n" - "ld1b { z6.b }, p5/Z, [x10, #6, MUL VL]\n" + "sdot z8.s, z17.b, z1.b[1]\n" + "sdot z12.s, z17.b, z0.b[1]\n" + "ld1b { z17.b }, p5/Z, [x10, #6, MUL VL]\n" "add x25, x25, #0x10\n" - "sdot z9.s, z7.b, z0.b[1]\n" - "sdot z13.s, z7.b, z1.b[1]\n" - "ld1b { z7.b }, p5/Z, [x10, #7, MUL VL]\n" + "sdot z9.s, z16.b, z1.b[1]\n" + "sdot z13.s, z16.b, z0.b[1]\n" + "ld1b { z16.b }, p5/Z, [x10, #7, MUL VL]\n" "addvl x10, x10, #16\n" - "sdot z10.s, z6.b, z0.b[1]\n" - "sdot z14.s, z6.b, z1.b[1]\n" - "ld1b { z6.b }, p5/Z, [x10, #-8, MUL VL]\n" - "sdot z11.s, z7.b, z0.b[1]\n" - "sdot z15.s, z7.b, z1.b[1]\n" - "ld1b { z7.b }, p5/Z, [x10, #-7, MUL VL]\n" - "sdot z8.s, z6.b, z0.b[2]\n" - "sdot z12.s, z6.b, z1.b[2]\n" - "ld1b { z6.b }, p5/Z, [x10, #-6, MUL VL]\n" - "sdot z9.s, z7.b, z0.b[2]\n" - "sdot z13.s, z7.b, z1.b[2]\n" - "ld1b { z7.b }, p5/Z, [x10, #-5, MUL VL]\n" - "sdot z10.s, z6.b, z0.b[2]\n" - "sdot z14.s, z6.b, z1.b[2]\n" - "ld1b { z6.b }, p5/Z, [x10, #-4, MUL VL]\n" - "sdot z11.s, z7.b, z0.b[2]\n" - "sdot z15.s, z7.b, z1.b[2]\n" - "ld1b { z7.b }, p5/Z, [x10, #-3, MUL VL]\n" - "sdot z8.s, z6.b, z0.b[3]\n" - "sdot z12.s, z6.b, z1.b[3]\n" - "ld1b { z6.b }, p5/Z, [x10, #-2, MUL VL]\n" - "sdot z9.s, z7.b, z0.b[3]\n" - "sdot z13.s, z7.b, z1.b[3]\n" - "ld1b { z7.b }, p5/Z, [x10, #-1, MUL VL]\n" - "sdot z10.s, z6.b, z0.b[3]\n" - "sdot z14.s, z6.b, z1.b[3]\n" - "sdot z11.s, z7.b, z0.b[3]\n" - "sdot z15.s, z7.b, z1.b[3]\n" + "sdot z10.s, z17.b, z1.b[1]\n" + "sdot z14.s, z17.b, z0.b[1]\n" + "ld1b { z17.b }, p5/Z, [x10, #-8, MUL VL]\n" + "sdot z11.s, z16.b, z1.b[1]\n" + "sdot z15.s, z16.b, z0.b[1]\n" + "ld1b { z16.b }, p5/Z, [x10, #-7, MUL VL]\n" + "sdot z8.s, z17.b, z1.b[2]\n" + "sdot z12.s, z17.b, z0.b[2]\n" + "ld1b { z17.b }, p5/Z, [x10, #-6, MUL VL]\n" + "sdot z9.s, z16.b, z1.b[2]\n" + "sdot z13.s, z16.b, z0.b[2]\n" + "ld1b { z16.b }, p5/Z, [x10, #-5, MUL VL]\n" + "sdot z10.s, z17.b, z1.b[2]\n" + "sdot z14.s, z17.b, z0.b[2]\n" + "ld1b { z17.b }, p5/Z, [x10, #-4, MUL VL]\n" + "sdot z11.s, z16.b, z1.b[2]\n" + "sdot z15.s, z16.b, z0.b[2]\n" + "ld1b { z16.b }, p5/Z, [x10, #-3, MUL VL]\n" + "sdot z8.s, z17.b, z1.b[3]\n" + "sdot z12.s, z17.b, z0.b[3]\n" + "ld1b { z17.b }, p5/Z, [x10, #-2, MUL VL]\n" + "sdot z9.s, z16.b, z1.b[3]\n" + "sdot z13.s, z16.b, z0.b[3]\n" + "ld1b { z16.b }, p5/Z, [x10, #-1, MUL VL]\n" + "sdot z10.s, z17.b, z1.b[3]\n" + "sdot z14.s, z17.b, z0.b[3]\n" + "sdot z11.s, z16.b, z1.b[3]\n" + "sdot z15.s, z16.b, z0.b[3]\n" "bgt 19b\n" "20:" // Height 2: Multiply loop: Single iteration only "whilelt p0.b, XZR, x27\n" "ld1rqb { z0.b }, p0/Z, [x26]\n" "ld1rqb { z1.b }, p0/Z, [x25]\n" "subs x27, x27, #0x4\n" - "ld1b { z6.b }, p5/Z, [x10]\n" - "ld1b { z7.b }, p5/Z, [x10, #1, MUL VL]\n" - "sdot z8.s, z6.b, z0.b[0]\n" - "sdot z12.s, z6.b, z1.b[0]\n" - "sdot z9.s, z7.b, z0.b[0]\n" - "sdot z13.s, z7.b, z1.b[0]\n" - "ld1b { z6.b }, p5/Z, [x10, #2, MUL VL]\n" - "ld1b { z7.b }, p5/Z, [x10, #3, MUL VL]\n" - "sdot z10.s, z6.b, z0.b[0]\n" - "sdot z14.s, z6.b, z1.b[0]\n" + "ld1b { z17.b }, p5/Z, [x10]\n" + "ld1b { z16.b }, p5/Z, [x10, #1, MUL VL]\n" + "sdot z8.s, z17.b, z0.b[0]\n" + "sdot z12.s, z17.b, z1.b[0]\n" + "sdot z9.s, z16.b, z0.b[0]\n" + "sdot z13.s, z16.b, z1.b[0]\n" + "ld1b { z17.b }, p5/Z, [x10, #2, MUL VL]\n" + "ld1b { z16.b }, p5/Z, [x10, #3, MUL VL]\n" + "sdot z10.s, z17.b, z0.b[0]\n" + "sdot z14.s, z17.b, z1.b[0]\n" "addvl x10, x10, #4\n" - "sdot z11.s, z7.b, z0.b[0]\n" - "sdot z15.s, z7.b, z1.b[0]\n" + "sdot z11.s, z16.b, z0.b[0]\n" + "sdot z15.s, z16.b, z1.b[0]\n" "ble 21f\n" - "ld1b { z6.b }, p5/Z, [x10]\n" - "ld1b { z7.b }, p5/Z, [x10, #1, MUL VL]\n" - "sdot z8.s, z6.b, z0.b[1]\n" - "sdot z12.s, z6.b, z1.b[1]\n" - "sdot z9.s, z7.b, z0.b[1]\n" - "sdot z13.s, z7.b, z1.b[1]\n" - "ld1b { z6.b }, p5/Z, [x10, #2, MUL VL]\n" - "ld1b { z7.b }, p5/Z, [x10, #3, MUL VL]\n" + "ld1b { z17.b }, p5/Z, [x10]\n" + "ld1b { z16.b }, p5/Z, [x10, #1, MUL VL]\n" + "sdot z8.s, z17.b, z0.b[1]\n" + "sdot z12.s, z17.b, z1.b[1]\n" + "sdot z9.s, z16.b, z0.b[1]\n" + "sdot z13.s, z16.b, z1.b[1]\n" + "ld1b { z17.b }, p5/Z, [x10, #2, MUL VL]\n" + "ld1b { z16.b }, p5/Z, [x10, #3, MUL VL]\n" "subs x27, x27, #0x4\n" - "sdot z10.s, z6.b, z0.b[1]\n" - "sdot z14.s, z6.b, z1.b[1]\n" + "sdot z10.s, z17.b, z0.b[1]\n" + "sdot z14.s, z17.b, z1.b[1]\n" "addvl x10, x10, #4\n" - "sdot z11.s, z7.b, z0.b[1]\n" - "sdot z15.s, z7.b, z1.b[1]\n" + "sdot z11.s, z16.b, z0.b[1]\n" + "sdot z15.s, z16.b, z1.b[1]\n" "ble 21f\n" - "ld1b { z6.b }, p5/Z, [x10]\n" - "ld1b { z7.b }, p5/Z, [x10, #1, MUL VL]\n" - "sdot z8.s, z6.b, z0.b[2]\n" - "sdot z12.s, z6.b, z1.b[2]\n" - "sdot z9.s, z7.b, z0.b[2]\n" - "sdot z13.s, z7.b, z1.b[2]\n" - "ld1b { z6.b }, p5/Z, [x10, #2, MUL VL]\n" - "ld1b { z7.b }, p5/Z, [x10, #3, MUL VL]\n" + "ld1b { z17.b }, p5/Z, [x10]\n" + "ld1b { z16.b }, p5/Z, [x10, #1, MUL VL]\n" + "sdot z8.s, z17.b, z0.b[2]\n" + "sdot z12.s, z17.b, z1.b[2]\n" + "sdot z9.s, z16.b, z0.b[2]\n" + "sdot z13.s, z16.b, z1.b[2]\n" + "ld1b { z17.b }, p5/Z, [x10, #2, MUL VL]\n" + "ld1b { z16.b }, p5/Z, [x10, #3, MUL VL]\n" "subs x27, x27, #0x4\n" - "sdot z10.s, z6.b, z0.b[2]\n" - "sdot z14.s, z6.b, z1.b[2]\n" + "sdot z10.s, z17.b, z0.b[2]\n" + "sdot z14.s, z17.b, z1.b[2]\n" "addvl x10, x10, #4\n" - "sdot z11.s, z7.b, z0.b[2]\n" - "sdot z15.s, z7.b, z1.b[2]\n" + "sdot z11.s, z16.b, z0.b[2]\n" + "sdot z15.s, z16.b, z1.b[2]\n" "ble 21f\n" - "ld1b { z6.b }, p5/Z, [x10]\n" - "ld1b { z7.b }, p5/Z, [x10, #1, MUL VL]\n" - "sdot z8.s, z6.b, z0.b[3]\n" - "sdot z12.s, z6.b, z1.b[3]\n" - "sdot z9.s, z7.b, z0.b[3]\n" - "sdot z13.s, z7.b, z1.b[3]\n" - "ld1b { z6.b }, p5/Z, [x10, #2, MUL VL]\n" - "ld1b { z7.b }, p5/Z, [x10, #3, MUL VL]\n" - "sdot z10.s, z6.b, z0.b[3]\n" - "sdot z14.s, z6.b, z1.b[3]\n" + "ld1b { z17.b }, p5/Z, [x10]\n" + "ld1b { z16.b }, p5/Z, [x10, #1, MUL VL]\n" + "sdot z8.s, z17.b, z0.b[3]\n" + "sdot z12.s, z17.b, z1.b[3]\n" + "sdot z9.s, z16.b, z0.b[3]\n" + "sdot z13.s, z16.b, z1.b[3]\n" + "ld1b { z17.b }, p5/Z, [x10, #2, MUL VL]\n" + "ld1b { z16.b }, p5/Z, [x10, #3, MUL VL]\n" + "sdot z10.s, z17.b, z0.b[3]\n" + "sdot z14.s, z17.b, z1.b[3]\n" "addvl x10, x10, #4\n" - "sdot z11.s, z7.b, z0.b[3]\n" - "sdot z15.s, z7.b, z1.b[3]\n" + "sdot z11.s, z16.b, z0.b[3]\n" + "sdot z15.s, z16.b, z1.b[3]\n" "21:" // Height 2: Multiply loop: multiply skip "ldr w20, [%x[args_ptr], %[offsetof_num_strings]]\n" "add x28, x28, #0x1\n" "cmp x28, x20\n" "bne 16b\n" "ldr x20, [%x[args_ptr], %[offsetof_output_offset]]\n" - "add x24, x9, x20, LSL #2\n" + "add x20, x9, x20, LSL #2\n" "st1w { z8.s }, p4, [x9]\n" "st1w { z9.s }, p3, [x9, #1, MUL VL]\n" "st1w { z10.s }, p2, [x9, #2, MUL VL]\n" "st1w { z11.s }, p1, [x9, #3, MUL VL]\n" "addvl x9, x9, #4\n" - "st1w { z12.s }, p4, [x24]\n" - "st1w { z13.s }, p3, [x24, #1, MUL VL]\n" - "st1w { z14.s }, p2, [x24, #2, MUL VL]\n" - "st1w { z15.s }, p1, [x24, #3, MUL VL]\n" + "st1w { z12.s }, p4, [x20]\n" + "st1w { z13.s }, p3, [x20, #1, MUL VL]\n" + "st1w { z14.s }, p2, [x20, #2, MUL VL]\n" + "st1w { z15.s }, p1, [x20, #3, MUL VL]\n" "22:" // Height 2: Writeback done "decw x11, ALL, MUL #4\n" "cmp x11, XZR\n" @@ -441,20 +441,20 @@ void sve_hybrid_s8s32_dot_6x4VL ( "whilelt p1.s, x20, x11\n" "tbz %x[flags], #0, 25f\n" "ldr x20, [%x[args_ptr], %[offsetof_output_offset]]\n" - "add x24, x9, x20, LSL #2\n" - "add x23, x24, x20, LSL #2\n" + "add x21, x9, x20, LSL #2\n" + "add x20, x21, x20, LSL #2\n" "ld1w { z8.s }, p4/Z, [x9]\n" "ld1w { z9.s }, p3/Z, [x9, #1, MUL VL]\n" "ld1w { z10.s }, p2/Z, [x9, #2, MUL VL]\n" "ld1w { z11.s }, p1/Z, [x9, #3, MUL VL]\n" - "ld1w { z12.s }, p4/Z, [x24]\n" - "ld1w { z13.s }, p3/Z, [x24, #1, MUL VL]\n" - "ld1w { z14.s }, p2/Z, [x24, #2, MUL VL]\n" - "ld1w { z15.s }, p1/Z, [x24, #3, MUL VL]\n" - "ld1w { z16.s }, p4/Z, [x23]\n" - "ld1w { z17.s }, p3/Z, [x23, #1, MUL VL]\n" - "ld1w { z18.s }, p2/Z, [x23, #2, MUL VL]\n" - "ld1w { z19.s }, p1/Z, [x23, #3, MUL VL]\n" + "ld1w { z12.s }, p4/Z, [x21]\n" + "ld1w { z13.s }, p3/Z, [x21, #1, MUL VL]\n" + "ld1w { z14.s }, p2/Z, [x21, #2, MUL VL]\n" + "ld1w { z15.s }, p1/Z, [x21, #3, MUL VL]\n" + "ld1w { z16.s }, p4/Z, [x20]\n" + "ld1w { z17.s }, p3/Z, [x20, #1, MUL VL]\n" + "ld1w { z18.s }, p2/Z, [x20, #2, MUL VL]\n" + "ld1w { z19.s }, p1/Z, [x20, #3, MUL VL]\n" "b 26f\n" "25:" // Height 3: no accumulate "mov z8.s, #0x0\n" @@ -474,13 +474,13 @@ void sve_hybrid_s8s32_dot_6x4VL ( "27:" // Height 3: String loop "ldr x20, [%x[args_ptr], %[offsetof_string_lengths]]\n" "ldr w27, [x20, x28, LSL #0x2]\n" - "ldr x20, [%x[args_ptr], %[offsetof_input_offset]]\n" + "ldr x21, [%x[args_ptr], %[offsetof_input_offset]]\n" "tbz %x[flags], #3, 28f\n" - "ldr x21, [%x[input_ptr], x28, LSL #0x3]\n" - "add x21, x21, x20, LSL #3\n" - "ldr x26, [x21, #0x0]\n" - "ldr x25, [x21, #0x8]\n" - "ldr x24, [x21, #0x10]\n" + "ldr x20, [%x[input_ptr], x28, LSL #0x3]\n" + "add x20, x20, x21, LSL #3\n" + "ldr x26, [x20, #0x0]\n" + "ldr x25, [x20, #0x8]\n" + "ldr x24, [x20, #0x10]\n" "cbnz x28, 29f\n" "ldr x20, [%x[args_ptr], %[offsetof_input_initial_col]]\n" "add x26, x26, x20\n" @@ -489,86 +489,86 @@ void sve_hybrid_s8s32_dot_6x4VL ( "b 29f\n" "28:" // Height 3: setup direct input "mov x26, %x[input_ptr]\n" - "add x25, x26, x20\n" - "add x24, x25, x20\n" + "add x25, x26, x21\n" + "add x24, x25, x21\n" "29:" // Height 3: input setup done "cmp x27, #0x10\n" "ble 31f\n" "30:" // Height 3: Multiply loop: Main loop head "whilelt p0.b, XZR, x27\n" - "ld1rqb { z0.b }, p0/Z, [x26]\n" + "ld1rqb { z2.b }, p0/Z, [x26]\n" "ld1rqb { z1.b }, p0/Z, [x25]\n" "sub x27, x27, #0x10\n" - "ld1rqb { z2.b }, p0/Z, [x24]\n" - "ld1b { z6.b }, p5/Z, [x10]\n" - "sdot z8.s, z6.b, z0.b[0]\n" - "sdot z12.s, z6.b, z1.b[0]\n" - "ld1b { z7.b }, p5/Z, [x10, #1, MUL VL]\n" - "sdot z16.s, z6.b, z2.b[0]\n" - "sdot z9.s, z7.b, z0.b[0]\n" - "ld1b { z6.b }, p5/Z, [x10, #2, MUL VL]\n" - "sdot z13.s, z7.b, z1.b[0]\n" - "sdot z17.s, z7.b, z2.b[0]\n" - "ld1b { z7.b }, p5/Z, [x10, #3, MUL VL]\n" + "ld1rqb { z0.b }, p0/Z, [x24]\n" + "ld1b { z21.b }, p5/Z, [x10]\n" + "sdot z8.s, z21.b, z2.b[0]\n" + "sdot z12.s, z21.b, z1.b[0]\n" + "ld1b { z20.b }, p5/Z, [x10, #1, MUL VL]\n" + "sdot z16.s, z21.b, z0.b[0]\n" + "sdot z9.s, z20.b, z2.b[0]\n" + "ld1b { z21.b }, p5/Z, [x10, #2, MUL VL]\n" + "sdot z13.s, z20.b, z1.b[0]\n" + "sdot z17.s, z20.b, z0.b[0]\n" + "ld1b { z20.b }, p5/Z, [x10, #3, MUL VL]\n" "cmp x27, #0x10\n" - "sdot z10.s, z6.b, z0.b[0]\n" - "sdot z14.s, z6.b, z1.b[0]\n" + "sdot z10.s, z21.b, z2.b[0]\n" + "sdot z14.s, z21.b, z1.b[0]\n" "add x26, x26, #0x10\n" "add x25, x25, #0x10\n" - "sdot z18.s, z6.b, z2.b[0]\n" - "sdot z11.s, z7.b, z0.b[0]\n" - "ld1b { z6.b }, p5/Z, [x10, #4, MUL VL]\n" + "sdot z18.s, z21.b, z0.b[0]\n" + "sdot z11.s, z20.b, z2.b[0]\n" + "ld1b { z21.b }, p5/Z, [x10, #4, MUL VL]\n" "add x24, x24, #0x10\n" - "sdot z15.s, z7.b, z1.b[0]\n" - "sdot z19.s, z7.b, z2.b[0]\n" - "ld1b { z7.b }, p5/Z, [x10, #5, MUL VL]\n" - "sdot z8.s, z6.b, z0.b[1]\n" - "sdot z12.s, z6.b, z1.b[1]\n" - "sdot z16.s, z6.b, z2.b[1]\n" - "sdot z9.s, z7.b, z0.b[1]\n" - "ld1b { z6.b }, p5/Z, [x10, #6, MUL VL]\n" - "sdot z13.s, z7.b, z1.b[1]\n" - "sdot z17.s, z7.b, z2.b[1]\n" - "ld1b { z7.b }, p5/Z, [x10, #7, MUL VL]\n" + "sdot z15.s, z20.b, z1.b[0]\n" + "sdot z19.s, z20.b, z0.b[0]\n" + "ld1b { z20.b }, p5/Z, [x10, #5, MUL VL]\n" + "sdot z8.s, z21.b, z2.b[1]\n" + "sdot z12.s, z21.b, z1.b[1]\n" + "sdot z16.s, z21.b, z0.b[1]\n" + "sdot z9.s, z20.b, z2.b[1]\n" + "ld1b { z21.b }, p5/Z, [x10, #6, MUL VL]\n" + "sdot z13.s, z20.b, z1.b[1]\n" + "sdot z17.s, z20.b, z0.b[1]\n" + "ld1b { z20.b }, p5/Z, [x10, #7, MUL VL]\n" "addvl x10, x10, #16\n" - "sdot z10.s, z6.b, z0.b[1]\n" - "sdot z14.s, z6.b, z1.b[1]\n" - "sdot z18.s, z6.b, z2.b[1]\n" - "sdot z11.s, z7.b, z0.b[1]\n" - "ld1b { z6.b }, p5/Z, [x10, #-8, MUL VL]\n" - "sdot z15.s, z7.b, z1.b[1]\n" - "sdot z19.s, z7.b, z2.b[1]\n" - "ld1b { z7.b }, p5/Z, [x10, #-7, MUL VL]\n" - "sdot z8.s, z6.b, z0.b[2]\n" - "sdot z12.s, z6.b, z1.b[2]\n" - "sdot z16.s, z6.b, z2.b[2]\n" - "sdot z9.s, z7.b, z0.b[2]\n" - "ld1b { z6.b }, p5/Z, [x10, #-6, MUL VL]\n" - "sdot z13.s, z7.b, z1.b[2]\n" - "sdot z17.s, z7.b, z2.b[2]\n" - "ld1b { z7.b }, p5/Z, [x10, #-5, MUL VL]\n" - "sdot z10.s, z6.b, z0.b[2]\n" - "sdot z14.s, z6.b, z1.b[2]\n" - "sdot z18.s, z6.b, z2.b[2]\n" - "sdot z11.s, z7.b, z0.b[2]\n" - "ld1b { z6.b }, p5/Z, [x10, #-4, MUL VL]\n" - "sdot z15.s, z7.b, z1.b[2]\n" - "sdot z19.s, z7.b, z2.b[2]\n" - "ld1b { z7.b }, p5/Z, [x10, #-3, MUL VL]\n" - "sdot z8.s, z6.b, z0.b[3]\n" - "sdot z12.s, z6.b, z1.b[3]\n" - "sdot z16.s, z6.b, z2.b[3]\n" - "sdot z9.s, z7.b, z0.b[3]\n" - "ld1b { z6.b }, p5/Z, [x10, #-2, MUL VL]\n" - "sdot z13.s, z7.b, z1.b[3]\n" - "sdot z17.s, z7.b, z2.b[3]\n" - "ld1b { z7.b }, p5/Z, [x10, #-1, MUL VL]\n" - "sdot z10.s, z6.b, z0.b[3]\n" - "sdot z14.s, z6.b, z1.b[3]\n" - "sdot z18.s, z6.b, z2.b[3]\n" - "sdot z11.s, z7.b, z0.b[3]\n" - "sdot z15.s, z7.b, z1.b[3]\n" - "sdot z19.s, z7.b, z2.b[3]\n" + "sdot z10.s, z21.b, z2.b[1]\n" + "sdot z14.s, z21.b, z1.b[1]\n" + "sdot z18.s, z21.b, z0.b[1]\n" + "sdot z11.s, z20.b, z2.b[1]\n" + "ld1b { z21.b }, p5/Z, [x10, #-8, MUL VL]\n" + "sdot z15.s, z20.b, z1.b[1]\n" + "sdot z19.s, z20.b, z0.b[1]\n" + "ld1b { z20.b }, p5/Z, [x10, #-7, MUL VL]\n" + "sdot z8.s, z21.b, z2.b[2]\n" + "sdot z12.s, z21.b, z1.b[2]\n" + "sdot z16.s, z21.b, z0.b[2]\n" + "sdot z9.s, z20.b, z2.b[2]\n" + "ld1b { z21.b }, p5/Z, [x10, #-6, MUL VL]\n" + "sdot z13.s, z20.b, z1.b[2]\n" + "sdot z17.s, z20.b, z0.b[2]\n" + "ld1b { z20.b }, p5/Z, [x10, #-5, MUL VL]\n" + "sdot z10.s, z21.b, z2.b[2]\n" + "sdot z14.s, z21.b, z1.b[2]\n" + "sdot z18.s, z21.b, z0.b[2]\n" + "sdot z11.s, z20.b, z2.b[2]\n" + "ld1b { z21.b }, p5/Z, [x10, #-4, MUL VL]\n" + "sdot z15.s, z20.b, z1.b[2]\n" + "sdot z19.s, z20.b, z0.b[2]\n" + "ld1b { z20.b }, p5/Z, [x10, #-3, MUL VL]\n" + "sdot z8.s, z21.b, z2.b[3]\n" + "sdot z12.s, z21.b, z1.b[3]\n" + "sdot z16.s, z21.b, z0.b[3]\n" + "sdot z9.s, z20.b, z2.b[3]\n" + "ld1b { z21.b }, p5/Z, [x10, #-2, MUL VL]\n" + "sdot z13.s, z20.b, z1.b[3]\n" + "sdot z17.s, z20.b, z0.b[3]\n" + "ld1b { z20.b }, p5/Z, [x10, #-1, MUL VL]\n" + "sdot z10.s, z21.b, z2.b[3]\n" + "sdot z14.s, z21.b, z1.b[3]\n" + "sdot z18.s, z21.b, z0.b[3]\n" + "sdot z11.s, z20.b, z2.b[3]\n" + "sdot z15.s, z20.b, z1.b[3]\n" + "sdot z19.s, z20.b, z0.b[3]\n" "bgt 30b\n" "31:" // Height 3: Multiply loop: Single iteration only "whilelt p0.b, XZR, x27\n" @@ -576,100 +576,100 @@ void sve_hybrid_s8s32_dot_6x4VL ( "ld1rqb { z1.b }, p0/Z, [x25]\n" "subs x27, x27, #0x4\n" "ld1rqb { z2.b }, p0/Z, [x24]\n" - "ld1b { z6.b }, p5/Z, [x10]\n" - "sdot z8.s, z6.b, z0.b[0]\n" - "sdot z12.s, z6.b, z1.b[0]\n" - "ld1b { z7.b }, p5/Z, [x10, #1, MUL VL]\n" - "sdot z16.s, z6.b, z2.b[0]\n" - "sdot z9.s, z7.b, z0.b[0]\n" - "ld1b { z6.b }, p5/Z, [x10, #2, MUL VL]\n" - "sdot z13.s, z7.b, z1.b[0]\n" - "sdot z17.s, z7.b, z2.b[0]\n" - "ld1b { z7.b }, p5/Z, [x10, #3, MUL VL]\n" + "ld1b { z21.b }, p5/Z, [x10]\n" + "sdot z8.s, z21.b, z0.b[0]\n" + "sdot z12.s, z21.b, z1.b[0]\n" + "ld1b { z20.b }, p5/Z, [x10, #1, MUL VL]\n" + "sdot z16.s, z21.b, z2.b[0]\n" + "sdot z9.s, z20.b, z0.b[0]\n" + "ld1b { z21.b }, p5/Z, [x10, #2, MUL VL]\n" + "sdot z13.s, z20.b, z1.b[0]\n" + "sdot z17.s, z20.b, z2.b[0]\n" + "ld1b { z20.b }, p5/Z, [x10, #3, MUL VL]\n" "addvl x10, x10, #4\n" - "sdot z10.s, z6.b, z0.b[0]\n" - "sdot z14.s, z6.b, z1.b[0]\n" - "sdot z18.s, z6.b, z2.b[0]\n" - "sdot z11.s, z7.b, z0.b[0]\n" - "sdot z15.s, z7.b, z1.b[0]\n" - "sdot z19.s, z7.b, z2.b[0]\n" + "sdot z10.s, z21.b, z0.b[0]\n" + "sdot z14.s, z21.b, z1.b[0]\n" + "sdot z18.s, z21.b, z2.b[0]\n" + "sdot z11.s, z20.b, z0.b[0]\n" + "sdot z15.s, z20.b, z1.b[0]\n" + "sdot z19.s, z20.b, z2.b[0]\n" "ble 32f\n" - "ld1b { z6.b }, p5/Z, [x10]\n" - "ld1b { z7.b }, p5/Z, [x10, #1, MUL VL]\n" - "sdot z8.s, z6.b, z0.b[1]\n" - "sdot z12.s, z6.b, z1.b[1]\n" - "sdot z16.s, z6.b, z2.b[1]\n" - "sdot z9.s, z7.b, z0.b[1]\n" - "ld1b { z6.b }, p5/Z, [x10, #2, MUL VL]\n" + "ld1b { z21.b }, p5/Z, [x10]\n" + "ld1b { z20.b }, p5/Z, [x10, #1, MUL VL]\n" + "sdot z8.s, z21.b, z0.b[1]\n" + "sdot z12.s, z21.b, z1.b[1]\n" + "sdot z16.s, z21.b, z2.b[1]\n" + "sdot z9.s, z20.b, z0.b[1]\n" + "ld1b { z21.b }, p5/Z, [x10, #2, MUL VL]\n" "subs x27, x27, #0x4\n" - "sdot z13.s, z7.b, z1.b[1]\n" - "sdot z17.s, z7.b, z2.b[1]\n" - "ld1b { z7.b }, p5/Z, [x10, #3, MUL VL]\n" + "sdot z13.s, z20.b, z1.b[1]\n" + "sdot z17.s, z20.b, z2.b[1]\n" + "ld1b { z20.b }, p5/Z, [x10, #3, MUL VL]\n" "addvl x10, x10, #4\n" - "sdot z10.s, z6.b, z0.b[1]\n" - "sdot z14.s, z6.b, z1.b[1]\n" - "sdot z18.s, z6.b, z2.b[1]\n" - "sdot z11.s, z7.b, z0.b[1]\n" - "sdot z15.s, z7.b, z1.b[1]\n" - "sdot z19.s, z7.b, z2.b[1]\n" + "sdot z10.s, z21.b, z0.b[1]\n" + "sdot z14.s, z21.b, z1.b[1]\n" + "sdot z18.s, z21.b, z2.b[1]\n" + "sdot z11.s, z20.b, z0.b[1]\n" + "sdot z15.s, z20.b, z1.b[1]\n" + "sdot z19.s, z20.b, z2.b[1]\n" "ble 32f\n" - "ld1b { z6.b }, p5/Z, [x10]\n" - "ld1b { z7.b }, p5/Z, [x10, #1, MUL VL]\n" - "sdot z8.s, z6.b, z0.b[2]\n" - "sdot z12.s, z6.b, z1.b[2]\n" - "sdot z16.s, z6.b, z2.b[2]\n" - "sdot z9.s, z7.b, z0.b[2]\n" - "ld1b { z6.b }, p5/Z, [x10, #2, MUL VL]\n" + "ld1b { z21.b }, p5/Z, [x10]\n" + "ld1b { z20.b }, p5/Z, [x10, #1, MUL VL]\n" + "sdot z8.s, z21.b, z0.b[2]\n" + "sdot z12.s, z21.b, z1.b[2]\n" + "sdot z16.s, z21.b, z2.b[2]\n" + "sdot z9.s, z20.b, z0.b[2]\n" + "ld1b { z21.b }, p5/Z, [x10, #2, MUL VL]\n" "subs x27, x27, #0x4\n" - "sdot z13.s, z7.b, z1.b[2]\n" - "sdot z17.s, z7.b, z2.b[2]\n" - "ld1b { z7.b }, p5/Z, [x10, #3, MUL VL]\n" + "sdot z13.s, z20.b, z1.b[2]\n" + "sdot z17.s, z20.b, z2.b[2]\n" + "ld1b { z20.b }, p5/Z, [x10, #3, MUL VL]\n" "addvl x10, x10, #4\n" - "sdot z10.s, z6.b, z0.b[2]\n" - "sdot z14.s, z6.b, z1.b[2]\n" - "sdot z18.s, z6.b, z2.b[2]\n" - "sdot z11.s, z7.b, z0.b[2]\n" - "sdot z15.s, z7.b, z1.b[2]\n" - "sdot z19.s, z7.b, z2.b[2]\n" + "sdot z10.s, z21.b, z0.b[2]\n" + "sdot z14.s, z21.b, z1.b[2]\n" + "sdot z18.s, z21.b, z2.b[2]\n" + "sdot z11.s, z20.b, z0.b[2]\n" + "sdot z15.s, z20.b, z1.b[2]\n" + "sdot z19.s, z20.b, z2.b[2]\n" "ble 32f\n" - "ld1b { z6.b }, p5/Z, [x10]\n" - "ld1b { z7.b }, p5/Z, [x10, #1, MUL VL]\n" - "sdot z8.s, z6.b, z0.b[3]\n" - "sdot z12.s, z6.b, z1.b[3]\n" - "sdot z16.s, z6.b, z2.b[3]\n" - "sdot z9.s, z7.b, z0.b[3]\n" - "ld1b { z6.b }, p5/Z, [x10, #2, MUL VL]\n" - "sdot z13.s, z7.b, z1.b[3]\n" - "sdot z17.s, z7.b, z2.b[3]\n" - "ld1b { z7.b }, p5/Z, [x10, #3, MUL VL]\n" + "ld1b { z21.b }, p5/Z, [x10]\n" + "ld1b { z20.b }, p5/Z, [x10, #1, MUL VL]\n" + "sdot z8.s, z21.b, z0.b[3]\n" + "sdot z12.s, z21.b, z1.b[3]\n" + "sdot z16.s, z21.b, z2.b[3]\n" + "sdot z9.s, z20.b, z0.b[3]\n" + "ld1b { z21.b }, p5/Z, [x10, #2, MUL VL]\n" + "sdot z13.s, z20.b, z1.b[3]\n" + "sdot z17.s, z20.b, z2.b[3]\n" + "ld1b { z20.b }, p5/Z, [x10, #3, MUL VL]\n" "addvl x10, x10, #4\n" - "sdot z10.s, z6.b, z0.b[3]\n" - "sdot z14.s, z6.b, z1.b[3]\n" - "sdot z18.s, z6.b, z2.b[3]\n" - "sdot z11.s, z7.b, z0.b[3]\n" - "sdot z15.s, z7.b, z1.b[3]\n" - "sdot z19.s, z7.b, z2.b[3]\n" + "sdot z10.s, z21.b, z0.b[3]\n" + "sdot z14.s, z21.b, z1.b[3]\n" + "sdot z18.s, z21.b, z2.b[3]\n" + "sdot z11.s, z20.b, z0.b[3]\n" + "sdot z15.s, z20.b, z1.b[3]\n" + "sdot z19.s, z20.b, z2.b[3]\n" "32:" // Height 3: Multiply loop: multiply skip "ldr w20, [%x[args_ptr], %[offsetof_num_strings]]\n" "add x28, x28, #0x1\n" "cmp x28, x20\n" "bne 27b\n" "ldr x20, [%x[args_ptr], %[offsetof_output_offset]]\n" - "add x24, x9, x20, LSL #2\n" - "add x23, x24, x20, LSL #2\n" + "add x21, x9, x20, LSL #2\n" + "add x20, x21, x20, LSL #2\n" "st1w { z8.s }, p4, [x9]\n" "st1w { z9.s }, p3, [x9, #1, MUL VL]\n" "st1w { z10.s }, p2, [x9, #2, MUL VL]\n" "st1w { z11.s }, p1, [x9, #3, MUL VL]\n" "addvl x9, x9, #4\n" - "st1w { z12.s }, p4, [x24]\n" - "st1w { z13.s }, p3, [x24, #1, MUL VL]\n" - "st1w { z14.s }, p2, [x24, #2, MUL VL]\n" - "st1w { z15.s }, p1, [x24, #3, MUL VL]\n" - "st1w { z16.s }, p4, [x23]\n" - "st1w { z17.s }, p3, [x23, #1, MUL VL]\n" - "st1w { z18.s }, p2, [x23, #2, MUL VL]\n" - "st1w { z19.s }, p1, [x23, #3, MUL VL]\n" + "st1w { z12.s }, p4, [x21]\n" + "st1w { z13.s }, p3, [x21, #1, MUL VL]\n" + "st1w { z14.s }, p2, [x21, #2, MUL VL]\n" + "st1w { z15.s }, p1, [x21, #3, MUL VL]\n" + "st1w { z16.s }, p4, [x20]\n" + "st1w { z17.s }, p3, [x20, #1, MUL VL]\n" + "st1w { z18.s }, p2, [x20, #2, MUL VL]\n" + "st1w { z19.s }, p1, [x20, #3, MUL VL]\n" "33:" // Height 3: Writeback done "decw x11, ALL, MUL #4\n" "cmp x11, XZR\n" @@ -690,25 +690,25 @@ void sve_hybrid_s8s32_dot_6x4VL ( "whilelt p1.s, x20, x11\n" "tbz %x[flags], #0, 36f\n" "ldr x20, [%x[args_ptr], %[offsetof_output_offset]]\n" - "add x24, x9, x20, LSL #2\n" - "add x23, x24, x20, LSL #2\n" + "add x22, x9, x20, LSL #2\n" + "add x21, x22, x20, LSL #2\n" "ld1w { z8.s }, p4/Z, [x9]\n" - "add x22, x23, x20, LSL #2\n" + "add x20, x21, x20, LSL #2\n" "ld1w { z9.s }, p3/Z, [x9, #1, MUL VL]\n" "ld1w { z10.s }, p2/Z, [x9, #2, MUL VL]\n" "ld1w { z11.s }, p1/Z, [x9, #3, MUL VL]\n" - "ld1w { z12.s }, p4/Z, [x24]\n" - "ld1w { z13.s }, p3/Z, [x24, #1, MUL VL]\n" - "ld1w { z14.s }, p2/Z, [x24, #2, MUL VL]\n" - "ld1w { z15.s }, p1/Z, [x24, #3, MUL VL]\n" - "ld1w { z16.s }, p4/Z, [x23]\n" - "ld1w { z17.s }, p3/Z, [x23, #1, MUL VL]\n" - "ld1w { z18.s }, p2/Z, [x23, #2, MUL VL]\n" - "ld1w { z19.s }, p1/Z, [x23, #3, MUL VL]\n" - "ld1w { z20.s }, p4/Z, [x22]\n" - "ld1w { z21.s }, p3/Z, [x22, #1, MUL VL]\n" - "ld1w { z22.s }, p2/Z, [x22, #2, MUL VL]\n" - "ld1w { z23.s }, p1/Z, [x22, #3, MUL VL]\n" + "ld1w { z12.s }, p4/Z, [x22]\n" + "ld1w { z13.s }, p3/Z, [x22, #1, MUL VL]\n" + "ld1w { z14.s }, p2/Z, [x22, #2, MUL VL]\n" + "ld1w { z15.s }, p1/Z, [x22, #3, MUL VL]\n" + "ld1w { z16.s }, p4/Z, [x21]\n" + "ld1w { z17.s }, p3/Z, [x21, #1, MUL VL]\n" + "ld1w { z18.s }, p2/Z, [x21, #2, MUL VL]\n" + "ld1w { z19.s }, p1/Z, [x21, #3, MUL VL]\n" + "ld1w { z20.s }, p4/Z, [x20]\n" + "ld1w { z21.s }, p3/Z, [x20, #1, MUL VL]\n" + "ld1w { z22.s }, p2/Z, [x20, #2, MUL VL]\n" + "ld1w { z23.s }, p1/Z, [x20, #3, MUL VL]\n" "b 37f\n" "36:" // Height 4: no accumulate "mov z8.s, #0x0\n" @@ -732,14 +732,14 @@ void sve_hybrid_s8s32_dot_6x4VL ( "38:" // Height 4: String loop "ldr x20, [%x[args_ptr], %[offsetof_string_lengths]]\n" "ldr w27, [x20, x28, LSL #0x2]\n" - "ldr x20, [%x[args_ptr], %[offsetof_input_offset]]\n" + "ldr x21, [%x[args_ptr], %[offsetof_input_offset]]\n" "tbz %x[flags], #3, 39f\n" - "ldr x21, [%x[input_ptr], x28, LSL #0x3]\n" - "add x21, x21, x20, LSL #3\n" - "ldr x26, [x21, #0x0]\n" - "ldr x25, [x21, #0x8]\n" - "ldr x24, [x21, #0x10]\n" - "ldr x23, [x21, #0x18]\n" + "ldr x20, [%x[input_ptr], x28, LSL #0x3]\n" + "add x20, x20, x21, LSL #3\n" + "ldr x26, [x20, #0x0]\n" + "ldr x25, [x20, #0x8]\n" + "ldr x24, [x20, #0x10]\n" + "ldr x23, [x20, #0x18]\n" "cbnz x28, 40f\n" "ldr x20, [%x[args_ptr], %[offsetof_input_initial_col]]\n" "add x26, x26, x20\n" @@ -749,105 +749,105 @@ void sve_hybrid_s8s32_dot_6x4VL ( "b 40f\n" "39:" // Height 4: setup direct input "mov x26, %x[input_ptr]\n" - "add x25, x26, x20\n" - "add x24, x25, x20\n" - "add x23, x24, x20\n" + "add x25, x26, x21\n" + "add x24, x25, x21\n" + "add x23, x24, x21\n" "40:" // Height 4: input setup done "cmp x27, #0x10\n" "ble 42f\n" "41:" // Height 4: Multiply loop: Main loop head "whilelt p0.b, XZR, x27\n" - "ld1rqb { z0.b }, p0/Z, [x26]\n" - "ld1rqb { z1.b }, p0/Z, [x25]\n" + "ld1rqb { z3.b }, p0/Z, [x26]\n" + "ld1rqb { z2.b }, p0/Z, [x25]\n" "sub x27, x27, #0x10\n" - "ld1rqb { z2.b }, p0/Z, [x24]\n" - "ld1rqb { z3.b }, p0/Z, [x23]\n" + "ld1rqb { z1.b }, p0/Z, [x24]\n" + "ld1rqb { z0.b }, p0/Z, [x23]\n" "cmp x27, #0x10\n" "add x26, x26, #0x10\n" - "ld1b { z6.b }, p5/Z, [x10]\n" - "ld1b { z7.b }, p5/Z, [x10, #1, MUL VL]\n" - "sdot z8.s, z6.b, z0.b[0]\n" - "sdot z12.s, z6.b, z1.b[0]\n" - "sdot z16.s, z6.b, z2.b[0]\n" - "sdot z20.s, z6.b, z3.b[0]\n" - "ld1b { z6.b }, p5/Z, [x10, #2, MUL VL]\n" + "ld1b { z25.b }, p5/Z, [x10]\n" + "ld1b { z24.b }, p5/Z, [x10, #1, MUL VL]\n" + "sdot z8.s, z25.b, z3.b[0]\n" + "sdot z12.s, z25.b, z2.b[0]\n" + "sdot z16.s, z25.b, z1.b[0]\n" + "sdot z20.s, z25.b, z0.b[0]\n" + "ld1b { z25.b }, p5/Z, [x10, #2, MUL VL]\n" "add x25, x25, #0x10\n" - "sdot z9.s, z7.b, z0.b[0]\n" - "sdot z13.s, z7.b, z1.b[0]\n" + "sdot z9.s, z24.b, z3.b[0]\n" + "sdot z13.s, z24.b, z2.b[0]\n" "add x24, x24, #0x10\n" "add x23, x23, #0x10\n" - "sdot z17.s, z7.b, z2.b[0]\n" - "sdot z21.s, z7.b, z3.b[0]\n" - "ld1b { z7.b }, p5/Z, [x10, #3, MUL VL]\n" - "sdot z10.s, z6.b, z0.b[0]\n" - "sdot z14.s, z6.b, z1.b[0]\n" - "sdot z18.s, z6.b, z2.b[0]\n" - "sdot z22.s, z6.b, z3.b[0]\n" - "ld1b { z6.b }, p5/Z, [x10, #4, MUL VL]\n" - "sdot z11.s, z7.b, z0.b[0]\n" - "sdot z15.s, z7.b, z1.b[0]\n" - "sdot z19.s, z7.b, z2.b[0]\n" - "sdot z23.s, z7.b, z3.b[0]\n" - "ld1b { z7.b }, p5/Z, [x10, #5, MUL VL]\n" - "sdot z8.s, z6.b, z0.b[1]\n" - "sdot z12.s, z6.b, z1.b[1]\n" - "sdot z16.s, z6.b, z2.b[1]\n" - "sdot z20.s, z6.b, z3.b[1]\n" - "ld1b { z6.b }, p5/Z, [x10, #6, MUL VL]\n" - "sdot z9.s, z7.b, z0.b[1]\n" - "sdot z13.s, z7.b, z1.b[1]\n" - "sdot z17.s, z7.b, z2.b[1]\n" - "sdot z21.s, z7.b, z3.b[1]\n" - "ld1b { z7.b }, p5/Z, [x10, #7, MUL VL]\n" + "sdot z17.s, z24.b, z1.b[0]\n" + "sdot z21.s, z24.b, z0.b[0]\n" + "ld1b { z24.b }, p5/Z, [x10, #3, MUL VL]\n" + "sdot z10.s, z25.b, z3.b[0]\n" + "sdot z14.s, z25.b, z2.b[0]\n" + "sdot z18.s, z25.b, z1.b[0]\n" + "sdot z22.s, z25.b, z0.b[0]\n" + "ld1b { z25.b }, p5/Z, [x10, #4, MUL VL]\n" + "sdot z11.s, z24.b, z3.b[0]\n" + "sdot z15.s, z24.b, z2.b[0]\n" + "sdot z19.s, z24.b, z1.b[0]\n" + "sdot z23.s, z24.b, z0.b[0]\n" + "ld1b { z24.b }, p5/Z, [x10, #5, MUL VL]\n" + "sdot z8.s, z25.b, z3.b[1]\n" + "sdot z12.s, z25.b, z2.b[1]\n" + "sdot z16.s, z25.b, z1.b[1]\n" + "sdot z20.s, z25.b, z0.b[1]\n" + "ld1b { z25.b }, p5/Z, [x10, #6, MUL VL]\n" + "sdot z9.s, z24.b, z3.b[1]\n" + "sdot z13.s, z24.b, z2.b[1]\n" + "sdot z17.s, z24.b, z1.b[1]\n" + "sdot z21.s, z24.b, z0.b[1]\n" + "ld1b { z24.b }, p5/Z, [x10, #7, MUL VL]\n" "addvl x10, x10, #16\n" - "sdot z10.s, z6.b, z0.b[1]\n" - "sdot z14.s, z6.b, z1.b[1]\n" - "sdot z18.s, z6.b, z2.b[1]\n" - "sdot z22.s, z6.b, z3.b[1]\n" - "ld1b { z6.b }, p5/Z, [x10, #-8, MUL VL]\n" - "sdot z11.s, z7.b, z0.b[1]\n" - "sdot z15.s, z7.b, z1.b[1]\n" - "sdot z19.s, z7.b, z2.b[1]\n" - "sdot z23.s, z7.b, z3.b[1]\n" - "ld1b { z7.b }, p5/Z, [x10, #-7, MUL VL]\n" - "sdot z8.s, z6.b, z0.b[2]\n" - "sdot z12.s, z6.b, z1.b[2]\n" - "sdot z16.s, z6.b, z2.b[2]\n" - "sdot z20.s, z6.b, z3.b[2]\n" - "ld1b { z6.b }, p5/Z, [x10, #-6, MUL VL]\n" - "sdot z9.s, z7.b, z0.b[2]\n" - "sdot z13.s, z7.b, z1.b[2]\n" - "sdot z17.s, z7.b, z2.b[2]\n" - "sdot z21.s, z7.b, z3.b[2]\n" - "ld1b { z7.b }, p5/Z, [x10, #-5, MUL VL]\n" - "sdot z10.s, z6.b, z0.b[2]\n" - "sdot z14.s, z6.b, z1.b[2]\n" - "sdot z18.s, z6.b, z2.b[2]\n" - "sdot z22.s, z6.b, z3.b[2]\n" - "ld1b { z6.b }, p5/Z, [x10, #-4, MUL VL]\n" - "sdot z11.s, z7.b, z0.b[2]\n" - "sdot z15.s, z7.b, z1.b[2]\n" - "sdot z19.s, z7.b, z2.b[2]\n" - "sdot z23.s, z7.b, z3.b[2]\n" - "ld1b { z7.b }, p5/Z, [x10, #-3, MUL VL]\n" - "sdot z8.s, z6.b, z0.b[3]\n" - "sdot z12.s, z6.b, z1.b[3]\n" - "sdot z16.s, z6.b, z2.b[3]\n" - "sdot z20.s, z6.b, z3.b[3]\n" - "ld1b { z6.b }, p5/Z, [x10, #-2, MUL VL]\n" - "sdot z9.s, z7.b, z0.b[3]\n" - "sdot z13.s, z7.b, z1.b[3]\n" - "sdot z17.s, z7.b, z2.b[3]\n" - "sdot z21.s, z7.b, z3.b[3]\n" - "ld1b { z7.b }, p5/Z, [x10, #-1, MUL VL]\n" - "sdot z10.s, z6.b, z0.b[3]\n" - "sdot z14.s, z6.b, z1.b[3]\n" - "sdot z18.s, z6.b, z2.b[3]\n" - "sdot z22.s, z6.b, z3.b[3]\n" - "sdot z11.s, z7.b, z0.b[3]\n" - "sdot z15.s, z7.b, z1.b[3]\n" - "sdot z19.s, z7.b, z2.b[3]\n" - "sdot z23.s, z7.b, z3.b[3]\n" + "sdot z10.s, z25.b, z3.b[1]\n" + "sdot z14.s, z25.b, z2.b[1]\n" + "sdot z18.s, z25.b, z1.b[1]\n" + "sdot z22.s, z25.b, z0.b[1]\n" + "ld1b { z25.b }, p5/Z, [x10, #-8, MUL VL]\n" + "sdot z11.s, z24.b, z3.b[1]\n" + "sdot z15.s, z24.b, z2.b[1]\n" + "sdot z19.s, z24.b, z1.b[1]\n" + "sdot z23.s, z24.b, z0.b[1]\n" + "ld1b { z24.b }, p5/Z, [x10, #-7, MUL VL]\n" + "sdot z8.s, z25.b, z3.b[2]\n" + "sdot z12.s, z25.b, z2.b[2]\n" + "sdot z16.s, z25.b, z1.b[2]\n" + "sdot z20.s, z25.b, z0.b[2]\n" + "ld1b { z25.b }, p5/Z, [x10, #-6, MUL VL]\n" + "sdot z9.s, z24.b, z3.b[2]\n" + "sdot z13.s, z24.b, z2.b[2]\n" + "sdot z17.s, z24.b, z1.b[2]\n" + "sdot z21.s, z24.b, z0.b[2]\n" + "ld1b { z24.b }, p5/Z, [x10, #-5, MUL VL]\n" + "sdot z10.s, z25.b, z3.b[2]\n" + "sdot z14.s, z25.b, z2.b[2]\n" + "sdot z18.s, z25.b, z1.b[2]\n" + "sdot z22.s, z25.b, z0.b[2]\n" + "ld1b { z25.b }, p5/Z, [x10, #-4, MUL VL]\n" + "sdot z11.s, z24.b, z3.b[2]\n" + "sdot z15.s, z24.b, z2.b[2]\n" + "sdot z19.s, z24.b, z1.b[2]\n" + "sdot z23.s, z24.b, z0.b[2]\n" + "ld1b { z24.b }, p5/Z, [x10, #-3, MUL VL]\n" + "sdot z8.s, z25.b, z3.b[3]\n" + "sdot z12.s, z25.b, z2.b[3]\n" + "sdot z16.s, z25.b, z1.b[3]\n" + "sdot z20.s, z25.b, z0.b[3]\n" + "ld1b { z25.b }, p5/Z, [x10, #-2, MUL VL]\n" + "sdot z9.s, z24.b, z3.b[3]\n" + "sdot z13.s, z24.b, z2.b[3]\n" + "sdot z17.s, z24.b, z1.b[3]\n" + "sdot z21.s, z24.b, z0.b[3]\n" + "ld1b { z24.b }, p5/Z, [x10, #-1, MUL VL]\n" + "sdot z10.s, z25.b, z3.b[3]\n" + "sdot z14.s, z25.b, z2.b[3]\n" + "sdot z18.s, z25.b, z1.b[3]\n" + "sdot z22.s, z25.b, z0.b[3]\n" + "sdot z11.s, z24.b, z3.b[3]\n" + "sdot z15.s, z24.b, z2.b[3]\n" + "sdot z19.s, z24.b, z1.b[3]\n" + "sdot z23.s, z24.b, z0.b[3]\n" "bgt 41b\n" "42:" // Height 4: Multiply loop: Single iteration only "whilelt p0.b, XZR, x27\n" @@ -856,121 +856,121 @@ void sve_hybrid_s8s32_dot_6x4VL ( "subs x27, x27, #0x4\n" "ld1rqb { z2.b }, p0/Z, [x24]\n" "ld1rqb { z3.b }, p0/Z, [x23]\n" - "ld1b { z6.b }, p5/Z, [x10]\n" - "ld1b { z7.b }, p5/Z, [x10, #1, MUL VL]\n" - "sdot z8.s, z6.b, z0.b[0]\n" - "sdot z12.s, z6.b, z1.b[0]\n" - "sdot z16.s, z6.b, z2.b[0]\n" - "sdot z20.s, z6.b, z3.b[0]\n" - "ld1b { z6.b }, p5/Z, [x10, #2, MUL VL]\n" - "sdot z9.s, z7.b, z0.b[0]\n" - "sdot z13.s, z7.b, z1.b[0]\n" - "sdot z17.s, z7.b, z2.b[0]\n" - "sdot z21.s, z7.b, z3.b[0]\n" - "ld1b { z7.b }, p5/Z, [x10, #3, MUL VL]\n" + "ld1b { z25.b }, p5/Z, [x10]\n" + "ld1b { z24.b }, p5/Z, [x10, #1, MUL VL]\n" + "sdot z8.s, z25.b, z0.b[0]\n" + "sdot z12.s, z25.b, z1.b[0]\n" + "sdot z16.s, z25.b, z2.b[0]\n" + "sdot z20.s, z25.b, z3.b[0]\n" + "ld1b { z25.b }, p5/Z, [x10, #2, MUL VL]\n" + "sdot z9.s, z24.b, z0.b[0]\n" + "sdot z13.s, z24.b, z1.b[0]\n" + "sdot z17.s, z24.b, z2.b[0]\n" + "sdot z21.s, z24.b, z3.b[0]\n" + "ld1b { z24.b }, p5/Z, [x10, #3, MUL VL]\n" "addvl x10, x10, #4\n" - "sdot z10.s, z6.b, z0.b[0]\n" - "sdot z14.s, z6.b, z1.b[0]\n" - "sdot z18.s, z6.b, z2.b[0]\n" - "sdot z22.s, z6.b, z3.b[0]\n" - "sdot z11.s, z7.b, z0.b[0]\n" - "sdot z15.s, z7.b, z1.b[0]\n" - "sdot z19.s, z7.b, z2.b[0]\n" - "sdot z23.s, z7.b, z3.b[0]\n" + "sdot z10.s, z25.b, z0.b[0]\n" + "sdot z14.s, z25.b, z1.b[0]\n" + "sdot z18.s, z25.b, z2.b[0]\n" + "sdot z22.s, z25.b, z3.b[0]\n" + "sdot z11.s, z24.b, z0.b[0]\n" + "sdot z15.s, z24.b, z1.b[0]\n" + "sdot z19.s, z24.b, z2.b[0]\n" + "sdot z23.s, z24.b, z3.b[0]\n" "ble 43f\n" - "ld1b { z6.b }, p5/Z, [x10]\n" - "ld1b { z7.b }, p5/Z, [x10, #1, MUL VL]\n" - "sdot z8.s, z6.b, z0.b[1]\n" - "sdot z12.s, z6.b, z1.b[1]\n" - "sdot z16.s, z6.b, z2.b[1]\n" - "sdot z20.s, z6.b, z3.b[1]\n" - "ld1b { z6.b }, p5/Z, [x10, #2, MUL VL]\n" + "ld1b { z25.b }, p5/Z, [x10]\n" + "ld1b { z24.b }, p5/Z, [x10, #1, MUL VL]\n" + "sdot z8.s, z25.b, z0.b[1]\n" + "sdot z12.s, z25.b, z1.b[1]\n" + "sdot z16.s, z25.b, z2.b[1]\n" + "sdot z20.s, z25.b, z3.b[1]\n" + "ld1b { z25.b }, p5/Z, [x10, #2, MUL VL]\n" "subs x27, x27, #0x4\n" - "sdot z9.s, z7.b, z0.b[1]\n" - "sdot z13.s, z7.b, z1.b[1]\n" - "sdot z17.s, z7.b, z2.b[1]\n" - "sdot z21.s, z7.b, z3.b[1]\n" - "ld1b { z7.b }, p5/Z, [x10, #3, MUL VL]\n" + "sdot z9.s, z24.b, z0.b[1]\n" + "sdot z13.s, z24.b, z1.b[1]\n" + "sdot z17.s, z24.b, z2.b[1]\n" + "sdot z21.s, z24.b, z3.b[1]\n" + "ld1b { z24.b }, p5/Z, [x10, #3, MUL VL]\n" "addvl x10, x10, #4\n" - "sdot z10.s, z6.b, z0.b[1]\n" - "sdot z14.s, z6.b, z1.b[1]\n" - "sdot z18.s, z6.b, z2.b[1]\n" - "sdot z22.s, z6.b, z3.b[1]\n" - "sdot z11.s, z7.b, z0.b[1]\n" - "sdot z15.s, z7.b, z1.b[1]\n" - "sdot z19.s, z7.b, z2.b[1]\n" - "sdot z23.s, z7.b, z3.b[1]\n" + "sdot z10.s, z25.b, z0.b[1]\n" + "sdot z14.s, z25.b, z1.b[1]\n" + "sdot z18.s, z25.b, z2.b[1]\n" + "sdot z22.s, z25.b, z3.b[1]\n" + "sdot z11.s, z24.b, z0.b[1]\n" + "sdot z15.s, z24.b, z1.b[1]\n" + "sdot z19.s, z24.b, z2.b[1]\n" + "sdot z23.s, z24.b, z3.b[1]\n" "ble 43f\n" - "ld1b { z6.b }, p5/Z, [x10]\n" - "ld1b { z7.b }, p5/Z, [x10, #1, MUL VL]\n" - "sdot z8.s, z6.b, z0.b[2]\n" - "sdot z12.s, z6.b, z1.b[2]\n" - "sdot z16.s, z6.b, z2.b[2]\n" - "sdot z20.s, z6.b, z3.b[2]\n" - "ld1b { z6.b }, p5/Z, [x10, #2, MUL VL]\n" + "ld1b { z25.b }, p5/Z, [x10]\n" + "ld1b { z24.b }, p5/Z, [x10, #1, MUL VL]\n" + "sdot z8.s, z25.b, z0.b[2]\n" + "sdot z12.s, z25.b, z1.b[2]\n" + "sdot z16.s, z25.b, z2.b[2]\n" + "sdot z20.s, z25.b, z3.b[2]\n" + "ld1b { z25.b }, p5/Z, [x10, #2, MUL VL]\n" "subs x27, x27, #0x4\n" - "sdot z9.s, z7.b, z0.b[2]\n" - "sdot z13.s, z7.b, z1.b[2]\n" - "sdot z17.s, z7.b, z2.b[2]\n" - "sdot z21.s, z7.b, z3.b[2]\n" - "ld1b { z7.b }, p5/Z, [x10, #3, MUL VL]\n" + "sdot z9.s, z24.b, z0.b[2]\n" + "sdot z13.s, z24.b, z1.b[2]\n" + "sdot z17.s, z24.b, z2.b[2]\n" + "sdot z21.s, z24.b, z3.b[2]\n" + "ld1b { z24.b }, p5/Z, [x10, #3, MUL VL]\n" "addvl x10, x10, #4\n" - "sdot z10.s, z6.b, z0.b[2]\n" - "sdot z14.s, z6.b, z1.b[2]\n" - "sdot z18.s, z6.b, z2.b[2]\n" - "sdot z22.s, z6.b, z3.b[2]\n" - "sdot z11.s, z7.b, z0.b[2]\n" - "sdot z15.s, z7.b, z1.b[2]\n" - "sdot z19.s, z7.b, z2.b[2]\n" - "sdot z23.s, z7.b, z3.b[2]\n" + "sdot z10.s, z25.b, z0.b[2]\n" + "sdot z14.s, z25.b, z1.b[2]\n" + "sdot z18.s, z25.b, z2.b[2]\n" + "sdot z22.s, z25.b, z3.b[2]\n" + "sdot z11.s, z24.b, z0.b[2]\n" + "sdot z15.s, z24.b, z1.b[2]\n" + "sdot z19.s, z24.b, z2.b[2]\n" + "sdot z23.s, z24.b, z3.b[2]\n" "ble 43f\n" - "ld1b { z6.b }, p5/Z, [x10]\n" - "ld1b { z7.b }, p5/Z, [x10, #1, MUL VL]\n" - "sdot z8.s, z6.b, z0.b[3]\n" - "sdot z12.s, z6.b, z1.b[3]\n" - "sdot z16.s, z6.b, z2.b[3]\n" - "sdot z20.s, z6.b, z3.b[3]\n" - "ld1b { z6.b }, p5/Z, [x10, #2, MUL VL]\n" - "sdot z9.s, z7.b, z0.b[3]\n" - "sdot z13.s, z7.b, z1.b[3]\n" - "sdot z17.s, z7.b, z2.b[3]\n" - "sdot z21.s, z7.b, z3.b[3]\n" - "ld1b { z7.b }, p5/Z, [x10, #3, MUL VL]\n" + "ld1b { z25.b }, p5/Z, [x10]\n" + "ld1b { z24.b }, p5/Z, [x10, #1, MUL VL]\n" + "sdot z8.s, z25.b, z0.b[3]\n" + "sdot z12.s, z25.b, z1.b[3]\n" + "sdot z16.s, z25.b, z2.b[3]\n" + "sdot z20.s, z25.b, z3.b[3]\n" + "ld1b { z25.b }, p5/Z, [x10, #2, MUL VL]\n" + "sdot z9.s, z24.b, z0.b[3]\n" + "sdot z13.s, z24.b, z1.b[3]\n" + "sdot z17.s, z24.b, z2.b[3]\n" + "sdot z21.s, z24.b, z3.b[3]\n" + "ld1b { z24.b }, p5/Z, [x10, #3, MUL VL]\n" "addvl x10, x10, #4\n" - "sdot z10.s, z6.b, z0.b[3]\n" - "sdot z14.s, z6.b, z1.b[3]\n" - "sdot z18.s, z6.b, z2.b[3]\n" - "sdot z22.s, z6.b, z3.b[3]\n" - "sdot z11.s, z7.b, z0.b[3]\n" - "sdot z15.s, z7.b, z1.b[3]\n" - "sdot z19.s, z7.b, z2.b[3]\n" - "sdot z23.s, z7.b, z3.b[3]\n" + "sdot z10.s, z25.b, z0.b[3]\n" + "sdot z14.s, z25.b, z1.b[3]\n" + "sdot z18.s, z25.b, z2.b[3]\n" + "sdot z22.s, z25.b, z3.b[3]\n" + "sdot z11.s, z24.b, z0.b[3]\n" + "sdot z15.s, z24.b, z1.b[3]\n" + "sdot z19.s, z24.b, z2.b[3]\n" + "sdot z23.s, z24.b, z3.b[3]\n" "43:" // Height 4: Multiply loop: multiply skip "ldr w20, [%x[args_ptr], %[offsetof_num_strings]]\n" "add x28, x28, #0x1\n" "cmp x28, x20\n" "bne 38b\n" "ldr x20, [%x[args_ptr], %[offsetof_output_offset]]\n" - "add x24, x9, x20, LSL #2\n" - "add x23, x24, x20, LSL #2\n" + "add x22, x9, x20, LSL #2\n" + "add x21, x22, x20, LSL #2\n" "st1w { z8.s }, p4, [x9]\n" - "add x22, x23, x20, LSL #2\n" + "add x20, x21, x20, LSL #2\n" "st1w { z9.s }, p3, [x9, #1, MUL VL]\n" "st1w { z10.s }, p2, [x9, #2, MUL VL]\n" "st1w { z11.s }, p1, [x9, #3, MUL VL]\n" "addvl x9, x9, #4\n" - "st1w { z12.s }, p4, [x24]\n" - "st1w { z13.s }, p3, [x24, #1, MUL VL]\n" - "st1w { z14.s }, p2, [x24, #2, MUL VL]\n" - "st1w { z15.s }, p1, [x24, #3, MUL VL]\n" - "st1w { z16.s }, p4, [x23]\n" - "st1w { z17.s }, p3, [x23, #1, MUL VL]\n" - "st1w { z18.s }, p2, [x23, #2, MUL VL]\n" - "st1w { z19.s }, p1, [x23, #3, MUL VL]\n" - "st1w { z20.s }, p4, [x22]\n" - "st1w { z21.s }, p3, [x22, #1, MUL VL]\n" - "st1w { z22.s }, p2, [x22, #2, MUL VL]\n" - "st1w { z23.s }, p1, [x22, #3, MUL VL]\n" + "st1w { z12.s }, p4, [x22]\n" + "st1w { z13.s }, p3, [x22, #1, MUL VL]\n" + "st1w { z14.s }, p2, [x22, #2, MUL VL]\n" + "st1w { z15.s }, p1, [x22, #3, MUL VL]\n" + "st1w { z16.s }, p4, [x21]\n" + "st1w { z17.s }, p3, [x21, #1, MUL VL]\n" + "st1w { z18.s }, p2, [x21, #2, MUL VL]\n" + "st1w { z19.s }, p1, [x21, #3, MUL VL]\n" + "st1w { z20.s }, p4, [x20]\n" + "st1w { z21.s }, p3, [x20, #1, MUL VL]\n" + "st1w { z22.s }, p2, [x20, #2, MUL VL]\n" + "st1w { z23.s }, p1, [x20, #3, MUL VL]\n" "44:" // Height 4: Writeback done "decw x11, ALL, MUL #4\n" "cmp x11, XZR\n" @@ -991,30 +991,30 @@ void sve_hybrid_s8s32_dot_6x4VL ( "whilelt p1.s, x20, x11\n" "tbz %x[flags], #0, 47f\n" "ldr x20, [%x[args_ptr], %[offsetof_output_offset]]\n" - "add x24, x9, x20, LSL #2\n" - "add x23, x24, x20, LSL #2\n" - "ld1w { z8.s }, p4/Z, [x9]\n" + "add x23, x9, x20, LSL #2\n" "add x22, x23, x20, LSL #2\n" + "ld1w { z8.s }, p4/Z, [x9]\n" "add x21, x22, x20, LSL #2\n" + "add x20, x21, x20, LSL #2\n" "ld1w { z9.s }, p3/Z, [x9, #1, MUL VL]\n" "ld1w { z10.s }, p2/Z, [x9, #2, MUL VL]\n" "ld1w { z11.s }, p1/Z, [x9, #3, MUL VL]\n" - "ld1w { z12.s }, p4/Z, [x24]\n" - "ld1w { z13.s }, p3/Z, [x24, #1, MUL VL]\n" - "ld1w { z14.s }, p2/Z, [x24, #2, MUL VL]\n" - "ld1w { z15.s }, p1/Z, [x24, #3, MUL VL]\n" - "ld1w { z16.s }, p4/Z, [x23]\n" - "ld1w { z17.s }, p3/Z, [x23, #1, MUL VL]\n" - "ld1w { z18.s }, p2/Z, [x23, #2, MUL VL]\n" - "ld1w { z19.s }, p1/Z, [x23, #3, MUL VL]\n" - "ld1w { z20.s }, p4/Z, [x22]\n" - "ld1w { z21.s }, p3/Z, [x22, #1, MUL VL]\n" - "ld1w { z22.s }, p2/Z, [x22, #2, MUL VL]\n" - "ld1w { z23.s }, p1/Z, [x22, #3, MUL VL]\n" - "ld1w { z24.s }, p4/Z, [x21]\n" - "ld1w { z25.s }, p3/Z, [x21, #1, MUL VL]\n" - "ld1w { z26.s }, p2/Z, [x21, #2, MUL VL]\n" - "ld1w { z27.s }, p1/Z, [x21, #3, MUL VL]\n" + "ld1w { z12.s }, p4/Z, [x23]\n" + "ld1w { z13.s }, p3/Z, [x23, #1, MUL VL]\n" + "ld1w { z14.s }, p2/Z, [x23, #2, MUL VL]\n" + "ld1w { z15.s }, p1/Z, [x23, #3, MUL VL]\n" + "ld1w { z16.s }, p4/Z, [x22]\n" + "ld1w { z17.s }, p3/Z, [x22, #1, MUL VL]\n" + "ld1w { z18.s }, p2/Z, [x22, #2, MUL VL]\n" + "ld1w { z19.s }, p1/Z, [x22, #3, MUL VL]\n" + "ld1w { z20.s }, p4/Z, [x21]\n" + "ld1w { z21.s }, p3/Z, [x21, #1, MUL VL]\n" + "ld1w { z22.s }, p2/Z, [x21, #2, MUL VL]\n" + "ld1w { z23.s }, p1/Z, [x21, #3, MUL VL]\n" + "ld1w { z24.s }, p4/Z, [x20]\n" + "ld1w { z25.s }, p3/Z, [x20, #1, MUL VL]\n" + "ld1w { z26.s }, p2/Z, [x20, #2, MUL VL]\n" + "ld1w { z27.s }, p1/Z, [x20, #3, MUL VL]\n" "b 48f\n" "47:" // Height 5: no accumulate "mov z8.s, #0x0\n" @@ -1042,15 +1042,15 @@ void sve_hybrid_s8s32_dot_6x4VL ( "49:" // Height 5: String loop "ldr x20, [%x[args_ptr], %[offsetof_string_lengths]]\n" "ldr w27, [x20, x28, LSL #0x2]\n" - "ldr x20, [%x[args_ptr], %[offsetof_input_offset]]\n" + "ldr x21, [%x[args_ptr], %[offsetof_input_offset]]\n" "tbz %x[flags], #3, 50f\n" - "ldr x21, [%x[input_ptr], x28, LSL #0x3]\n" - "add x21, x21, x20, LSL #3\n" - "ldr x26, [x21, #0x0]\n" - "ldr x25, [x21, #0x8]\n" - "ldr x24, [x21, #0x10]\n" - "ldr x23, [x21, #0x18]\n" - "ldr x22, [x21, #0x20]\n" + "ldr x20, [%x[input_ptr], x28, LSL #0x3]\n" + "add x20, x20, x21, LSL #3\n" + "ldr x26, [x20, #0x0]\n" + "ldr x25, [x20, #0x8]\n" + "ldr x24, [x20, #0x10]\n" + "ldr x23, [x20, #0x18]\n" + "ldr x22, [x20, #0x20]\n" "cbnz x28, 51f\n" "ldr x20, [%x[args_ptr], %[offsetof_input_initial_col]]\n" "add x26, x26, x20\n" @@ -1061,124 +1061,124 @@ void sve_hybrid_s8s32_dot_6x4VL ( "b 51f\n" "50:" // Height 5: setup direct input "mov x26, %x[input_ptr]\n" - "add x25, x26, x20\n" - "add x24, x25, x20\n" - "add x23, x24, x20\n" - "add x22, x23, x20\n" + "add x25, x26, x21\n" + "add x24, x25, x21\n" + "add x23, x24, x21\n" + "add x22, x23, x21\n" "51:" // Height 5: input setup done "cmp x27, #0x10\n" "ble 53f\n" "52:" // Height 5: Multiply loop: Main loop head "whilelt p0.b, XZR, x27\n" - "ld1rqb { z0.b }, p0/Z, [x26]\n" - "ld1rqb { z1.b }, p0/Z, [x25]\n" + "ld1rqb { z4.b }, p0/Z, [x26]\n" + "ld1rqb { z3.b }, p0/Z, [x25]\n" "sub x27, x27, #0x10\n" "ld1rqb { z2.b }, p0/Z, [x24]\n" - "ld1rqb { z3.b }, p0/Z, [x23]\n" + "ld1rqb { z1.b }, p0/Z, [x23]\n" "cmp x27, #0x10\n" "add x26, x26, #0x10\n" - "ld1rqb { z4.b }, p0/Z, [x22]\n" - "ld1b { z6.b }, p5/Z, [x10]\n" - "sdot z8.s, z6.b, z0.b[0]\n" - "sdot z12.s, z6.b, z1.b[0]\n" - "ld1b { z7.b }, p5/Z, [x10, #1, MUL VL]\n" - "sdot z16.s, z6.b, z2.b[0]\n" - "sdot z20.s, z6.b, z3.b[0]\n" + "ld1rqb { z0.b }, p0/Z, [x22]\n" + "ld1b { z29.b }, p5/Z, [x10]\n" + "sdot z8.s, z29.b, z4.b[0]\n" + "sdot z12.s, z29.b, z3.b[0]\n" + "ld1b { z28.b }, p5/Z, [x10, #1, MUL VL]\n" + "sdot z16.s, z29.b, z2.b[0]\n" + "sdot z20.s, z29.b, z1.b[0]\n" "add x25, x25, #0x10\n" - "sdot z24.s, z6.b, z4.b[0]\n" - "sdot z9.s, z7.b, z0.b[0]\n" - "ld1b { z6.b }, p5/Z, [x10, #2, MUL VL]\n" + "sdot z24.s, z29.b, z0.b[0]\n" + "sdot z9.s, z28.b, z4.b[0]\n" + "ld1b { z29.b }, p5/Z, [x10, #2, MUL VL]\n" "add x24, x24, #0x10\n" - "sdot z13.s, z7.b, z1.b[0]\n" - "sdot z17.s, z7.b, z2.b[0]\n" + "sdot z13.s, z28.b, z3.b[0]\n" + "sdot z17.s, z28.b, z2.b[0]\n" "add x23, x23, #0x10\n" "add x22, x22, #0x10\n" - "sdot z21.s, z7.b, z3.b[0]\n" - "sdot z25.s, z7.b, z4.b[0]\n" - "ld1b { z7.b }, p5/Z, [x10, #3, MUL VL]\n" - "sdot z10.s, z6.b, z0.b[0]\n" - "sdot z14.s, z6.b, z1.b[0]\n" - "sdot z18.s, z6.b, z2.b[0]\n" - "sdot z22.s, z6.b, z3.b[0]\n" - "sdot z26.s, z6.b, z4.b[0]\n" - "sdot z11.s, z7.b, z0.b[0]\n" - "ld1b { z6.b }, p5/Z, [x10, #4, MUL VL]\n" - "sdot z15.s, z7.b, z1.b[0]\n" - "sdot z19.s, z7.b, z2.b[0]\n" - "sdot z23.s, z7.b, z3.b[0]\n" - "sdot z27.s, z7.b, z4.b[0]\n" - "ld1b { z7.b }, p5/Z, [x10, #5, MUL VL]\n" - "sdot z8.s, z6.b, z0.b[1]\n" - "sdot z12.s, z6.b, z1.b[1]\n" - "sdot z16.s, z6.b, z2.b[1]\n" - "sdot z20.s, z6.b, z3.b[1]\n" - "sdot z24.s, z6.b, z4.b[1]\n" - "sdot z9.s, z7.b, z0.b[1]\n" - "ld1b { z6.b }, p5/Z, [x10, #6, MUL VL]\n" - "sdot z13.s, z7.b, z1.b[1]\n" - "sdot z17.s, z7.b, z2.b[1]\n" - "sdot z21.s, z7.b, z3.b[1]\n" - "sdot z25.s, z7.b, z4.b[1]\n" - "ld1b { z7.b }, p5/Z, [x10, #7, MUL VL]\n" + "sdot z21.s, z28.b, z1.b[0]\n" + "sdot z25.s, z28.b, z0.b[0]\n" + "ld1b { z28.b }, p5/Z, [x10, #3, MUL VL]\n" + "sdot z10.s, z29.b, z4.b[0]\n" + "sdot z14.s, z29.b, z3.b[0]\n" + "sdot z18.s, z29.b, z2.b[0]\n" + "sdot z22.s, z29.b, z1.b[0]\n" + "sdot z26.s, z29.b, z0.b[0]\n" + "sdot z11.s, z28.b, z4.b[0]\n" + "ld1b { z29.b }, p5/Z, [x10, #4, MUL VL]\n" + "sdot z15.s, z28.b, z3.b[0]\n" + "sdot z19.s, z28.b, z2.b[0]\n" + "sdot z23.s, z28.b, z1.b[0]\n" + "sdot z27.s, z28.b, z0.b[0]\n" + "ld1b { z28.b }, p5/Z, [x10, #5, MUL VL]\n" + "sdot z8.s, z29.b, z4.b[1]\n" + "sdot z12.s, z29.b, z3.b[1]\n" + "sdot z16.s, z29.b, z2.b[1]\n" + "sdot z20.s, z29.b, z1.b[1]\n" + "sdot z24.s, z29.b, z0.b[1]\n" + "sdot z9.s, z28.b, z4.b[1]\n" + "ld1b { z29.b }, p5/Z, [x10, #6, MUL VL]\n" + "sdot z13.s, z28.b, z3.b[1]\n" + "sdot z17.s, z28.b, z2.b[1]\n" + "sdot z21.s, z28.b, z1.b[1]\n" + "sdot z25.s, z28.b, z0.b[1]\n" + "ld1b { z28.b }, p5/Z, [x10, #7, MUL VL]\n" "addvl x10, x10, #16\n" - "sdot z10.s, z6.b, z0.b[1]\n" - "sdot z14.s, z6.b, z1.b[1]\n" - "sdot z18.s, z6.b, z2.b[1]\n" - "sdot z22.s, z6.b, z3.b[1]\n" - "sdot z26.s, z6.b, z4.b[1]\n" - "sdot z11.s, z7.b, z0.b[1]\n" - "ld1b { z6.b }, p5/Z, [x10, #-8, MUL VL]\n" - "sdot z15.s, z7.b, z1.b[1]\n" - "sdot z19.s, z7.b, z2.b[1]\n" - "sdot z23.s, z7.b, z3.b[1]\n" - "sdot z27.s, z7.b, z4.b[1]\n" - "ld1b { z7.b }, p5/Z, [x10, #-7, MUL VL]\n" - "sdot z8.s, z6.b, z0.b[2]\n" - "sdot z12.s, z6.b, z1.b[2]\n" - "sdot z16.s, z6.b, z2.b[2]\n" - "sdot z20.s, z6.b, z3.b[2]\n" - "sdot z24.s, z6.b, z4.b[2]\n" - "sdot z9.s, z7.b, z0.b[2]\n" - "ld1b { z6.b }, p5/Z, [x10, #-6, MUL VL]\n" - "sdot z13.s, z7.b, z1.b[2]\n" - "sdot z17.s, z7.b, z2.b[2]\n" - "sdot z21.s, z7.b, z3.b[2]\n" - "sdot z25.s, z7.b, z4.b[2]\n" - "ld1b { z7.b }, p5/Z, [x10, #-5, MUL VL]\n" - "sdot z10.s, z6.b, z0.b[2]\n" - "sdot z14.s, z6.b, z1.b[2]\n" - "sdot z18.s, z6.b, z2.b[2]\n" - "sdot z22.s, z6.b, z3.b[2]\n" - "sdot z26.s, z6.b, z4.b[2]\n" - "sdot z11.s, z7.b, z0.b[2]\n" - "ld1b { z6.b }, p5/Z, [x10, #-4, MUL VL]\n" - "sdot z15.s, z7.b, z1.b[2]\n" - "sdot z19.s, z7.b, z2.b[2]\n" - "sdot z23.s, z7.b, z3.b[2]\n" - "sdot z27.s, z7.b, z4.b[2]\n" - "ld1b { z7.b }, p5/Z, [x10, #-3, MUL VL]\n" - "sdot z8.s, z6.b, z0.b[3]\n" - "sdot z12.s, z6.b, z1.b[3]\n" - "sdot z16.s, z6.b, z2.b[3]\n" - "sdot z20.s, z6.b, z3.b[3]\n" - "sdot z24.s, z6.b, z4.b[3]\n" - "sdot z9.s, z7.b, z0.b[3]\n" - "ld1b { z6.b }, p5/Z, [x10, #-2, MUL VL]\n" - "sdot z13.s, z7.b, z1.b[3]\n" - "sdot z17.s, z7.b, z2.b[3]\n" - "sdot z21.s, z7.b, z3.b[3]\n" - "sdot z25.s, z7.b, z4.b[3]\n" - "ld1b { z7.b }, p5/Z, [x10, #-1, MUL VL]\n" - "sdot z10.s, z6.b, z0.b[3]\n" - "sdot z14.s, z6.b, z1.b[3]\n" - "sdot z18.s, z6.b, z2.b[3]\n" - "sdot z22.s, z6.b, z3.b[3]\n" - "sdot z26.s, z6.b, z4.b[3]\n" - "sdot z11.s, z7.b, z0.b[3]\n" - "sdot z15.s, z7.b, z1.b[3]\n" - "sdot z19.s, z7.b, z2.b[3]\n" - "sdot z23.s, z7.b, z3.b[3]\n" - "sdot z27.s, z7.b, z4.b[3]\n" + "sdot z10.s, z29.b, z4.b[1]\n" + "sdot z14.s, z29.b, z3.b[1]\n" + "sdot z18.s, z29.b, z2.b[1]\n" + "sdot z22.s, z29.b, z1.b[1]\n" + "sdot z26.s, z29.b, z0.b[1]\n" + "sdot z11.s, z28.b, z4.b[1]\n" + "ld1b { z29.b }, p5/Z, [x10, #-8, MUL VL]\n" + "sdot z15.s, z28.b, z3.b[1]\n" + "sdot z19.s, z28.b, z2.b[1]\n" + "sdot z23.s, z28.b, z1.b[1]\n" + "sdot z27.s, z28.b, z0.b[1]\n" + "ld1b { z28.b }, p5/Z, [x10, #-7, MUL VL]\n" + "sdot z8.s, z29.b, z4.b[2]\n" + "sdot z12.s, z29.b, z3.b[2]\n" + "sdot z16.s, z29.b, z2.b[2]\n" + "sdot z20.s, z29.b, z1.b[2]\n" + "sdot z24.s, z29.b, z0.b[2]\n" + "sdot z9.s, z28.b, z4.b[2]\n" + "ld1b { z29.b }, p5/Z, [x10, #-6, MUL VL]\n" + "sdot z13.s, z28.b, z3.b[2]\n" + "sdot z17.s, z28.b, z2.b[2]\n" + "sdot z21.s, z28.b, z1.b[2]\n" + "sdot z25.s, z28.b, z0.b[2]\n" + "ld1b { z28.b }, p5/Z, [x10, #-5, MUL VL]\n" + "sdot z10.s, z29.b, z4.b[2]\n" + "sdot z14.s, z29.b, z3.b[2]\n" + "sdot z18.s, z29.b, z2.b[2]\n" + "sdot z22.s, z29.b, z1.b[2]\n" + "sdot z26.s, z29.b, z0.b[2]\n" + "sdot z11.s, z28.b, z4.b[2]\n" + "ld1b { z29.b }, p5/Z, [x10, #-4, MUL VL]\n" + "sdot z15.s, z28.b, z3.b[2]\n" + "sdot z19.s, z28.b, z2.b[2]\n" + "sdot z23.s, z28.b, z1.b[2]\n" + "sdot z27.s, z28.b, z0.b[2]\n" + "ld1b { z28.b }, p5/Z, [x10, #-3, MUL VL]\n" + "sdot z8.s, z29.b, z4.b[3]\n" + "sdot z12.s, z29.b, z3.b[3]\n" + "sdot z16.s, z29.b, z2.b[3]\n" + "sdot z20.s, z29.b, z1.b[3]\n" + "sdot z24.s, z29.b, z0.b[3]\n" + "sdot z9.s, z28.b, z4.b[3]\n" + "ld1b { z29.b }, p5/Z, [x10, #-2, MUL VL]\n" + "sdot z13.s, z28.b, z3.b[3]\n" + "sdot z17.s, z28.b, z2.b[3]\n" + "sdot z21.s, z28.b, z1.b[3]\n" + "sdot z25.s, z28.b, z0.b[3]\n" + "ld1b { z28.b }, p5/Z, [x10, #-1, MUL VL]\n" + "sdot z10.s, z29.b, z4.b[3]\n" + "sdot z14.s, z29.b, z3.b[3]\n" + "sdot z18.s, z29.b, z2.b[3]\n" + "sdot z22.s, z29.b, z1.b[3]\n" + "sdot z26.s, z29.b, z0.b[3]\n" + "sdot z11.s, z28.b, z4.b[3]\n" + "sdot z15.s, z28.b, z3.b[3]\n" + "sdot z19.s, z28.b, z2.b[3]\n" + "sdot z23.s, z28.b, z1.b[3]\n" + "sdot z27.s, z28.b, z0.b[3]\n" "bgt 52b\n" "53:" // Height 5: Multiply loop: Single iteration only "whilelt p0.b, XZR, x27\n" @@ -1188,142 +1188,142 @@ void sve_hybrid_s8s32_dot_6x4VL ( "ld1rqb { z2.b }, p0/Z, [x24]\n" "ld1rqb { z3.b }, p0/Z, [x23]\n" "ld1rqb { z4.b }, p0/Z, [x22]\n" - "ld1b { z6.b }, p5/Z, [x10]\n" - "sdot z8.s, z6.b, z0.b[0]\n" - "sdot z12.s, z6.b, z1.b[0]\n" - "ld1b { z7.b }, p5/Z, [x10, #1, MUL VL]\n" - "sdot z16.s, z6.b, z2.b[0]\n" - "sdot z20.s, z6.b, z3.b[0]\n" - "sdot z24.s, z6.b, z4.b[0]\n" - "sdot z9.s, z7.b, z0.b[0]\n" - "ld1b { z6.b }, p5/Z, [x10, #2, MUL VL]\n" - "sdot z13.s, z7.b, z1.b[0]\n" - "sdot z17.s, z7.b, z2.b[0]\n" - "sdot z21.s, z7.b, z3.b[0]\n" - "sdot z25.s, z7.b, z4.b[0]\n" - "ld1b { z7.b }, p5/Z, [x10, #3, MUL VL]\n" + "ld1b { z29.b }, p5/Z, [x10]\n" + "sdot z8.s, z29.b, z0.b[0]\n" + "sdot z12.s, z29.b, z1.b[0]\n" + "ld1b { z28.b }, p5/Z, [x10, #1, MUL VL]\n" + "sdot z16.s, z29.b, z2.b[0]\n" + "sdot z20.s, z29.b, z3.b[0]\n" + "sdot z24.s, z29.b, z4.b[0]\n" + "sdot z9.s, z28.b, z0.b[0]\n" + "ld1b { z29.b }, p5/Z, [x10, #2, MUL VL]\n" + "sdot z13.s, z28.b, z1.b[0]\n" + "sdot z17.s, z28.b, z2.b[0]\n" + "sdot z21.s, z28.b, z3.b[0]\n" + "sdot z25.s, z28.b, z4.b[0]\n" + "ld1b { z28.b }, p5/Z, [x10, #3, MUL VL]\n" "addvl x10, x10, #4\n" - "sdot z10.s, z6.b, z0.b[0]\n" - "sdot z14.s, z6.b, z1.b[0]\n" - "sdot z18.s, z6.b, z2.b[0]\n" - "sdot z22.s, z6.b, z3.b[0]\n" - "sdot z26.s, z6.b, z4.b[0]\n" - "sdot z11.s, z7.b, z0.b[0]\n" - "sdot z15.s, z7.b, z1.b[0]\n" - "sdot z19.s, z7.b, z2.b[0]\n" - "sdot z23.s, z7.b, z3.b[0]\n" - "sdot z27.s, z7.b, z4.b[0]\n" + "sdot z10.s, z29.b, z0.b[0]\n" + "sdot z14.s, z29.b, z1.b[0]\n" + "sdot z18.s, z29.b, z2.b[0]\n" + "sdot z22.s, z29.b, z3.b[0]\n" + "sdot z26.s, z29.b, z4.b[0]\n" + "sdot z11.s, z28.b, z0.b[0]\n" + "sdot z15.s, z28.b, z1.b[0]\n" + "sdot z19.s, z28.b, z2.b[0]\n" + "sdot z23.s, z28.b, z3.b[0]\n" + "sdot z27.s, z28.b, z4.b[0]\n" "ble 54f\n" - "ld1b { z6.b }, p5/Z, [x10]\n" - "ld1b { z7.b }, p5/Z, [x10, #1, MUL VL]\n" - "sdot z8.s, z6.b, z0.b[1]\n" - "sdot z12.s, z6.b, z1.b[1]\n" - "sdot z16.s, z6.b, z2.b[1]\n" - "sdot z20.s, z6.b, z3.b[1]\n" + "ld1b { z29.b }, p5/Z, [x10]\n" + "ld1b { z28.b }, p5/Z, [x10, #1, MUL VL]\n" + "sdot z8.s, z29.b, z0.b[1]\n" + "sdot z12.s, z29.b, z1.b[1]\n" + "sdot z16.s, z29.b, z2.b[1]\n" + "sdot z20.s, z29.b, z3.b[1]\n" "subs x27, x27, #0x4\n" - "sdot z24.s, z6.b, z4.b[1]\n" - "sdot z9.s, z7.b, z0.b[1]\n" - "ld1b { z6.b }, p5/Z, [x10, #2, MUL VL]\n" - "sdot z13.s, z7.b, z1.b[1]\n" - "sdot z17.s, z7.b, z2.b[1]\n" - "sdot z21.s, z7.b, z3.b[1]\n" - "sdot z25.s, z7.b, z4.b[1]\n" - "ld1b { z7.b }, p5/Z, [x10, #3, MUL VL]\n" + "sdot z24.s, z29.b, z4.b[1]\n" + "sdot z9.s, z28.b, z0.b[1]\n" + "ld1b { z29.b }, p5/Z, [x10, #2, MUL VL]\n" + "sdot z13.s, z28.b, z1.b[1]\n" + "sdot z17.s, z28.b, z2.b[1]\n" + "sdot z21.s, z28.b, z3.b[1]\n" + "sdot z25.s, z28.b, z4.b[1]\n" + "ld1b { z28.b }, p5/Z, [x10, #3, MUL VL]\n" "addvl x10, x10, #4\n" - "sdot z10.s, z6.b, z0.b[1]\n" - "sdot z14.s, z6.b, z1.b[1]\n" - "sdot z18.s, z6.b, z2.b[1]\n" - "sdot z22.s, z6.b, z3.b[1]\n" - "sdot z26.s, z6.b, z4.b[1]\n" - "sdot z11.s, z7.b, z0.b[1]\n" - "sdot z15.s, z7.b, z1.b[1]\n" - "sdot z19.s, z7.b, z2.b[1]\n" - "sdot z23.s, z7.b, z3.b[1]\n" - "sdot z27.s, z7.b, z4.b[1]\n" + "sdot z10.s, z29.b, z0.b[1]\n" + "sdot z14.s, z29.b, z1.b[1]\n" + "sdot z18.s, z29.b, z2.b[1]\n" + "sdot z22.s, z29.b, z3.b[1]\n" + "sdot z26.s, z29.b, z4.b[1]\n" + "sdot z11.s, z28.b, z0.b[1]\n" + "sdot z15.s, z28.b, z1.b[1]\n" + "sdot z19.s, z28.b, z2.b[1]\n" + "sdot z23.s, z28.b, z3.b[1]\n" + "sdot z27.s, z28.b, z4.b[1]\n" "ble 54f\n" - "ld1b { z6.b }, p5/Z, [x10]\n" - "ld1b { z7.b }, p5/Z, [x10, #1, MUL VL]\n" - "sdot z8.s, z6.b, z0.b[2]\n" - "sdot z12.s, z6.b, z1.b[2]\n" - "sdot z16.s, z6.b, z2.b[2]\n" - "sdot z20.s, z6.b, z3.b[2]\n" + "ld1b { z29.b }, p5/Z, [x10]\n" + "ld1b { z28.b }, p5/Z, [x10, #1, MUL VL]\n" + "sdot z8.s, z29.b, z0.b[2]\n" + "sdot z12.s, z29.b, z1.b[2]\n" + "sdot z16.s, z29.b, z2.b[2]\n" + "sdot z20.s, z29.b, z3.b[2]\n" "subs x27, x27, #0x4\n" - "sdot z24.s, z6.b, z4.b[2]\n" - "sdot z9.s, z7.b, z0.b[2]\n" - "ld1b { z6.b }, p5/Z, [x10, #2, MUL VL]\n" - "sdot z13.s, z7.b, z1.b[2]\n" - "sdot z17.s, z7.b, z2.b[2]\n" - "sdot z21.s, z7.b, z3.b[2]\n" - "sdot z25.s, z7.b, z4.b[2]\n" - "ld1b { z7.b }, p5/Z, [x10, #3, MUL VL]\n" + "sdot z24.s, z29.b, z4.b[2]\n" + "sdot z9.s, z28.b, z0.b[2]\n" + "ld1b { z29.b }, p5/Z, [x10, #2, MUL VL]\n" + "sdot z13.s, z28.b, z1.b[2]\n" + "sdot z17.s, z28.b, z2.b[2]\n" + "sdot z21.s, z28.b, z3.b[2]\n" + "sdot z25.s, z28.b, z4.b[2]\n" + "ld1b { z28.b }, p5/Z, [x10, #3, MUL VL]\n" "addvl x10, x10, #4\n" - "sdot z10.s, z6.b, z0.b[2]\n" - "sdot z14.s, z6.b, z1.b[2]\n" - "sdot z18.s, z6.b, z2.b[2]\n" - "sdot z22.s, z6.b, z3.b[2]\n" - "sdot z26.s, z6.b, z4.b[2]\n" - "sdot z11.s, z7.b, z0.b[2]\n" - "sdot z15.s, z7.b, z1.b[2]\n" - "sdot z19.s, z7.b, z2.b[2]\n" - "sdot z23.s, z7.b, z3.b[2]\n" - "sdot z27.s, z7.b, z4.b[2]\n" + "sdot z10.s, z29.b, z0.b[2]\n" + "sdot z14.s, z29.b, z1.b[2]\n" + "sdot z18.s, z29.b, z2.b[2]\n" + "sdot z22.s, z29.b, z3.b[2]\n" + "sdot z26.s, z29.b, z4.b[2]\n" + "sdot z11.s, z28.b, z0.b[2]\n" + "sdot z15.s, z28.b, z1.b[2]\n" + "sdot z19.s, z28.b, z2.b[2]\n" + "sdot z23.s, z28.b, z3.b[2]\n" + "sdot z27.s, z28.b, z4.b[2]\n" "ble 54f\n" - "ld1b { z6.b }, p5/Z, [x10]\n" - "ld1b { z7.b }, p5/Z, [x10, #1, MUL VL]\n" - "sdot z8.s, z6.b, z0.b[3]\n" - "sdot z12.s, z6.b, z1.b[3]\n" - "sdot z16.s, z6.b, z2.b[3]\n" - "sdot z20.s, z6.b, z3.b[3]\n" - "sdot z24.s, z6.b, z4.b[3]\n" - "sdot z9.s, z7.b, z0.b[3]\n" - "ld1b { z6.b }, p5/Z, [x10, #2, MUL VL]\n" - "sdot z13.s, z7.b, z1.b[3]\n" - "sdot z17.s, z7.b, z2.b[3]\n" - "sdot z21.s, z7.b, z3.b[3]\n" - "sdot z25.s, z7.b, z4.b[3]\n" - "ld1b { z7.b }, p5/Z, [x10, #3, MUL VL]\n" + "ld1b { z29.b }, p5/Z, [x10]\n" + "ld1b { z28.b }, p5/Z, [x10, #1, MUL VL]\n" + "sdot z8.s, z29.b, z0.b[3]\n" + "sdot z12.s, z29.b, z1.b[3]\n" + "sdot z16.s, z29.b, z2.b[3]\n" + "sdot z20.s, z29.b, z3.b[3]\n" + "sdot z24.s, z29.b, z4.b[3]\n" + "sdot z9.s, z28.b, z0.b[3]\n" + "ld1b { z29.b }, p5/Z, [x10, #2, MUL VL]\n" + "sdot z13.s, z28.b, z1.b[3]\n" + "sdot z17.s, z28.b, z2.b[3]\n" + "sdot z21.s, z28.b, z3.b[3]\n" + "sdot z25.s, z28.b, z4.b[3]\n" + "ld1b { z28.b }, p5/Z, [x10, #3, MUL VL]\n" "addvl x10, x10, #4\n" - "sdot z10.s, z6.b, z0.b[3]\n" - "sdot z14.s, z6.b, z1.b[3]\n" - "sdot z18.s, z6.b, z2.b[3]\n" - "sdot z22.s, z6.b, z3.b[3]\n" - "sdot z26.s, z6.b, z4.b[3]\n" - "sdot z11.s, z7.b, z0.b[3]\n" - "sdot z15.s, z7.b, z1.b[3]\n" - "sdot z19.s, z7.b, z2.b[3]\n" - "sdot z23.s, z7.b, z3.b[3]\n" - "sdot z27.s, z7.b, z4.b[3]\n" + "sdot z10.s, z29.b, z0.b[3]\n" + "sdot z14.s, z29.b, z1.b[3]\n" + "sdot z18.s, z29.b, z2.b[3]\n" + "sdot z22.s, z29.b, z3.b[3]\n" + "sdot z26.s, z29.b, z4.b[3]\n" + "sdot z11.s, z28.b, z0.b[3]\n" + "sdot z15.s, z28.b, z1.b[3]\n" + "sdot z19.s, z28.b, z2.b[3]\n" + "sdot z23.s, z28.b, z3.b[3]\n" + "sdot z27.s, z28.b, z4.b[3]\n" "54:" // Height 5: Multiply loop: multiply skip "ldr w20, [%x[args_ptr], %[offsetof_num_strings]]\n" "add x28, x28, #0x1\n" "cmp x28, x20\n" "bne 49b\n" "ldr x20, [%x[args_ptr], %[offsetof_output_offset]]\n" - "add x24, x9, x20, LSL #2\n" - "add x23, x24, x20, LSL #2\n" - "st1w { z8.s }, p4, [x9]\n" + "add x23, x9, x20, LSL #2\n" "add x22, x23, x20, LSL #2\n" + "st1w { z8.s }, p4, [x9]\n" "add x21, x22, x20, LSL #2\n" + "add x20, x21, x20, LSL #2\n" "st1w { z9.s }, p3, [x9, #1, MUL VL]\n" "st1w { z10.s }, p2, [x9, #2, MUL VL]\n" "st1w { z11.s }, p1, [x9, #3, MUL VL]\n" "addvl x9, x9, #4\n" - "st1w { z12.s }, p4, [x24]\n" - "st1w { z13.s }, p3, [x24, #1, MUL VL]\n" - "st1w { z14.s }, p2, [x24, #2, MUL VL]\n" - "st1w { z15.s }, p1, [x24, #3, MUL VL]\n" - "st1w { z16.s }, p4, [x23]\n" - "st1w { z17.s }, p3, [x23, #1, MUL VL]\n" - "st1w { z18.s }, p2, [x23, #2, MUL VL]\n" - "st1w { z19.s }, p1, [x23, #3, MUL VL]\n" - "st1w { z20.s }, p4, [x22]\n" - "st1w { z21.s }, p3, [x22, #1, MUL VL]\n" - "st1w { z22.s }, p2, [x22, #2, MUL VL]\n" - "st1w { z23.s }, p1, [x22, #3, MUL VL]\n" - "st1w { z24.s }, p4, [x21]\n" - "st1w { z25.s }, p3, [x21, #1, MUL VL]\n" - "st1w { z26.s }, p2, [x21, #2, MUL VL]\n" - "st1w { z27.s }, p1, [x21, #3, MUL VL]\n" + "st1w { z12.s }, p4, [x23]\n" + "st1w { z13.s }, p3, [x23, #1, MUL VL]\n" + "st1w { z14.s }, p2, [x23, #2, MUL VL]\n" + "st1w { z15.s }, p1, [x23, #3, MUL VL]\n" + "st1w { z16.s }, p4, [x22]\n" + "st1w { z17.s }, p3, [x22, #1, MUL VL]\n" + "st1w { z18.s }, p2, [x22, #2, MUL VL]\n" + "st1w { z19.s }, p1, [x22, #3, MUL VL]\n" + "st1w { z20.s }, p4, [x21]\n" + "st1w { z21.s }, p3, [x21, #1, MUL VL]\n" + "st1w { z22.s }, p2, [x21, #2, MUL VL]\n" + "st1w { z23.s }, p1, [x21, #3, MUL VL]\n" + "st1w { z24.s }, p4, [x20]\n" + "st1w { z25.s }, p3, [x20, #1, MUL VL]\n" + "st1w { z26.s }, p2, [x20, #2, MUL VL]\n" + "st1w { z27.s }, p1, [x20, #3, MUL VL]\n" "55:" // Height 5: Writeback done "decw x11, ALL, MUL #4\n" "cmp x11, XZR\n" @@ -1407,16 +1407,16 @@ void sve_hybrid_s8s32_dot_6x4VL ( "60:" // Height 6: String loop "ldr x20, [%x[args_ptr], %[offsetof_string_lengths]]\n" "ldr w27, [x20, x28, LSL #0x2]\n" - "ldr x20, [%x[args_ptr], %[offsetof_input_offset]]\n" + "ldr x21, [%x[args_ptr], %[offsetof_input_offset]]\n" "tbz %x[flags], #3, 61f\n" - "ldr x21, [%x[input_ptr], x28, LSL #0x3]\n" - "add x21, x21, x20, LSL #3\n" - "ldr x26, [x21, #0x0]\n" - "ldr x25, [x21, #0x8]\n" - "ldr x24, [x21, #0x10]\n" - "ldr x23, [x21, #0x18]\n" - "ldr x22, [x21, #0x20]\n" - "ldr x21, [x21, #0x28]\n" + "ldr x20, [%x[input_ptr], x28, LSL #0x3]\n" + "add x20, x20, x21, LSL #3\n" + "ldr x26, [x20, #0x0]\n" + "ldr x25, [x20, #0x8]\n" + "ldr x24, [x20, #0x10]\n" + "ldr x23, [x20, #0x18]\n" + "ldr x22, [x20, #0x20]\n" + "ldr x21, [x20, #0x28]\n" "cbnz x28, 62f\n" "ldr x20, [%x[args_ptr], %[offsetof_input_initial_col]]\n" "add x26, x26, x20\n" @@ -1428,143 +1428,143 @@ void sve_hybrid_s8s32_dot_6x4VL ( "b 62f\n" "61:" // Height 6: setup direct input "mov x26, %x[input_ptr]\n" - "add x25, x26, x20\n" - "add x24, x25, x20\n" - "add x23, x24, x20\n" - "add x22, x23, x20\n" - "add x21, x22, x20\n" + "add x25, x26, x21\n" + "add x24, x25, x21\n" + "add x23, x24, x21\n" + "add x22, x23, x21\n" + "add x21, x22, x21\n" "62:" // Height 6: input setup done "cmp x27, #0x10\n" "ble 64f\n" "63:" // Height 6: Multiply loop: Main loop head "whilelt p0.b, XZR, x27\n" - "ld1rqb { z0.b }, p0/Z, [x26]\n" - "ld1rqb { z1.b }, p0/Z, [x25]\n" + "ld1rqb { z7.b }, p0/Z, [x26]\n" + "ld1rqb { z6.b }, p0/Z, [x25]\n" "sub x27, x27, #0x10\n" - "ld1rqb { z2.b }, p0/Z, [x24]\n" - "ld1rqb { z3.b }, p0/Z, [x23]\n" + "ld1rqb { z5.b }, p0/Z, [x24]\n" + "ld1rqb { z4.b }, p0/Z, [x23]\n" "cmp x27, #0x10\n" "add x26, x26, #0x10\n" - "ld1rqb { z4.b }, p0/Z, [x22]\n" - "ld1rqb { z5.b }, p0/Z, [x21]\n" + "ld1rqb { z3.b }, p0/Z, [x22]\n" + "ld1rqb { z2.b }, p0/Z, [x21]\n" "add x25, x25, #0x10\n" "add x24, x24, #0x10\n" - "ld1b { z6.b }, p5/Z, [x10]\n" - "ld1b { z7.b }, p5/Z, [x10, #1, MUL VL]\n" - "sdot z8.s, z6.b, z0.b[0]\n" - "sdot z12.s, z6.b, z1.b[0]\n" - "sdot z16.s, z6.b, z2.b[0]\n" - "sdot z20.s, z6.b, z3.b[0]\n" + "ld1b { z1.b }, p5/Z, [x10]\n" + "ld1b { z0.b }, p5/Z, [x10, #1, MUL VL]\n" + "sdot z8.s, z1.b, z7.b[0]\n" + "sdot z12.s, z1.b, z6.b[0]\n" + "sdot z16.s, z1.b, z5.b[0]\n" + "sdot z20.s, z1.b, z4.b[0]\n" "add x23, x23, #0x10\n" "add x22, x22, #0x10\n" - "sdot z24.s, z6.b, z4.b[0]\n" - "sdot z28.s, z6.b, z5.b[0]\n" - "ld1b { z6.b }, p5/Z, [x10, #2, MUL VL]\n" + "sdot z24.s, z1.b, z3.b[0]\n" + "sdot z28.s, z1.b, z2.b[0]\n" + "ld1b { z1.b }, p5/Z, [x10, #2, MUL VL]\n" "add x21, x21, #0x10\n" - "sdot z9.s, z7.b, z0.b[0]\n" - "sdot z13.s, z7.b, z1.b[0]\n" - "sdot z17.s, z7.b, z2.b[0]\n" - "sdot z21.s, z7.b, z3.b[0]\n" - "sdot z25.s, z7.b, z4.b[0]\n" - "sdot z29.s, z7.b, z5.b[0]\n" - "ld1b { z7.b }, p5/Z, [x10, #3, MUL VL]\n" - "sdot z10.s, z6.b, z0.b[0]\n" - "sdot z14.s, z6.b, z1.b[0]\n" - "sdot z18.s, z6.b, z2.b[0]\n" - "sdot z22.s, z6.b, z3.b[0]\n" - "sdot z26.s, z6.b, z4.b[0]\n" - "sdot z30.s, z6.b, z5.b[0]\n" - "ld1b { z6.b }, p5/Z, [x10, #4, MUL VL]\n" - "sdot z11.s, z7.b, z0.b[0]\n" - "sdot z15.s, z7.b, z1.b[0]\n" - "sdot z19.s, z7.b, z2.b[0]\n" - "sdot z23.s, z7.b, z3.b[0]\n" - "sdot z27.s, z7.b, z4.b[0]\n" - "sdot z31.s, z7.b, z5.b[0]\n" - "ld1b { z7.b }, p5/Z, [x10, #5, MUL VL]\n" - "sdot z8.s, z6.b, z0.b[1]\n" - "sdot z12.s, z6.b, z1.b[1]\n" - "sdot z16.s, z6.b, z2.b[1]\n" - "sdot z20.s, z6.b, z3.b[1]\n" - "sdot z24.s, z6.b, z4.b[1]\n" - "sdot z28.s, z6.b, z5.b[1]\n" - "ld1b { z6.b }, p5/Z, [x10, #6, MUL VL]\n" - "sdot z9.s, z7.b, z0.b[1]\n" - "sdot z13.s, z7.b, z1.b[1]\n" - "sdot z17.s, z7.b, z2.b[1]\n" - "sdot z21.s, z7.b, z3.b[1]\n" - "sdot z25.s, z7.b, z4.b[1]\n" - "sdot z29.s, z7.b, z5.b[1]\n" - "ld1b { z7.b }, p5/Z, [x10, #7, MUL VL]\n" + "sdot z9.s, z0.b, z7.b[0]\n" + "sdot z13.s, z0.b, z6.b[0]\n" + "sdot z17.s, z0.b, z5.b[0]\n" + "sdot z21.s, z0.b, z4.b[0]\n" + "sdot z25.s, z0.b, z3.b[0]\n" + "sdot z29.s, z0.b, z2.b[0]\n" + "ld1b { z0.b }, p5/Z, [x10, #3, MUL VL]\n" + "sdot z10.s, z1.b, z7.b[0]\n" + "sdot z14.s, z1.b, z6.b[0]\n" + "sdot z18.s, z1.b, z5.b[0]\n" + "sdot z22.s, z1.b, z4.b[0]\n" + "sdot z26.s, z1.b, z3.b[0]\n" + "sdot z30.s, z1.b, z2.b[0]\n" + "ld1b { z1.b }, p5/Z, [x10, #4, MUL VL]\n" + "sdot z11.s, z0.b, z7.b[0]\n" + "sdot z15.s, z0.b, z6.b[0]\n" + "sdot z19.s, z0.b, z5.b[0]\n" + "sdot z23.s, z0.b, z4.b[0]\n" + "sdot z27.s, z0.b, z3.b[0]\n" + "sdot z31.s, z0.b, z2.b[0]\n" + "ld1b { z0.b }, p5/Z, [x10, #5, MUL VL]\n" + "sdot z8.s, z1.b, z7.b[1]\n" + "sdot z12.s, z1.b, z6.b[1]\n" + "sdot z16.s, z1.b, z5.b[1]\n" + "sdot z20.s, z1.b, z4.b[1]\n" + "sdot z24.s, z1.b, z3.b[1]\n" + "sdot z28.s, z1.b, z2.b[1]\n" + "ld1b { z1.b }, p5/Z, [x10, #6, MUL VL]\n" + "sdot z9.s, z0.b, z7.b[1]\n" + "sdot z13.s, z0.b, z6.b[1]\n" + "sdot z17.s, z0.b, z5.b[1]\n" + "sdot z21.s, z0.b, z4.b[1]\n" + "sdot z25.s, z0.b, z3.b[1]\n" + "sdot z29.s, z0.b, z2.b[1]\n" + "ld1b { z0.b }, p5/Z, [x10, #7, MUL VL]\n" "addvl x10, x10, #16\n" - "sdot z10.s, z6.b, z0.b[1]\n" - "sdot z14.s, z6.b, z1.b[1]\n" - "sdot z18.s, z6.b, z2.b[1]\n" - "sdot z22.s, z6.b, z3.b[1]\n" - "sdot z26.s, z6.b, z4.b[1]\n" - "sdot z30.s, z6.b, z5.b[1]\n" - "ld1b { z6.b }, p5/Z, [x10, #-8, MUL VL]\n" - "sdot z11.s, z7.b, z0.b[1]\n" - "sdot z15.s, z7.b, z1.b[1]\n" - "sdot z19.s, z7.b, z2.b[1]\n" - "sdot z23.s, z7.b, z3.b[1]\n" - "sdot z27.s, z7.b, z4.b[1]\n" - "sdot z31.s, z7.b, z5.b[1]\n" - "ld1b { z7.b }, p5/Z, [x10, #-7, MUL VL]\n" - "sdot z8.s, z6.b, z0.b[2]\n" - "sdot z12.s, z6.b, z1.b[2]\n" - "sdot z16.s, z6.b, z2.b[2]\n" - "sdot z20.s, z6.b, z3.b[2]\n" - "sdot z24.s, z6.b, z4.b[2]\n" - "sdot z28.s, z6.b, z5.b[2]\n" - "ld1b { z6.b }, p5/Z, [x10, #-6, MUL VL]\n" - "sdot z9.s, z7.b, z0.b[2]\n" - "sdot z13.s, z7.b, z1.b[2]\n" - "sdot z17.s, z7.b, z2.b[2]\n" - "sdot z21.s, z7.b, z3.b[2]\n" - "sdot z25.s, z7.b, z4.b[2]\n" - "sdot z29.s, z7.b, z5.b[2]\n" - "ld1b { z7.b }, p5/Z, [x10, #-5, MUL VL]\n" - "sdot z10.s, z6.b, z0.b[2]\n" - "sdot z14.s, z6.b, z1.b[2]\n" - "sdot z18.s, z6.b, z2.b[2]\n" - "sdot z22.s, z6.b, z3.b[2]\n" - "sdot z26.s, z6.b, z4.b[2]\n" - "sdot z30.s, z6.b, z5.b[2]\n" - "ld1b { z6.b }, p5/Z, [x10, #-4, MUL VL]\n" - "sdot z11.s, z7.b, z0.b[2]\n" - "sdot z15.s, z7.b, z1.b[2]\n" - "sdot z19.s, z7.b, z2.b[2]\n" - "sdot z23.s, z7.b, z3.b[2]\n" - "sdot z27.s, z7.b, z4.b[2]\n" - "sdot z31.s, z7.b, z5.b[2]\n" - "ld1b { z7.b }, p5/Z, [x10, #-3, MUL VL]\n" - "sdot z8.s, z6.b, z0.b[3]\n" - "sdot z12.s, z6.b, z1.b[3]\n" - "sdot z16.s, z6.b, z2.b[3]\n" - "sdot z20.s, z6.b, z3.b[3]\n" - "sdot z24.s, z6.b, z4.b[3]\n" - "sdot z28.s, z6.b, z5.b[3]\n" - "ld1b { z6.b }, p5/Z, [x10, #-2, MUL VL]\n" - "sdot z9.s, z7.b, z0.b[3]\n" - "sdot z13.s, z7.b, z1.b[3]\n" - "sdot z17.s, z7.b, z2.b[3]\n" - "sdot z21.s, z7.b, z3.b[3]\n" - "sdot z25.s, z7.b, z4.b[3]\n" - "sdot z29.s, z7.b, z5.b[3]\n" - "ld1b { z7.b }, p5/Z, [x10, #-1, MUL VL]\n" - "sdot z10.s, z6.b, z0.b[3]\n" - "sdot z14.s, z6.b, z1.b[3]\n" - "sdot z18.s, z6.b, z2.b[3]\n" - "sdot z22.s, z6.b, z3.b[3]\n" - "sdot z26.s, z6.b, z4.b[3]\n" - "sdot z30.s, z6.b, z5.b[3]\n" - "sdot z11.s, z7.b, z0.b[3]\n" - "sdot z15.s, z7.b, z1.b[3]\n" - "sdot z19.s, z7.b, z2.b[3]\n" - "sdot z23.s, z7.b, z3.b[3]\n" - "sdot z27.s, z7.b, z4.b[3]\n" - "sdot z31.s, z7.b, z5.b[3]\n" + "sdot z10.s, z1.b, z7.b[1]\n" + "sdot z14.s, z1.b, z6.b[1]\n" + "sdot z18.s, z1.b, z5.b[1]\n" + "sdot z22.s, z1.b, z4.b[1]\n" + "sdot z26.s, z1.b, z3.b[1]\n" + "sdot z30.s, z1.b, z2.b[1]\n" + "ld1b { z1.b }, p5/Z, [x10, #-8, MUL VL]\n" + "sdot z11.s, z0.b, z7.b[1]\n" + "sdot z15.s, z0.b, z6.b[1]\n" + "sdot z19.s, z0.b, z5.b[1]\n" + "sdot z23.s, z0.b, z4.b[1]\n" + "sdot z27.s, z0.b, z3.b[1]\n" + "sdot z31.s, z0.b, z2.b[1]\n" + "ld1b { z0.b }, p5/Z, [x10, #-7, MUL VL]\n" + "sdot z8.s, z1.b, z7.b[2]\n" + "sdot z12.s, z1.b, z6.b[2]\n" + "sdot z16.s, z1.b, z5.b[2]\n" + "sdot z20.s, z1.b, z4.b[2]\n" + "sdot z24.s, z1.b, z3.b[2]\n" + "sdot z28.s, z1.b, z2.b[2]\n" + "ld1b { z1.b }, p5/Z, [x10, #-6, MUL VL]\n" + "sdot z9.s, z0.b, z7.b[2]\n" + "sdot z13.s, z0.b, z6.b[2]\n" + "sdot z17.s, z0.b, z5.b[2]\n" + "sdot z21.s, z0.b, z4.b[2]\n" + "sdot z25.s, z0.b, z3.b[2]\n" + "sdot z29.s, z0.b, z2.b[2]\n" + "ld1b { z0.b }, p5/Z, [x10, #-5, MUL VL]\n" + "sdot z10.s, z1.b, z7.b[2]\n" + "sdot z14.s, z1.b, z6.b[2]\n" + "sdot z18.s, z1.b, z5.b[2]\n" + "sdot z22.s, z1.b, z4.b[2]\n" + "sdot z26.s, z1.b, z3.b[2]\n" + "sdot z30.s, z1.b, z2.b[2]\n" + "ld1b { z1.b }, p5/Z, [x10, #-4, MUL VL]\n" + "sdot z11.s, z0.b, z7.b[2]\n" + "sdot z15.s, z0.b, z6.b[2]\n" + "sdot z19.s, z0.b, z5.b[2]\n" + "sdot z23.s, z0.b, z4.b[2]\n" + "sdot z27.s, z0.b, z3.b[2]\n" + "sdot z31.s, z0.b, z2.b[2]\n" + "ld1b { z0.b }, p5/Z, [x10, #-3, MUL VL]\n" + "sdot z8.s, z1.b, z7.b[3]\n" + "sdot z12.s, z1.b, z6.b[3]\n" + "sdot z16.s, z1.b, z5.b[3]\n" + "sdot z20.s, z1.b, z4.b[3]\n" + "sdot z24.s, z1.b, z3.b[3]\n" + "sdot z28.s, z1.b, z2.b[3]\n" + "ld1b { z1.b }, p5/Z, [x10, #-2, MUL VL]\n" + "sdot z9.s, z0.b, z7.b[3]\n" + "sdot z13.s, z0.b, z6.b[3]\n" + "sdot z17.s, z0.b, z5.b[3]\n" + "sdot z21.s, z0.b, z4.b[3]\n" + "sdot z25.s, z0.b, z3.b[3]\n" + "sdot z29.s, z0.b, z2.b[3]\n" + "ld1b { z0.b }, p5/Z, [x10, #-1, MUL VL]\n" + "sdot z10.s, z1.b, z7.b[3]\n" + "sdot z14.s, z1.b, z6.b[3]\n" + "sdot z18.s, z1.b, z5.b[3]\n" + "sdot z22.s, z1.b, z4.b[3]\n" + "sdot z26.s, z1.b, z3.b[3]\n" + "sdot z30.s, z1.b, z2.b[3]\n" + "sdot z11.s, z0.b, z7.b[3]\n" + "sdot z15.s, z0.b, z6.b[3]\n" + "sdot z19.s, z0.b, z5.b[3]\n" + "sdot z23.s, z0.b, z4.b[3]\n" + "sdot z27.s, z0.b, z3.b[3]\n" + "sdot z31.s, z0.b, z2.b[3]\n" "bgt 63b\n" "64:" // Height 6: Multiply loop: Single iteration only "whilelt p0.b, XZR, x27\n" @@ -1575,127 +1575,127 @@ void sve_hybrid_s8s32_dot_6x4VL ( "ld1rqb { z3.b }, p0/Z, [x23]\n" "ld1rqb { z4.b }, p0/Z, [x22]\n" "ld1rqb { z5.b }, p0/Z, [x21]\n" - "ld1b { z6.b }, p5/Z, [x10]\n" - "ld1b { z7.b }, p5/Z, [x10, #1, MUL VL]\n" - "sdot z8.s, z6.b, z0.b[0]\n" - "sdot z12.s, z6.b, z1.b[0]\n" - "sdot z16.s, z6.b, z2.b[0]\n" - "sdot z20.s, z6.b, z3.b[0]\n" - "sdot z24.s, z6.b, z4.b[0]\n" - "sdot z28.s, z6.b, z5.b[0]\n" - "ld1b { z6.b }, p5/Z, [x10, #2, MUL VL]\n" - "sdot z9.s, z7.b, z0.b[0]\n" - "sdot z13.s, z7.b, z1.b[0]\n" - "sdot z17.s, z7.b, z2.b[0]\n" - "sdot z21.s, z7.b, z3.b[0]\n" - "sdot z25.s, z7.b, z4.b[0]\n" - "sdot z29.s, z7.b, z5.b[0]\n" - "ld1b { z7.b }, p5/Z, [x10, #3, MUL VL]\n" + "ld1b { z7.b }, p5/Z, [x10]\n" + "ld1b { z6.b }, p5/Z, [x10, #1, MUL VL]\n" + "sdot z8.s, z7.b, z0.b[0]\n" + "sdot z12.s, z7.b, z1.b[0]\n" + "sdot z16.s, z7.b, z2.b[0]\n" + "sdot z20.s, z7.b, z3.b[0]\n" + "sdot z24.s, z7.b, z4.b[0]\n" + "sdot z28.s, z7.b, z5.b[0]\n" + "ld1b { z7.b }, p5/Z, [x10, #2, MUL VL]\n" + "sdot z9.s, z6.b, z0.b[0]\n" + "sdot z13.s, z6.b, z1.b[0]\n" + "sdot z17.s, z6.b, z2.b[0]\n" + "sdot z21.s, z6.b, z3.b[0]\n" + "sdot z25.s, z6.b, z4.b[0]\n" + "sdot z29.s, z6.b, z5.b[0]\n" + "ld1b { z6.b }, p5/Z, [x10, #3, MUL VL]\n" "addvl x10, x10, #4\n" - "sdot z10.s, z6.b, z0.b[0]\n" - "sdot z14.s, z6.b, z1.b[0]\n" - "sdot z18.s, z6.b, z2.b[0]\n" - "sdot z22.s, z6.b, z3.b[0]\n" - "sdot z26.s, z6.b, z4.b[0]\n" - "sdot z30.s, z6.b, z5.b[0]\n" - "sdot z11.s, z7.b, z0.b[0]\n" - "sdot z15.s, z7.b, z1.b[0]\n" - "sdot z19.s, z7.b, z2.b[0]\n" - "sdot z23.s, z7.b, z3.b[0]\n" - "sdot z27.s, z7.b, z4.b[0]\n" - "sdot z31.s, z7.b, z5.b[0]\n" + "sdot z10.s, z7.b, z0.b[0]\n" + "sdot z14.s, z7.b, z1.b[0]\n" + "sdot z18.s, z7.b, z2.b[0]\n" + "sdot z22.s, z7.b, z3.b[0]\n" + "sdot z26.s, z7.b, z4.b[0]\n" + "sdot z30.s, z7.b, z5.b[0]\n" + "sdot z11.s, z6.b, z0.b[0]\n" + "sdot z15.s, z6.b, z1.b[0]\n" + "sdot z19.s, z6.b, z2.b[0]\n" + "sdot z23.s, z6.b, z3.b[0]\n" + "sdot z27.s, z6.b, z4.b[0]\n" + "sdot z31.s, z6.b, z5.b[0]\n" "ble 65f\n" - "ld1b { z6.b }, p5/Z, [x10]\n" - "ld1b { z7.b }, p5/Z, [x10, #1, MUL VL]\n" - "sdot z8.s, z6.b, z0.b[1]\n" - "sdot z12.s, z6.b, z1.b[1]\n" - "sdot z16.s, z6.b, z2.b[1]\n" - "sdot z20.s, z6.b, z3.b[1]\n" + "ld1b { z7.b }, p5/Z, [x10]\n" + "ld1b { z6.b }, p5/Z, [x10, #1, MUL VL]\n" + "sdot z8.s, z7.b, z0.b[1]\n" + "sdot z12.s, z7.b, z1.b[1]\n" + "sdot z16.s, z7.b, z2.b[1]\n" + "sdot z20.s, z7.b, z3.b[1]\n" "subs x27, x27, #0x4\n" - "sdot z24.s, z6.b, z4.b[1]\n" - "sdot z28.s, z6.b, z5.b[1]\n" - "ld1b { z6.b }, p5/Z, [x10, #2, MUL VL]\n" - "sdot z9.s, z7.b, z0.b[1]\n" - "sdot z13.s, z7.b, z1.b[1]\n" - "sdot z17.s, z7.b, z2.b[1]\n" - "sdot z21.s, z7.b, z3.b[1]\n" - "sdot z25.s, z7.b, z4.b[1]\n" - "sdot z29.s, z7.b, z5.b[1]\n" - "ld1b { z7.b }, p5/Z, [x10, #3, MUL VL]\n" + "sdot z24.s, z7.b, z4.b[1]\n" + "sdot z28.s, z7.b, z5.b[1]\n" + "ld1b { z7.b }, p5/Z, [x10, #2, MUL VL]\n" + "sdot z9.s, z6.b, z0.b[1]\n" + "sdot z13.s, z6.b, z1.b[1]\n" + "sdot z17.s, z6.b, z2.b[1]\n" + "sdot z21.s, z6.b, z3.b[1]\n" + "sdot z25.s, z6.b, z4.b[1]\n" + "sdot z29.s, z6.b, z5.b[1]\n" + "ld1b { z6.b }, p5/Z, [x10, #3, MUL VL]\n" "addvl x10, x10, #4\n" - "sdot z10.s, z6.b, z0.b[1]\n" - "sdot z14.s, z6.b, z1.b[1]\n" - "sdot z18.s, z6.b, z2.b[1]\n" - "sdot z22.s, z6.b, z3.b[1]\n" - "sdot z26.s, z6.b, z4.b[1]\n" - "sdot z30.s, z6.b, z5.b[1]\n" - "sdot z11.s, z7.b, z0.b[1]\n" - "sdot z15.s, z7.b, z1.b[1]\n" - "sdot z19.s, z7.b, z2.b[1]\n" - "sdot z23.s, z7.b, z3.b[1]\n" - "sdot z27.s, z7.b, z4.b[1]\n" - "sdot z31.s, z7.b, z5.b[1]\n" + "sdot z10.s, z7.b, z0.b[1]\n" + "sdot z14.s, z7.b, z1.b[1]\n" + "sdot z18.s, z7.b, z2.b[1]\n" + "sdot z22.s, z7.b, z3.b[1]\n" + "sdot z26.s, z7.b, z4.b[1]\n" + "sdot z30.s, z7.b, z5.b[1]\n" + "sdot z11.s, z6.b, z0.b[1]\n" + "sdot z15.s, z6.b, z1.b[1]\n" + "sdot z19.s, z6.b, z2.b[1]\n" + "sdot z23.s, z6.b, z3.b[1]\n" + "sdot z27.s, z6.b, z4.b[1]\n" + "sdot z31.s, z6.b, z5.b[1]\n" "ble 65f\n" - "ld1b { z6.b }, p5/Z, [x10]\n" - "ld1b { z7.b }, p5/Z, [x10, #1, MUL VL]\n" - "sdot z8.s, z6.b, z0.b[2]\n" - "sdot z12.s, z6.b, z1.b[2]\n" - "sdot z16.s, z6.b, z2.b[2]\n" - "sdot z20.s, z6.b, z3.b[2]\n" + "ld1b { z7.b }, p5/Z, [x10]\n" + "ld1b { z6.b }, p5/Z, [x10, #1, MUL VL]\n" + "sdot z8.s, z7.b, z0.b[2]\n" + "sdot z12.s, z7.b, z1.b[2]\n" + "sdot z16.s, z7.b, z2.b[2]\n" + "sdot z20.s, z7.b, z3.b[2]\n" "subs x27, x27, #0x4\n" - "sdot z24.s, z6.b, z4.b[2]\n" - "sdot z28.s, z6.b, z5.b[2]\n" - "ld1b { z6.b }, p5/Z, [x10, #2, MUL VL]\n" - "sdot z9.s, z7.b, z0.b[2]\n" - "sdot z13.s, z7.b, z1.b[2]\n" - "sdot z17.s, z7.b, z2.b[2]\n" - "sdot z21.s, z7.b, z3.b[2]\n" - "sdot z25.s, z7.b, z4.b[2]\n" - "sdot z29.s, z7.b, z5.b[2]\n" - "ld1b { z7.b }, p5/Z, [x10, #3, MUL VL]\n" + "sdot z24.s, z7.b, z4.b[2]\n" + "sdot z28.s, z7.b, z5.b[2]\n" + "ld1b { z7.b }, p5/Z, [x10, #2, MUL VL]\n" + "sdot z9.s, z6.b, z0.b[2]\n" + "sdot z13.s, z6.b, z1.b[2]\n" + "sdot z17.s, z6.b, z2.b[2]\n" + "sdot z21.s, z6.b, z3.b[2]\n" + "sdot z25.s, z6.b, z4.b[2]\n" + "sdot z29.s, z6.b, z5.b[2]\n" + "ld1b { z6.b }, p5/Z, [x10, #3, MUL VL]\n" "addvl x10, x10, #4\n" - "sdot z10.s, z6.b, z0.b[2]\n" - "sdot z14.s, z6.b, z1.b[2]\n" - "sdot z18.s, z6.b, z2.b[2]\n" - "sdot z22.s, z6.b, z3.b[2]\n" - "sdot z26.s, z6.b, z4.b[2]\n" - "sdot z30.s, z6.b, z5.b[2]\n" - "sdot z11.s, z7.b, z0.b[2]\n" - "sdot z15.s, z7.b, z1.b[2]\n" - "sdot z19.s, z7.b, z2.b[2]\n" - "sdot z23.s, z7.b, z3.b[2]\n" - "sdot z27.s, z7.b, z4.b[2]\n" - "sdot z31.s, z7.b, z5.b[2]\n" + "sdot z10.s, z7.b, z0.b[2]\n" + "sdot z14.s, z7.b, z1.b[2]\n" + "sdot z18.s, z7.b, z2.b[2]\n" + "sdot z22.s, z7.b, z3.b[2]\n" + "sdot z26.s, z7.b, z4.b[2]\n" + "sdot z30.s, z7.b, z5.b[2]\n" + "sdot z11.s, z6.b, z0.b[2]\n" + "sdot z15.s, z6.b, z1.b[2]\n" + "sdot z19.s, z6.b, z2.b[2]\n" + "sdot z23.s, z6.b, z3.b[2]\n" + "sdot z27.s, z6.b, z4.b[2]\n" + "sdot z31.s, z6.b, z5.b[2]\n" "ble 65f\n" - "ld1b { z6.b }, p5/Z, [x10]\n" - "ld1b { z7.b }, p5/Z, [x10, #1, MUL VL]\n" - "sdot z8.s, z6.b, z0.b[3]\n" - "sdot z12.s, z6.b, z1.b[3]\n" - "sdot z16.s, z6.b, z2.b[3]\n" - "sdot z20.s, z6.b, z3.b[3]\n" - "sdot z24.s, z6.b, z4.b[3]\n" - "sdot z28.s, z6.b, z5.b[3]\n" - "ld1b { z6.b }, p5/Z, [x10, #2, MUL VL]\n" - "sdot z9.s, z7.b, z0.b[3]\n" - "sdot z13.s, z7.b, z1.b[3]\n" - "sdot z17.s, z7.b, z2.b[3]\n" - "sdot z21.s, z7.b, z3.b[3]\n" - "sdot z25.s, z7.b, z4.b[3]\n" - "sdot z29.s, z7.b, z5.b[3]\n" - "ld1b { z7.b }, p5/Z, [x10, #3, MUL VL]\n" + "ld1b { z7.b }, p5/Z, [x10]\n" + "ld1b { z6.b }, p5/Z, [x10, #1, MUL VL]\n" + "sdot z8.s, z7.b, z0.b[3]\n" + "sdot z12.s, z7.b, z1.b[3]\n" + "sdot z16.s, z7.b, z2.b[3]\n" + "sdot z20.s, z7.b, z3.b[3]\n" + "sdot z24.s, z7.b, z4.b[3]\n" + "sdot z28.s, z7.b, z5.b[3]\n" + "ld1b { z7.b }, p5/Z, [x10, #2, MUL VL]\n" + "sdot z9.s, z6.b, z0.b[3]\n" + "sdot z13.s, z6.b, z1.b[3]\n" + "sdot z17.s, z6.b, z2.b[3]\n" + "sdot z21.s, z6.b, z3.b[3]\n" + "sdot z25.s, z6.b, z4.b[3]\n" + "sdot z29.s, z6.b, z5.b[3]\n" + "ld1b { z6.b }, p5/Z, [x10, #3, MUL VL]\n" "addvl x10, x10, #4\n" - "sdot z10.s, z6.b, z0.b[3]\n" - "sdot z14.s, z6.b, z1.b[3]\n" - "sdot z18.s, z6.b, z2.b[3]\n" - "sdot z22.s, z6.b, z3.b[3]\n" - "sdot z26.s, z6.b, z4.b[3]\n" - "sdot z30.s, z6.b, z5.b[3]\n" - "sdot z11.s, z7.b, z0.b[3]\n" - "sdot z15.s, z7.b, z1.b[3]\n" - "sdot z19.s, z7.b, z2.b[3]\n" - "sdot z23.s, z7.b, z3.b[3]\n" - "sdot z27.s, z7.b, z4.b[3]\n" - "sdot z31.s, z7.b, z5.b[3]\n" + "sdot z10.s, z7.b, z0.b[3]\n" + "sdot z14.s, z7.b, z1.b[3]\n" + "sdot z18.s, z7.b, z2.b[3]\n" + "sdot z22.s, z7.b, z3.b[3]\n" + "sdot z26.s, z7.b, z4.b[3]\n" + "sdot z30.s, z7.b, z5.b[3]\n" + "sdot z11.s, z6.b, z0.b[3]\n" + "sdot z15.s, z6.b, z1.b[3]\n" + "sdot z19.s, z6.b, z2.b[3]\n" + "sdot z23.s, z6.b, z3.b[3]\n" + "sdot z27.s, z6.b, z4.b[3]\n" + "sdot z31.s, z6.b, z5.b[3]\n" "65:" // Height 6: Multiply loop: multiply skip "ldr w20, [%x[args_ptr], %[offsetof_num_strings]]\n" "add x28, x28, #0x1\n" @@ -1748,7 +1748,6 @@ void sve_hybrid_s8s32_dot_6x4VL ( "madd %x[input_ptr], x20, x21, %x[input_ptr]\n" "b 1b\n" "68:" // Exit - : [M] "+&r" (M), [input_ptr] "+&r" (input_ptr), [output_ptr] "+&r" (output_ptr) : [args_ptr] "r" (&ka), [flags] "r" (flags), [offsetof_B_ptr] "I" (offsetof(KernelArgs, B_ptr)), [offsetof_N] "I" (offsetof(KernelArgs, N)), [offsetof_input_initial_col] "I" (offsetof(KernelArgs, input_initial_col)), [offsetof_input_offset] "I" (offsetof(KernelArgs, input_offset)), [offsetof_num_strings] "I" (offsetof(KernelArgs, num_strings)), [offsetof_output_offset] "I" (offsetof(KernelArgs, output_offset)), [offsetof_string_lengths] "I" (offsetof(KernelArgs, string_lengths)) : "cc", "memory", "p0", "p1", "p2", "p3", "p4", "p5", "x9", "x10", "x11", "x20", "x21", "x22", "x23", "x24", "x25", "x26", "x27", "x28", "z0", "z1", "z2", "z3", "z4", "z5", "z6", "z7", "z8", "z9", "z10", "z11", "z12", "z13", "z14", "z15", "z16", "z17", "z18", "z19", "z20", "z21", "z22", "z23", "z24", "z25", "z26", "z27", "z28", "z29", "z30", "z31" @@ -1756,4 +1755,4 @@ void sve_hybrid_s8s32_dot_6x4VL ( } } // namespace arm_gemm -#endif // ARM_COMPUTE_ENABLE_SVE +#endif // ARM_COMPUTE_ENABLE_SVE -- cgit v1.2.1