entry-fpsimd.S (91de76e661a266731fc2889a398ad1694df9d523) | entry-fpsimd.S (1fc5dce78ad15dce2f23336d339e5f7290b61e19) |
---|---|
1/* 2 * FP/SIMD state saving and restoring 3 * 4 * Copyright (C) 2012 ARM Ltd. 5 * Author: Catalin Marinas <catalin.marinas@arm.com> 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License version 2 as --- 27 unchanged lines hidden (view full) --- 36 * Load the FP registers. 37 * 38 * x0 - pointer to struct fpsimd_state 39 */ 40ENTRY(fpsimd_load_state) 41 fpsimd_restore x0, 8 42 ret 43ENDPROC(fpsimd_load_state) | 1/* 2 * FP/SIMD state saving and restoring 3 * 4 * Copyright (C) 2012 ARM Ltd. 5 * Author: Catalin Marinas <catalin.marinas@arm.com> 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License version 2 as --- 27 unchanged lines hidden (view full) --- 36 * Load the FP registers. 37 * 38 * x0 - pointer to struct fpsimd_state 39 */ 40ENTRY(fpsimd_load_state) 41 fpsimd_restore x0, 8 42 ret 43ENDPROC(fpsimd_load_state) |
44 45#ifdef CONFIG_ARM64_SVE 46ENTRY(sve_save_state) 47 sve_save 0, x1, 2 48 ret 49ENDPROC(sve_save_state) 50 51ENTRY(sve_load_state) 52 sve_load 0, x1, x2, 3 53 ret 54ENDPROC(sve_load_state) 55 56ENTRY(sve_get_vl) 57 _sve_rdvl 0, 1 58 ret 59ENDPROC(sve_get_vl) 60#endif /* CONFIG_ARM64_SVE */ |
|