github.com/egonelbre/exp@v0.0.0-20240430123955-ed1d3aa93911/vector/compare/axpy_arm64.go (about) 1 package compare 2 3 func ArmAxpyUnsafe(alpha float32, xs *float32, incx uintptr, ys *float32, incy uintptr, n uintptr) 4 func ArmAxpyUnsafeX(alpha float32, xs *float32, incx uintptr, ys *float32, incy uintptr, n uintptr) 5 func ArmAxpyPointer(alpha float32, xs *float32, incx uintptr, ys *float32, incy uintptr, n uintptr) 6 func ArmAxpyPointerLoop(alpha float32, xs *float32, incx uintptr, ys *float32, incy uintptr, n uintptr) 7 func ArmAxpyPointerLoopX(alpha float32, xs *float32, incx uintptr, ys *float32, incy uintptr, n uintptr) 8 func ArmAxpyUnsafeXR4(alpha float32, xs *float32, incx uintptr, ys *float32, incy uintptr, n uintptr) 9 func ArmAxpyUnsafeInterleaveXR4(alpha float32, xs *float32, incx uintptr, ys *float32, incy uintptr, n uintptr) 10 func ArmAxpyPointerLoopXR4(alpha float32, xs *float32, incx uintptr, ys *float32, incy uintptr, n uintptr) 11 12 type armAxpyDecl struct { 13 name string 14 fn func(alpha float32, xs *float32, incx uintptr, ys *float32, incy uintptr, n uintptr) 15 } 16 17 var armAxpyDecls = []armAxpyDecl{ 18 {name: "AxpyUnsafe", fn: ArmAxpyUnsafe}, 19 {name: "AxpyUnsafeX", fn: ArmAxpyUnsafeX}, 20 {name: "AxpyPointer", fn: ArmAxpyPointer}, 21 {name: "AxpyPointerLoop", fn: ArmAxpyPointerLoop}, 22 {name: "AxpyPointerLoopX", fn: ArmAxpyPointerLoopX}, 23 {name: "AxpyUnsafeXR4", fn: ArmAxpyUnsafeXR4}, 24 {name: "AxpyUnsafeInterleaveXR4", fn: ArmAxpyUnsafeInterleaveXR4}, 25 {name: "AxpyPointerLoopXR4", fn: ArmAxpyPointerLoopXR4}, 26 }