1// SPDX-License-Identifier: GPL-2.0-only 2// Copyright (C) 2015-2019 ARM Limited. 3// Original author: Dave Martin <Dave.Martin@arm.com> 4#include <asm/unistd.h> 5 6.arch_extension sve 7 8.globl sve_store_patterns 9 10sve_store_patterns: 11 mov x1, x0 12 13 index z0.b, #0, #1 14 str q0, [x1] 15 16 mov w8, #__NR_getpid 17 svc #0 18 str q0, [x1, #0x10] 19 20 mov z1.d, z0.d 21 str q0, [x1, #0x20] 22 23 mov w8, #__NR_getpid 24 svc #0 25 str q0, [x1, #0x30] 26 27 mov z1.d, z0.d 28 str q0, [x1, #0x40] 29 30 ret 31 32.size sve_store_patterns, . - sve_store_patterns 33.type sve_store_patterns, @function 34