€•Œsphinx.addnodes”Œdocument”“”)�”}”(Œ rawsource”Œ”Œchildren”]”(Œ translations”Œ LanguagesNode”“”)�”}”(hhh]”(hŒ pending_xref”“”)�”}”(hhh]”Œdocutils.nodes”ŒText”“”ŒChinese (Simplified)”…”�”}”Œparent”hsbaŒ attributes”}”(Œids”]”Œclasses”]”Œnames”]”Œdupnames”]”Œbackrefs”]”Œ refdomain”Œstd”Œreftype”Œdoc”Œ reftarget”Œ"/translations/zh_CN/arch/arm64/sve”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)�”}”(hhh]”hŒChinese (Traditional)”…”�”}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ"/translations/zh_TW/arch/arm64/sve”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒItalian”…”�”}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ"/translations/it_IT/arch/arm64/sve”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒJapanese”…”�”}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ"/translations/ja_JP/arch/arm64/sve”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒKorean”…”�”}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ"/translations/ko_KR/arch/arm64/sve”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒPortuguese (Brazilian)”…”�”}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ"/translations/pt_BR/arch/arm64/sve”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒSpanish”…”�”}”hh–sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ"/translations/sp_SP/arch/arm64/sve”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒsection”“”)�”}”(hhh]”(hŒtitle”“”)�”}”(hŒ3Scalable Vector Extension support for AArch64 Linux”h]”hŒ3Scalable Vector Extension support for AArch64 Linux”…”�”}”(hh¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhh·h²hh³Œ”h]”(hŒAuthor: Dave Martin <”…”�”}”(hhÍh²hh³Nh´NubhŒ reference”“”)�”}”(hŒDave.Martin@arm.com”h]”hŒDave.Martin@arm.com”…”�”}”(hh×h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”Œmailto:Dave.Martin@arm.com”uh1hÕhhÍubhŒ>”…”�”}”(hhÍh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khh·h²hubhÌ)�”}”(hŒDate: 4 August 2017”h]”hŒDate: 4 August 2017”…”�”}”(hhñh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khh·h²hubhÌ)�”}”(hŒìThis document outlines briefly the interface provided to userspace by Linux in order to support use of the ARM Scalable Vector Extension (SVE), including interactions with Streaming SVE mode added by the Scalable Matrix Extension (SME).”h]”hŒìThis document outlines briefly the interface provided to userspace by Linux in order to support use of the ARM Scalable Vector Extension (SVE), including interactions with Streaming SVE mode added by the Scalable Matrix Extension (SME).”…”�”}”(hhÿh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K hh·h²hubhÌ)�”}”(hŒdThis is an outline of the most important features and issues only and not intended to be exhaustive.”h]”hŒdThis is an outline of the most important features and issues only and not intended to be exhaustive.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khh·h²hubhÌ)�”}”(hŒÊThis document does not aim to describe the SVE architecture or programmer's model. To aid understanding, a minimal description of relevant programmer's model features for SVE is included in Appendix A.”h]”hŒÎThis document does not aim to describe the SVE architecture or programmer’s model. To aid understanding, a minimal description of relevant programmer’s model features for SVE is included in Appendix A.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khh·h²hubh¶)�”}”(hhh]”(h»)�”}”(hŒ 1. General”h]”hŒ 1. General”…”�”}”(hj,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj)h²hh³hÊh´KubhŒ bullet_list”“”)�”}”(hhh]”(hŒ list_item”“”)�”}”(hŒaSVE registers Z0..Z31, P0..P15 and FFR and the current vector length VL, are tracked per-thread. ”h]”hÌ)�”}”(hŒ`SVE registers Z0..Z31, P0..P15 and FFR and the current vector length VL, are tracked per-thread.”h]”hŒ`SVE registers Z0..Z31, P0..P15 and FFR and the current vector length VL, are tracked per-thread.”…”�”}”(hjEh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KhjAubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hj<h²hh³hÊh´Nubj@)�”}”(hŒÊIn streaming mode FFR is not accessible unless HWCAP2_SME_FA64 is present in the system, when it is not supported and these interfaces are used to access streaming mode FFR is read and written as zero. ”h]”hÌ)�”}”(hŒÉIn streaming mode FFR is not accessible unless HWCAP2_SME_FA64 is present in the system, when it is not supported and these interfaces are used to access streaming mode FFR is read and written as zero.”h]”hŒÉIn streaming mode FFR is not accessible unless HWCAP2_SME_FA64 is present in the system, when it is not supported and these interfaces are used to access streaming mode FFR is read and written as zero.”…”�”}”(hj]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KhjYubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hj<h²hh³hÊh´Nubj@)�”}”(hX!The presence of SVE is reported to userspace via HWCAP_SVE in the aux vector AT_HWCAP entry. Presence of this flag implies the presence of the SVE instructions and registers, and the Linux-specific system interfaces described in this document. SVE is reported in /proc/cpuinfo as "sve". ”h]”hÌ)�”}”(hX The presence of SVE is reported to userspace via HWCAP_SVE in the aux vector AT_HWCAP entry. Presence of this flag implies the presence of the SVE instructions and registers, and the Linux-specific system interfaces described in this document. SVE is reported in /proc/cpuinfo as "sve".”h]”hX$The presence of SVE is reported to userspace via HWCAP_SVE in the aux vector AT_HWCAP entry. Presence of this flag implies the presence of the SVE instructions and registers, and the Linux-specific system interfaces described in this document. SVE is reported in /proc/cpuinfo as “sveâ€�.”…”�”}”(hjuh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K hjqubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hj<h²hh³hÊh´Nubj@)�”}”(hXšSupport for the execution of SVE instructions in userspace can also be detected by reading the CPU ID register ID_AA64PFR0_EL1 using an MRS instruction, and checking that the value of the SVE field is nonzero. [3] It does not guarantee the presence of the system interfaces described in the following sections: software that needs to verify that those interfaces are present must check for HWCAP_SVE instead. ”h]”(hÌ)�”}”(hŒÕSupport for the execution of SVE instructions in userspace can also be detected by reading the CPU ID register ID_AA64PFR0_EL1 using an MRS instruction, and checking that the value of the SVE field is nonzero. [3]”h]”hŒÕSupport for the execution of SVE instructions in userspace can also be detected by reading the CPU ID register ID_AA64PFR0_EL1 using an MRS instruction, and checking that the value of the SVE field is nonzero. [3]”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K%hj‰ubhÌ)�”}”(hŒÂIt does not guarantee the presence of the system interfaces described in the following sections: software that needs to verify that those interfaces are present must check for HWCAP_SVE instead.”h]”hŒÂIt does not guarantee the presence of the system interfaces described in the following sections: software that needs to verify that those interfaces are present must check for HWCAP_SVE instead.”…”�”}”(hj›h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K)hj‰ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j?hj<h²hh³hÊh´Nubj@)�”}”(hXaOn hardware that supports the SVE2 extensions, HWCAP2_SVE2 will also be reported in the AT_HWCAP2 aux vector entry. In addition to this, optional extensions to SVE2 may be reported by the presence of: HWCAP2_SVE2 HWCAP2_SVEAES HWCAP2_SVEPMULL HWCAP2_SVEBITPERM HWCAP2_SVESHA3 HWCAP2_SVESM4 HWCAP2_SVE2P1 This list may be extended over time as the SVE architecture evolves. These extensions are also reported via the CPU ID register ID_AA64ZFR0_EL1, which userspace can read using an MRS instruction. See elf_hwcaps.txt and cpu-feature-registers.txt for details. ”h]”(hÌ)�”}”(hŒÉOn hardware that supports the SVE2 extensions, HWCAP2_SVE2 will also be reported in the AT_HWCAP2 aux vector entry. In addition to this, optional extensions to SVE2 may be reported by the presence of:”h]”hŒÉOn hardware that supports the SVE2 extensions, HWCAP2_SVE2 will also be reported in the AT_HWCAP2 aux vector entry. In addition to this, optional extensions to SVE2 may be reported by the presence of:”…”�”}”(hj³h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K-hj¯ubhŒ block_quote”“”)�”}”(hŒgHWCAP2_SVE2 HWCAP2_SVEAES HWCAP2_SVEPMULL HWCAP2_SVEBITPERM HWCAP2_SVESHA3 HWCAP2_SVESM4 HWCAP2_SVE2P1 ”h]”hÌ)�”}”(hŒfHWCAP2_SVE2 HWCAP2_SVEAES HWCAP2_SVEPMULL HWCAP2_SVEBITPERM HWCAP2_SVESHA3 HWCAP2_SVESM4 HWCAP2_SVE2P1”h]”hŒfHWCAP2_SVE2 HWCAP2_SVEAES HWCAP2_SVEPMULL HWCAP2_SVEBITPERM HWCAP2_SVESHA3 HWCAP2_SVESM4 HWCAP2_SVE2P1”…”�”}”(hjÇh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K1hjÃubah}”(h]”h ]”h"]”h$]”h&]”uh1jÁh³hÊh´K1hj¯ubhÌ)�”}”(hŒDThis list may be extended over time as the SVE architecture evolves.”h]”hŒDThis list may be extended over time as the SVE architecture evolves.”…”�”}”(hjÛh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K9hj¯ubhÌ)�”}”(hŒ½These extensions are also reported via the CPU ID register ID_AA64ZFR0_EL1, which userspace can read using an MRS instruction. See elf_hwcaps.txt and cpu-feature-registers.txt for details.”h]”hŒ½These extensions are also reported via the CPU ID register ID_AA64ZFR0_EL1, which userspace can read using an MRS instruction. See elf_hwcaps.txt and cpu-feature-registers.txt for details.”…”�”}”(hjéh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K;hj¯ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j?hj<h²hh³hÊh´Nubj@)�”}”(hX+On hardware that supports the SME extensions, HWCAP2_SME will also be reported in the AT_HWCAP2 aux vector entry. Among other things SME adds streaming mode which provides a subset of the SVE feature set using a separate SME vector length and the same Z/V registers. See sme.rst for more details. ”h]”hÌ)�”}”(hX*On hardware that supports the SME extensions, HWCAP2_SME will also be reported in the AT_HWCAP2 aux vector entry. Among other things SME adds streaming mode which provides a subset of the SVE feature set using a separate SME vector length and the same Z/V registers. See sme.rst for more details.”h]”hX*On hardware that supports the SME extensions, HWCAP2_SME will also be reported in the AT_HWCAP2 aux vector entry. Among other things SME adds streaming mode which provides a subset of the SVE feature set using a separate SME vector length and the same Z/V registers. See sme.rst for more details.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K?hjýubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hj<h²hh³hÊh´Nubj@)�”}”(hX¾Debuggers should restrict themselves to interacting with the target via the NT_ARM_SVE regset. The recommended way of detecting support for this regset is to connect to a target process first and then attempt a ptrace(PTRACE_GETREGSET, pid, NT_ARM_SVE, &iov). Note that when SME is present and streaming SVE mode is in use the FPSIMD subset of registers will be read via NT_ARM_SVE and NT_ARM_SVE writes will exit streaming mode in the target. ”h]”hÌ)�”}”(hX½Debuggers should restrict themselves to interacting with the target via the NT_ARM_SVE regset. The recommended way of detecting support for this regset is to connect to a target process first and then attempt a ptrace(PTRACE_GETREGSET, pid, NT_ARM_SVE, &iov). Note that when SME is present and streaming SVE mode is in use the FPSIMD subset of registers will be read via NT_ARM_SVE and NT_ARM_SVE writes will exit streaming mode in the target.”h]”hX½Debuggers should restrict themselves to interacting with the target via the NT_ARM_SVE regset. The recommended way of detecting support for this regset is to connect to a target process first and then attempt a ptrace(PTRACE_GETREGSET, pid, NT_ARM_SVE, &iov). Note that when SME is present and streaming SVE mode is in use the FPSIMD subset of registers will be read via NT_ARM_SVE and NT_ARM_SVE writes will exit streaming mode in the target.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KEhjubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hj<h²hh³hÊh´Nubj@)�”}”(hXÏWhenever SVE scalable register values (Zn, Pn, FFR) are exchanged in memory between userspace and the kernel, the register value is encoded in memory in an endianness-invariant layout, with bits [(8 * i + 7) : (8 * i)] encoded at byte offset i from the start of the memory representation. This affects for example the signal frame (struct sve_context) and ptrace interface (struct user_sve_header) and associated data. Beware that on big-endian systems this results in a different byte order than for the FPSIMD V-registers, which are stored as single host-endian 128-bit values, with bits [(127 - 8 * i) : (120 - 8 * i)] of the register encoded at byte offset i. (struct fpsimd_context, struct user_fpsimd_state). ”h]”(hÌ)�”}”(hX£Whenever SVE scalable register values (Zn, Pn, FFR) are exchanged in memory between userspace and the kernel, the register value is encoded in memory in an endianness-invariant layout, with bits [(8 * i + 7) : (8 * i)] encoded at byte offset i from the start of the memory representation. This affects for example the signal frame (struct sve_context) and ptrace interface (struct user_sve_header) and associated data.”h]”hX£Whenever SVE scalable register values (Zn, Pn, FFR) are exchanged in memory between userspace and the kernel, the register value is encoded in memory in an endianness-invariant layout, with bits [(8 * i + 7) : (8 * i)] encoded at byte offset i from the start of the memory representation. This affects for example the signal frame (struct sve_context) and ptrace interface (struct user_sve_header) and associated data.”…”�”}”(hj1h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KMhj-ubhÌ)�”}”(hX(Beware that on big-endian systems this results in a different byte order than for the FPSIMD V-registers, which are stored as single host-endian 128-bit values, with bits [(127 - 8 * i) : (120 - 8 * i)] of the register encoded at byte offset i. (struct fpsimd_context, struct user_fpsimd_state).”h]”hX(Beware that on big-endian systems this results in a different byte order than for the FPSIMD V-registers, which are stored as single host-endian 128-bit values, with bits [(127 - 8 * i) : (120 - 8 * i)] of the register encoded at byte offset i. (struct fpsimd_context, struct user_fpsimd_state).”…”�”}”(hj?h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KThj-ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j?hj<h²hh³hÊh´Nubeh}”(h]”h ]”h"]”h$]”h&]”Œbullet”Œ*”uh1j:h³hÊh´Khj)h²hubeh}”(h]”Œgeneral”ah ]”h"]”Œ 1. general”ah$]”h&]”uh1hµhh·h²hh³hÊh´Kubh¶)�”}”(hhh]”(h»)�”}”(hŒ2. Vector length terminology”h]”hŒ2. Vector length terminology”…”�”}”(hjfh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjch²hh³hÊh´K[ubhÌ)�”}”(hŒMThe size of an SVE vector (Z) register is referred to as the "vector length".”h]”hŒQThe size of an SVE vector (Z) register is referred to as the “vector lengthâ€�.”…”�”}”(hjth²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K]hjch²hubhÌ)�”}”(hŒnTo avoid confusion about the units used to express vector length, the kernel adopts the following conventions:”h]”hŒnTo avoid confusion about the units used to express vector length, the kernel adopts the following conventions:”…”�”}”(hj‚h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K_hjch²hubj;)�”}”(hhh]”(j@)�”}”(hŒ3Vector length (VL) = size of a Z-register in bytes ”h]”hÌ)�”}”(hŒ2Vector length (VL) = size of a Z-register in bytes”h]”hŒ2Vector length (VL) = size of a Z-register in bytes”…”�”}”(hj—h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kbhj“ubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hj�h²hh³hÊh´Nubj@)�”}”(hŒBVector quadwords (VQ) = size of a Z-register in units of 128 bits ”h]”hÌ)�”}”(hŒAVector quadwords (VQ) = size of a Z-register in units of 128 bits”h]”hŒAVector quadwords (VQ) = size of a Z-register in units of 128 bits”…”�”}”(hj¯h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kdhj«ubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hj�h²hh³hÊh´Nubeh}”(h]”h ]”h"]”h$]”h&]”jYjZuh1j:h³hÊh´Kbhjch²hubhÌ)�”}”(hŒ(So, VL = 16 * VQ.)”h]”hŒ(So, VL = 16 * VQ.)”…”�”}”(hjÉh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kfhjch²hubhÌ)�”}”(hXThe VQ convention is used where the underlying granularity is important, such as in data structure definitions. In most other situations, the VL convention is used. This is consistent with the meaning of the "VL" pseudo-register in the SVE instruction set architecture.”h]”hXThe VQ convention is used where the underlying granularity is important, such as in data structure definitions. In most other situations, the VL convention is used. This is consistent with the meaning of the “VLâ€� pseudo-register in the SVE instruction set architecture.”…”�”}”(hj×h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khhjch²hubeh}”(h]”Œvector-length-terminology”ah ]”h"]”Œ2. vector length terminology”ah$]”h&]”uh1hµhh·h²hh³hÊh´K[ubh¶)�”}”(hhh]”(h»)�”}”(hŒ3. System call behaviour”h]”hŒ3. System call behaviour”…”�”}”(hjðh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjíh²hh³hÊh´Koubj;)�”}”(hhh]”(j@)�”}”(hŒ¿On syscall, V0..V31 are preserved (as without SVE). Thus, bits [127:0] of Z0..Z31 are preserved. All other bits of Z0..Z31, and all of P0..P15 and FFR become zero on return from a syscall. ”h]”hÌ)�”}”(hŒ¾On syscall, V0..V31 are preserved (as without SVE). Thus, bits [127:0] of Z0..Z31 are preserved. All other bits of Z0..Z31, and all of P0..P15 and FFR become zero on return from a syscall.”h]”hŒ¾On syscall, V0..V31 are preserved (as without SVE). Thus, bits [127:0] of Z0..Z31 are preserved. All other bits of Z0..Z31, and all of P0..P15 and FFR become zero on return from a syscall.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kqhjubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hjþh²hh³hÊh´Nubj@)�”}”(hŒYThe SVE registers are not used to pass arguments to or receive results from any syscall. ”h]”hÌ)�”}”(hŒXThe SVE registers are not used to pass arguments to or receive results from any syscall.”h]”hŒXThe SVE registers are not used to pass arguments to or receive results from any syscall.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kuhjubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hjþh²hh³hÊh´Nubj@)�”}”(hX¿All other SVE state of a thread, including the currently configured vector length, the state of the PR_SVE_VL_INHERIT flag, and the deferred vector length (if any), is preserved across all syscalls, subject to the specific exceptions for execve() described in section 6. In particular, on return from a fork() or clone(), the parent and new child process or thread share identical SVE configuration, matching that of the parent before the call. ”h]”(hÌ)�”}”(hXAll other SVE state of a thread, including the currently configured vector length, the state of the PR_SVE_VL_INHERIT flag, and the deferred vector length (if any), is preserved across all syscalls, subject to the specific exceptions for execve() described in section 6.”h]”hXAll other SVE state of a thread, including the currently configured vector length, the state of the PR_SVE_VL_INHERIT flag, and the deferred vector length (if any), is preserved across all syscalls, subject to the specific exceptions for execve() described in section 6.”…”�”}”(hj5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kxhj1ubhÌ)�”}”(hŒ­In particular, on return from a fork() or clone(), the parent and new child process or thread share identical SVE configuration, matching that of the parent before the call.”h]”hŒ­In particular, on return from a fork() or clone(), the parent and new child process or thread share identical SVE configuration, matching that of the parent before the call.”…”�”}”(hjCh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K}hj1ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j?hjþh²hh³hÊh´Nubeh}”(h]”h ]”h"]”h$]”h&]”jYjZuh1j:h³hÊh´Kqhjíh²hubeh}”(h]”Œsystem-call-behaviour”ah ]”h"]”Œ3. system call behaviour”ah$]”h&]”uh1hµhh·h²hh³hÊh´Koubh¶)�”}”(hhh]”(h»)�”}”(hŒ4. Signal handling”h]”hŒ4. Signal handling”…”�”}”(hjhh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjeh²hh³hÊh´Kƒubj;)�”}”(hhh]”(j@)�”}”(hŒXA new signal frame record sve_context encodes the SVE registers on signal delivery. [1] ”h]”hÌ)�”}”(hŒWA new signal frame record sve_context encodes the SVE registers on signal delivery. [1]”h]”hŒWA new signal frame record sve_context encodes the SVE registers on signal delivery. [1]”…”�”}”(hj}h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K…hjyubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hjvh²hh³hÊh´Nubj@)�”}”(hŒÐThis record is supplementary to fpsimd_context. The FPSR and FPCR registers are only present in fpsimd_context. For convenience, the content of V0..V31 is duplicated between sve_context and fpsimd_context. ”h]”hÌ)�”}”(hŒÏThis record is supplementary to fpsimd_context. The FPSR and FPCR registers are only present in fpsimd_context. For convenience, the content of V0..V31 is duplicated between sve_context and fpsimd_context.”h]”hŒÏThis record is supplementary to fpsimd_context. The FPSR and FPCR registers are only present in fpsimd_context. For convenience, the content of V0..V31 is duplicated between sve_context and fpsimd_context.”…”�”}”(hj•h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kˆhj‘ubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hjvh²hh³hÊh´Nubj@)�”}”(hŒëThe record contains a flag field which includes a flag SVE_SIG_FLAG_SM which if set indicates that the thread is in streaming mode and the vector length and register data (if present) describe the streaming SVE data and vector length. ”h]”hÌ)�”}”(hŒêThe record contains a flag field which includes a flag SVE_SIG_FLAG_SM which if set indicates that the thread is in streaming mode and the vector length and register data (if present) describe the streaming SVE data and vector length.”h]”hŒêThe record contains a flag field which includes a flag SVE_SIG_FLAG_SM which if set indicates that the thread is in streaming mode and the vector length and register data (if present) describe the streaming SVE data and vector length.”…”�”}”(hj­h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KŒhj©ubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hjvh²hh³hÊh´Nubj@)�”}”(hŒ~The signal frame record for SVE always contains basic metadata, in particular the thread's vector length (in sve_context.vl). ”h]”hÌ)�”}”(hŒ}The signal frame record for SVE always contains basic metadata, in particular the thread's vector length (in sve_context.vl).”h]”hŒThe signal frame record for SVE always contains basic metadata, in particular the thread’s vector length (in sve_context.vl).”…”�”}”(hjÅh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K‘hjÁubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hjvh²hh³hÊh´Nubj@)�”}”(hŒòThe SVE registers may or may not be included in the record, depending on whether the registers are live for the thread. The registers are present if and only if: sve_context.head.size >= SVE_SIG_CONTEXT_SIZE(sve_vq_from_vl(sve_context.vl)). ”h]”hÌ)�”}”(hŒñThe SVE registers may or may not be included in the record, depending on whether the registers are live for the thread. The registers are present if and only if: sve_context.head.size >= SVE_SIG_CONTEXT_SIZE(sve_vq_from_vl(sve_context.vl)).”h]”hŒñThe SVE registers may or may not be included in the record, depending on whether the registers are live for the thread. The registers are present if and only if: sve_context.head.size >= SVE_SIG_CONTEXT_SIZE(sve_vq_from_vl(sve_context.vl)).”…”�”}”(hjÝh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K”hjÙubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hjvh²hh³hÊh´Nubj@)�”}”(hŒ¥If the registers are present, the remainder of the record has a vl-dependent size and layout. Macros SVE_SIG_* are defined [1] to facilitate access to the members. ”h]”hÌ)�”}”(hŒ¤If the registers are present, the remainder of the record has a vl-dependent size and layout. Macros SVE_SIG_* are defined [1] to facilitate access to the members.”h]”hŒ¤If the registers are present, the remainder of the record has a vl-dependent size and layout. Macros SVE_SIG_* are defined [1] to facilitate access to the members.”…”�”}”(hjõh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K™hjñubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hjvh²hh³hÊh´Nubj@)�”}”(hŒÇEach scalable register (Zn, Pn, FFR) is stored in an endianness-invariant layout, with bits [(8 * i + 7) : (8 * i)] stored at byte offset i from the start of the register's representation in memory. ”h]”hÌ)�”}”(hŒÆEach scalable register (Zn, Pn, FFR) is stored in an endianness-invariant layout, with bits [(8 * i + 7) : (8 * i)] stored at byte offset i from the start of the register's representation in memory.”h]”hŒÈEach scalable register (Zn, Pn, FFR) is stored in an endianness-invariant layout, with bits [(8 * i + 7) : (8 * i)] stored at byte offset i from the start of the register’s representation in memory.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K�hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hjvh²hh³hÊh´Nubj@)�”}”(hX"If the SVE context is too big to fit in sigcontext.__reserved[], then extra space is allocated on the stack, an extra_context record is written in __reserved[] referencing this space. sve_context is then written in the extra space. Refer to [1] for further details about this mechanism. ”h]”hÌ)�”}”(hX If the SVE context is too big to fit in sigcontext.__reserved[], then extra space is allocated on the stack, an extra_context record is written in __reserved[] referencing this space. sve_context is then written in the extra space. Refer to [1] for further details about this mechanism.”h]”hX If the SVE context is too big to fit in sigcontext.__reserved[], then extra space is allocated on the stack, an extra_context record is written in __reserved[] referencing this space. sve_context is then written in the extra space. Refer to [1] for further details about this mechanism.”…”�”}”(hj%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K¡hj!ubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hjvh²hh³hÊh´Nubeh}”(h]”h ]”h"]”h$]”h&]”jYjZuh1j:h³hÊh´K…hjeh²hubeh}”(h]”Œsignal-handling”ah ]”h"]”Œ4. signal handling”ah$]”h&]”uh1hµhh·h²hh³hÊh´Kƒubh¶)�”}”(hhh]”(h»)�”}”(hŒ5. Signal return”h]”hŒ5. Signal return”…”�”}”(hjJh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjGh²hh³hÊh´K¨ubhÌ)�”}”(hŒ%When returning from a signal handler:”h]”hŒ%When returning from a signal handler:”…”�”}”(hjXh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KªhjGh²hubj;)�”}”(hhh]”(j@)�”}”(hŒàIf there is no sve_context record in the signal frame, or if the record is present but contains no register data as described in the previous section, then the SVE registers/bits become non-live and take unspecified values. ”h]”hÌ)�”}”(hŒßIf there is no sve_context record in the signal frame, or if the record is present but contains no register data as described in the previous section, then the SVE registers/bits become non-live and take unspecified values.”h]”hŒßIf there is no sve_context record in the signal frame, or if the record is present but contains no register data as described in the previous section, then the SVE registers/bits become non-live and take unspecified values.”…”�”}”(hjmh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K¬hjiubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hjfh²hh³hÊh´Nubj@)�”}”(hXxIf sve_context is present in the signal frame and contains full register data, the SVE registers become live and are populated with the specified data. However, for backward compatibility reasons, bits [127:0] of Z0..Z31 are always restored from the corresponding members of fpsimd_context.vregs[] and not from sve_context. The remaining bits are restored from sve_context. ”h]”hÌ)�”}”(hXwIf sve_context is present in the signal frame and contains full register data, the SVE registers become live and are populated with the specified data. However, for backward compatibility reasons, bits [127:0] of Z0..Z31 are always restored from the corresponding members of fpsimd_context.vregs[] and not from sve_context. The remaining bits are restored from sve_context.”h]”hXwIf sve_context is present in the signal frame and contains full register data, the SVE registers become live and are populated with the specified data. However, for backward compatibility reasons, bits [127:0] of Z0..Z31 are always restored from the corresponding members of fpsimd_context.vregs[] and not from sve_context. The remaining bits are restored from sve_context.”…”�”}”(hj…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K°hj�ubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hjfh²hh³hÊh´Nubj@)�”}”(hŒzInclusion of fpsimd_context in the signal frame remains mandatory, irrespective of whether sve_context is present or not. ”h]”hÌ)�”}”(hŒyInclusion of fpsimd_context in the signal frame remains mandatory, irrespective of whether sve_context is present or not.”h]”hŒyInclusion of fpsimd_context in the signal frame remains mandatory, irrespective of whether sve_context is present or not.”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K¶hj™ubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hjfh²hh³hÊh´Nubj@)�”}”(hŒØThe vector length cannot be changed via signal return. If sve_context.vl in the signal frame does not match the current vector length, the signal return attempt is treated as illegal, resulting in a forced SIGSEGV. ”h]”hÌ)�”}”(hŒ×The vector length cannot be changed via signal return. If sve_context.vl in the signal frame does not match the current vector length, the signal return attempt is treated as illegal, resulting in a forced SIGSEGV.”h]”hŒ×The vector length cannot be changed via signal return. If sve_context.vl in the signal frame does not match the current vector length, the signal return attempt is treated as illegal, resulting in a forced SIGSEGV.”…”�”}”(hjµh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K¹hj±ubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hjfh²hh³hÊh´Nubj@)�”}”(hŒýIt is permitted to enter or leave streaming mode by setting or clearing the SVE_SIG_FLAG_SM flag but applications should take care to ensure that when doing so sve_context.vl and any register data are appropriate for the vector length in the new mode. ”h]”hÌ)�”}”(hŒûIt is permitted to enter or leave streaming mode by setting or clearing the SVE_SIG_FLAG_SM flag but applications should take care to ensure that when doing so sve_context.vl and any register data are appropriate for the vector length in the new mode.”h]”hŒûIt is permitted to enter or leave streaming mode by setting or clearing the SVE_SIG_FLAG_SM flag but applications should take care to ensure that when doing so sve_context.vl and any register data are appropriate for the vector length in the new mode.”…”�”}”(hjÍh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K½hjÉubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hjfh²hh³hÊh´Nubeh}”(h]”h ]”h"]”h$]”h&]”jYjZuh1j:h³hÊh´K¬hjGh²hubeh}”(h]”Œ signal-return”ah ]”h"]”Œ5. signal return”ah$]”h&]”uh1hµhh·h²hh³hÊh´K¨ubh¶)�”}”(hhh]”(h»)�”}”(hŒ6. prctl extensions”h]”hŒ6. prctl extensions”…”�”}”(hjòh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjïh²hh³hÊh´KÄubhÌ)�”}”(hŒSSome new prctl() calls are added to allow programs to manage the SVE vector length:”h]”hŒSSome new prctl() calls are added to allow programs to manage the SVE vector length:”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KÆhjïh²hubhÌ)�”}”(hŒ'prctl(PR_SVE_SET_VL, unsigned long arg)”h]”hŒ'prctl(PR_SVE_SET_VL, unsigned long arg)”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KÉhjïh²hubjÂ)�”}”(hXD Sets the vector length of the calling thread and related flags, where arg == vl | flags. Other threads of the calling process are unaffected. vl is the desired vector length, where sve_vl_valid(vl) must be true. flags: PR_SVE_VL_INHERIT Inherit the current vector length across execve(). Otherwise, the vector length is reset to the system default at execve(). (See Section 9.) PR_SVE_SET_VL_ONEXEC Defer the requested vector length change until the next execve() performed by this thread. The effect is equivalent to implicit execution of the following call immediately after the next execve() (if any) by the thread: prctl(PR_SVE_SET_VL, arg & ~PR_SVE_SET_VL_ONEXEC) This allows launching of a new program with a different vector length, while avoiding runtime side effects in the caller. Without PR_SVE_SET_VL_ONEXEC, the requested change takes effect immediately. Return value: a nonnegative on success, or a negative value on error: EINVAL: SVE not supported, invalid vector length requested, or invalid flags. On success: * Either the calling thread's vector length or the deferred vector length to be applied at the next execve() by the thread (dependent on whether PR_SVE_SET_VL_ONEXEC is present in arg), is set to the largest value supported by the system that is less than or equal to vl. If vl == SVE_VL_MAX, the value set will be the largest value supported by the system. * Any previously outstanding deferred vector length change in the calling thread is cancelled. * The returned value describes the resulting configuration, encoded as for PR_SVE_GET_VL. The vector length reported in this value is the new current vector length for this thread if PR_SVE_SET_VL_ONEXEC was not present in arg; otherwise, the reported vector length is the deferred vector length that will be applied at the next execve() by the calling thread. * Changing the vector length causes all of P0..P15, FFR and all bits of Z0..Z31 except for Z0 bits [127:0] .. Z31 bits [127:0] to become unspecified. Calling PR_SVE_SET_VL with vl equal to the thread's current vector length, or calling PR_SVE_SET_VL with the PR_SVE_SET_VL_ONEXEC flag, does not constitute a change to the vector length for this purpose. ”h]”(hÌ)�”}”(hŒŽSets the vector length of the calling thread and related flags, where arg == vl | flags. Other threads of the calling process are unaffected.”h]”hŒŽSets the vector length of the calling thread and related flags, where arg == vl | flags. Other threads of the calling process are unaffected.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KËhjubhÌ)�”}”(hŒEvl is the desired vector length, where sve_vl_valid(vl) must be true.”h]”hŒEvl is the desired vector length, where sve_vl_valid(vl) must be true.”…”�”}”(hj.h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KÎhjubhÌ)�”}”(hŒflags:”h]”hŒflags:”…”�”}”(hj<h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KÐhjubjÂ)�”}”(hXÈPR_SVE_VL_INHERIT Inherit the current vector length across execve(). Otherwise, the vector length is reset to the system default at execve(). (See Section 9.) PR_SVE_SET_VL_ONEXEC Defer the requested vector length change until the next execve() performed by this thread. The effect is equivalent to implicit execution of the following call immediately after the next execve() (if any) by the thread: prctl(PR_SVE_SET_VL, arg & ~PR_SVE_SET_VL_ONEXEC) This allows launching of a new program with a different vector length, while avoiding runtime side effects in the caller. Without PR_SVE_SET_VL_ONEXEC, the requested change takes effect immediately. ”h]”(hÌ)�”}”(hŒPR_SVE_VL_INHERIT”h]”hŒPR_SVE_VL_INHERIT”…”�”}”(hjNh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KÒhjJubjÂ)�”}”(hŒ�Inherit the current vector length across execve(). Otherwise, the vector length is reset to the system default at execve(). (See Section 9.) ”h]”hÌ)�”}”(hŒŽInherit the current vector length across execve(). Otherwise, the vector length is reset to the system default at execve(). (See Section 9.)”h]”hŒŽInherit the current vector length across execve(). Otherwise, the vector length is reset to the system default at execve(). (See Section 9.)”…”�”}”(hj`h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KÔhj\ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÁh³hÊh´KÔhjJubhÌ)�”}”(hŒPR_SVE_SET_VL_ONEXEC”h]”hŒPR_SVE_SET_VL_ONEXEC”…”�”}”(hjth²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KØhjJubjÂ)�”}”(hXßDefer the requested vector length change until the next execve() performed by this thread. The effect is equivalent to implicit execution of the following call immediately after the next execve() (if any) by the thread: prctl(PR_SVE_SET_VL, arg & ~PR_SVE_SET_VL_ONEXEC) This allows launching of a new program with a different vector length, while avoiding runtime side effects in the caller. Without PR_SVE_SET_VL_ONEXEC, the requested change takes effect immediately. ”h]”(hÌ)�”}”(hŒZDefer the requested vector length change until the next execve() performed by this thread.”h]”hŒZDefer the requested vector length change until the next execve() performed by this thread.”…”�”}”(hj†h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KÚhj‚ubhÌ)�”}”(hŒ€The effect is equivalent to implicit execution of the following call immediately after the next execve() (if any) by the thread:”h]”hŒ€The effect is equivalent to implicit execution of the following call immediately after the next execve() (if any) by the thread:”…”�”}”(hj”h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KÝhj‚ubjÂ)�”}”(hŒ2prctl(PR_SVE_SET_VL, arg & ~PR_SVE_SET_VL_ONEXEC) ”h]”hÌ)�”}”(hŒ1prctl(PR_SVE_SET_VL, arg & ~PR_SVE_SET_VL_ONEXEC)”h]”hŒ1prctl(PR_SVE_SET_VL, arg & ~PR_SVE_SET_VL_ONEXEC)”…”�”}”(hj¦h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kàhj¢ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÁh³hÊh´Kàhj‚ubhÌ)�”}”(hŒyThis allows launching of a new program with a different vector length, while avoiding runtime side effects in the caller.”h]”hŒyThis allows launching of a new program with a different vector length, while avoiding runtime side effects in the caller.”…”�”}”(hjºh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kâhj‚ubhÌ)�”}”(hŒLWithout PR_SVE_SET_VL_ONEXEC, the requested change takes effect immediately.”h]”hŒLWithout PR_SVE_SET_VL_ONEXEC, the requested change takes effect immediately.”…”�”}”(hjÈh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kæhj‚ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÁh³hÊh´KÚhjJubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÁh³hÊh´KÒhjubhŒdefinition_list”“”)�”}”(hhh]”hŒdefinition_list_item”“”)�”}”(hŒ™Return value: a nonnegative on success, or a negative value on error: EINVAL: SVE not supported, invalid vector length requested, or invalid flags. ”h]”(hŒterm”“”)�”}”(hŒEReturn value: a nonnegative on success, or a negative value on error:”h]”hŒEReturn value: a nonnegative on success, or a negative value on error:”…”�”}”(hjïh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jíh³hÊh´KíhjéubhŒ definition”“”)�”}”(hhh]”jã)�”}”(hhh]”jè)�”}”(hŒOEINVAL: SVE not supported, invalid vector length requested, or invalid flags. ”h]”(jî)�”}”(hŒ>EINVAL: SVE not supported, invalid vector length requested, or”h]”hŒ>EINVAL: SVE not supported, invalid vector length requested, or”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jíh³hÊh´Kíhjubjþ)�”}”(hhh]”hÌ)�”}”(hŒinvalid flags.”h]”hŒinvalid flags.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kìhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jýhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jçh³hÊh´Kíhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jâhjÿubah}”(h]”h ]”h"]”h$]”h&]”uh1jýhjéubeh}”(h]”h ]”h"]”h$]”h&]”uh1jçh³hÊh´Kíhjäubah}”(h]”h ]”h"]”h$]”h&]”uh1jâhjubhÌ)�”}”(hŒ On success:”h]”hŒ On success:”…”�”}”(hjLh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kïhjubj;)�”}”(hhh]”(j@)�”}”(hXeEither the calling thread's vector length or the deferred vector length to be applied at the next execve() by the thread (dependent on whether PR_SVE_SET_VL_ONEXEC is present in arg), is set to the largest value supported by the system that is less than or equal to vl. If vl == SVE_VL_MAX, the value set will be the largest value supported by the system. ”h]”hÌ)�”}”(hXdEither the calling thread's vector length or the deferred vector length to be applied at the next execve() by the thread (dependent on whether PR_SVE_SET_VL_ONEXEC is present in arg), is set to the largest value supported by the system that is less than or equal to vl. If vl == SVE_VL_MAX, the value set will be the largest value supported by the system.”h]”hXfEither the calling thread’s vector length or the deferred vector length to be applied at the next execve() by the thread (dependent on whether PR_SVE_SET_VL_ONEXEC is present in arg), is set to the largest value supported by the system that is less than or equal to vl. If vl == SVE_VL_MAX, the value set will be the largest value supported by the system.”…”�”}”(hjah²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kñhj]ubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hjZubj@)�”}”(hŒ]Any previously outstanding deferred vector length change in the calling thread is cancelled. ”h]”hÌ)�”}”(hŒ\Any previously outstanding deferred vector length change in the calling thread is cancelled.”h]”hŒ\Any previously outstanding deferred vector length change in the calling thread is cancelled.”…”�”}”(hjyh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Køhjuubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hjZubj@)�”}”(hXhThe returned value describes the resulting configuration, encoded as for PR_SVE_GET_VL. The vector length reported in this value is the new current vector length for this thread if PR_SVE_SET_VL_ONEXEC was not present in arg; otherwise, the reported vector length is the deferred vector length that will be applied at the next execve() by the calling thread. ”h]”hÌ)�”}”(hXgThe returned value describes the resulting configuration, encoded as for PR_SVE_GET_VL. The vector length reported in this value is the new current vector length for this thread if PR_SVE_SET_VL_ONEXEC was not present in arg; otherwise, the reported vector length is the deferred vector length that will be applied at the next execve() by the calling thread.”h]”hXgThe returned value describes the resulting configuration, encoded as for PR_SVE_GET_VL. The vector length reported in this value is the new current vector length for this thread if PR_SVE_SET_VL_ONEXEC was not present in arg; otherwise, the reported vector length is the deferred vector length that will be applied at the next execve() by the calling thread.”…”�”}”(hj‘h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kûhj�ubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hjZubj@)�”}”(hXbChanging the vector length causes all of P0..P15, FFR and all bits of Z0..Z31 except for Z0 bits [127:0] .. Z31 bits [127:0] to become unspecified. Calling PR_SVE_SET_VL with vl equal to the thread's current vector length, or calling PR_SVE_SET_VL with the PR_SVE_SET_VL_ONEXEC flag, does not constitute a change to the vector length for this purpose. ”h]”hÌ)�”}”(hX`Changing the vector length causes all of P0..P15, FFR and all bits of Z0..Z31 except for Z0 bits [127:0] .. Z31 bits [127:0] to become unspecified. Calling PR_SVE_SET_VL with vl equal to the thread's current vector length, or calling PR_SVE_SET_VL with the PR_SVE_SET_VL_ONEXEC flag, does not constitute a change to the vector length for this purpose.”h]”hXbChanging the vector length causes all of P0..P15, FFR and all bits of Z0..Z31 except for Z0 bits [127:0] .. Z31 bits [127:0] to become unspecified. Calling PR_SVE_SET_VL with vl equal to the thread’s current vector length, or calling PR_SVE_SET_VL with the PR_SVE_SET_VL_ONEXEC flag, does not constitute a change to the vector length for this purpose.”…”�”}”(hj©h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Mhj¥ubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hjZubeh}”(h]”h ]”h"]”h$]”h&]”jYjZuh1j:h³hÊh´Kñhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÁh³hÊh´KËhjïh²hubhÌ)�”}”(hŒprctl(PR_SVE_GET_VL)”h]”hŒprctl(PR_SVE_GET_VL)”…”�”}”(hjÉh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M hjïh²hubjÂ)�”}”(hXDGets the vector length of the calling thread. The following flag may be OR-ed into the result: PR_SVE_VL_INHERIT Vector length will be inherited across execve(). There is no way to determine whether there is an outstanding deferred vector length change (which would only normally be the case between a fork() or vfork() and the corresponding execve() in typical use). To extract the vector length from the result, bitwise and it with PR_SVE_VL_LEN_MASK. Return value: a nonnegative value on success, or a negative value on error: EINVAL: SVE not supported. ”h]”(hÌ)�”}”(hŒ-Gets the vector length of the calling thread.”h]”hŒ-Gets the vector length of the calling thread.”…”�”}”(hjÛh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M hj×ubhÌ)�”}”(hŒ0The following flag may be OR-ed into the result:”h]”hŒ0The following flag may be OR-ed into the result:”…”�”}”(hjéh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M hj×ubjÂ)�”}”(hŒHPR_SVE_VL_INHERIT Vector length will be inherited across execve(). ”h]”(hÌ)�”}”(hŒPR_SVE_VL_INHERIT”h]”hŒPR_SVE_VL_INHERIT”…”�”}”(hjûh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Mhj÷ubjÂ)�”}”(hŒ1Vector length will be inherited across execve(). ”h]”hÌ)�”}”(hŒ0Vector length will be inherited across execve().”h]”hŒ0Vector length will be inherited across execve().”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Mhj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÁh³hÊh´Mhj÷ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÁh³hÊh´Mhj×ubhÌ)�”}”(hŒÍThere is no way to determine whether there is an outstanding deferred vector length change (which would only normally be the case between a fork() or vfork() and the corresponding execve() in typical use).”h]”hŒÍThere is no way to determine whether there is an outstanding deferred vector length change (which would only normally be the case between a fork() or vfork() and the corresponding execve() in typical use).”…”�”}”(hj'h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Mhj×ubhÌ)�”}”(hŒUTo extract the vector length from the result, bitwise and it with PR_SVE_VL_LEN_MASK.”h]”hŒUTo extract the vector length from the result, bitwise and it with PR_SVE_VL_LEN_MASK.”…”�”}”(hj5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Mhj×ubjã)�”}”(hhh]”jè)�”}”(hŒhReturn value: a nonnegative value on success, or a negative value on error: EINVAL: SVE not supported. ”h]”(jî)�”}”(hŒKReturn value: a nonnegative value on success, or a negative value on error:”h]”hŒKReturn value: a nonnegative value on success, or a negative value on error:”…”�”}”(hjJh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jíh³hÊh´MhjFubjþ)�”}”(hhh]”hÌ)�”}”(hŒEINVAL: SVE not supported.”h]”hŒEINVAL: SVE not supported.”…”�”}”(hj[h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MhjXubah}”(h]”h ]”h"]”h$]”h&]”uh1jýhjFubeh}”(h]”h ]”h"]”h$]”h&]”uh1jçh³hÊh´MhjCubah}”(h]”h ]”h"]”h$]”h&]”uh1jâhj×ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÁh³hÊh´M hjïh²hubeh}”(h]”Œprctl-extensions”ah ]”h"]”Œ6. prctl extensions”ah$]”h&]”uh1hµhh·h²hh³hÊh´KÄubh¶)�”}”(hhh]”(h»)�”}”(hŒ7. ptrace extensions”h]”hŒ7. ptrace extensions”…”�”}”(hjŒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj‰h²hh³hÊh´Mubj;)�”}”(hhh]”j@)�”}”(hXÎNew regsets NT_ARM_SVE and NT_ARM_SSVE are defined for use with PTRACE_GETREGSET and PTRACE_SETREGSET. NT_ARM_SSVE describes the streaming mode SVE registers and NT_ARM_SVE describes the non-streaming mode SVE registers. In this description a register set is referred to as being "live" when the target is in the appropriate streaming or non-streaming mode and is using data beyond the subset shared with the FPSIMD Vn registers. Refer to [2] for definitions. ”h]”(hÌ)�”}”(hŒÜNew regsets NT_ARM_SVE and NT_ARM_SSVE are defined for use with PTRACE_GETREGSET and PTRACE_SETREGSET. NT_ARM_SSVE describes the streaming mode SVE registers and NT_ARM_SVE describes the non-streaming mode SVE registers.”h]”hŒÜNew regsets NT_ARM_SVE and NT_ARM_SSVE are defined for use with PTRACE_GETREGSET and PTRACE_SETREGSET. NT_ARM_SSVE describes the streaming mode SVE registers and NT_ARM_SVE describes the non-streaming mode SVE registers.”…”�”}”(hj¡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M!hj�ubhÌ)�”}”(hŒÐIn this description a register set is referred to as being "live" when the target is in the appropriate streaming or non-streaming mode and is using data beyond the subset shared with the FPSIMD Vn registers.”h]”hŒÔIn this description a register set is referred to as being “liveâ€� when the target is in the appropriate streaming or non-streaming mode and is using data beyond the subset shared with the FPSIMD Vn registers.”…”�”}”(hj¯h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M&hj�ubhÌ)�”}”(hŒRefer to [2] for definitions.”h]”hŒRefer to [2] for definitions.”…”�”}”(hj½h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M*hj�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j?hjšh²hh³hÊh´Nubah}”(h]”h ]”h"]”h$]”h&]”jYjZuh1j:h³hÊh´M!hj‰h²hubhÌ)�”}”(hŒ?The regset data starts with struct user_sve_header, containing:”h]”hŒ?The regset data starts with struct user_sve_header, containing:”…”�”}”(hj×h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M,hj‰h²hubjÂ)�”}”(hXJsize Size of the complete regset, in bytes. This depends on vl and possibly on other things in the future. If a call to PTRACE_GETREGSET requests less data than the value of size, the caller can allocate a larger buffer and retry in order to read the complete regset. max_size Maximum size in bytes that the regset can grow to for the target thread. The regset won't grow bigger than this even if the target thread changes its vector length etc. vl Target thread's current vector length, in bytes. max_vl Maximum possible vector length for the target thread. flags at most one of SVE_PT_REGS_FPSIMD SVE registers are not live (GETREGSET) or are to be made non-live (SETREGSET). The payload is of type struct user_fpsimd_state, with the same meaning as for NT_PRFPREG, starting at offset SVE_PT_FPSIMD_OFFSET from the start of user_sve_header. Extra data might be appended in the future: the size of the payload should be obtained using SVE_PT_FPSIMD_SIZE(vq, flags). vq should be obtained using sve_vq_from_vl(vl). or SVE_PT_REGS_SVE SVE registers are live (GETREGSET) or are to be made live (SETREGSET). The payload contains the SVE register data, starting at offset SVE_PT_SVE_OFFSET from the start of user_sve_header, and with size SVE_PT_SVE_SIZE(vq, flags); ... OR-ed with zero or more of the following flags, which have the same meaning and behaviour as the corresponding PR_SET_VL_* flags: SVE_PT_VL_INHERIT SVE_PT_VL_ONEXEC (SETREGSET only). If neither FPSIMD nor SVE flags are provided then no register payload is available, this is only possible when SME is implemented. ”h]”(hÌ)�”}”(hŒsize”h]”hŒsize”…”�”}”(hjéh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M.hjåubjÂ)�”}”(hXSize of the complete regset, in bytes. This depends on vl and possibly on other things in the future. If a call to PTRACE_GETREGSET requests less data than the value of size, the caller can allocate a larger buffer and retry in order to read the complete regset. ”h]”(hÌ)�”}”(hŒeSize of the complete regset, in bytes. This depends on vl and possibly on other things in the future.”h]”hŒeSize of the complete regset, in bytes. This depends on vl and possibly on other things in the future.”…”�”}”(hjûh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M0hj÷ubhÌ)�”}”(hŒ If a call to PTRACE_GETREGSET requests less data than the value of size, the caller can allocate a larger buffer and retry in order to read the complete regset.”h]”hŒ If a call to PTRACE_GETREGSET requests less data than the value of size, the caller can allocate a larger buffer and retry in order to read the complete regset.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M3hj÷ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÁh³hÊh´M0hjåubhÌ)�”}”(hŒmax_size”h]”hŒmax_size”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M7hjåubjÂ)�”}”(hŒªMaximum size in bytes that the regset can grow to for the target thread. The regset won't grow bigger than this even if the target thread changes its vector length etc. ”h]”hÌ)�”}”(hŒ©Maximum size in bytes that the regset can grow to for the target thread. The regset won't grow bigger than this even if the target thread changes its vector length etc.”h]”hŒ«Maximum size in bytes that the regset can grow to for the target thread. The regset won’t grow bigger than this even if the target thread changes its vector length etc.”…”�”}”(hj/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M9hj+ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÁh³hÊh´M9hjåubhÌ)�”}”(hŒvl”h]”hŒvl”…”�”}”(hjCh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M=hjåubjÂ)�”}”(hŒ1Target thread's current vector length, in bytes. ”h]”hÌ)�”}”(hŒ0Target thread's current vector length, in bytes.”h]”hŒ2Target thread’s current vector length, in bytes.”…”�”}”(hjUh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M?hjQubah}”(h]”h ]”h"]”h$]”h&]”uh1jÁh³hÊh´M?hjåubhÌ)�”}”(hŒmax_vl”h]”hŒmax_vl”…”�”}”(hjih²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MAhjåubjÂ)�”}”(hŒ6Maximum possible vector length for the target thread. ”h]”hÌ)�”}”(hŒ5Maximum possible vector length for the target thread.”h]”hŒ5Maximum possible vector length for the target thread.”…”�”}”(hj{h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MChjwubah}”(h]”h ]”h"]”h$]”h&]”uh1jÁh³hÊh´MChjåubhÌ)�”}”(hŒflags”h]”hŒflags”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MEhjåubjÂ)�”}”(hX†at most one of SVE_PT_REGS_FPSIMD SVE registers are not live (GETREGSET) or are to be made non-live (SETREGSET). The payload is of type struct user_fpsimd_state, with the same meaning as for NT_PRFPREG, starting at offset SVE_PT_FPSIMD_OFFSET from the start of user_sve_header. Extra data might be appended in the future: the size of the payload should be obtained using SVE_PT_FPSIMD_SIZE(vq, flags). vq should be obtained using sve_vq_from_vl(vl). or SVE_PT_REGS_SVE SVE registers are live (GETREGSET) or are to be made live (SETREGSET). The payload contains the SVE register data, starting at offset SVE_PT_SVE_OFFSET from the start of user_sve_header, and with size SVE_PT_SVE_SIZE(vq, flags); ... OR-ed with zero or more of the following flags, which have the same meaning and behaviour as the corresponding PR_SET_VL_* flags: SVE_PT_VL_INHERIT SVE_PT_VL_ONEXEC (SETREGSET only). If neither FPSIMD nor SVE flags are provided then no register payload is available, this is only possible when SME is implemented. ”h]”(hÌ)�”}”(hŒat most one of”h]”hŒat most one of”…”�”}”(hj¡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MGhj�ubjÂ)�”}”(hXëSVE_PT_REGS_FPSIMD SVE registers are not live (GETREGSET) or are to be made non-live (SETREGSET). The payload is of type struct user_fpsimd_state, with the same meaning as for NT_PRFPREG, starting at offset SVE_PT_FPSIMD_OFFSET from the start of user_sve_header. Extra data might be appended in the future: the size of the payload should be obtained using SVE_PT_FPSIMD_SIZE(vq, flags). vq should be obtained using sve_vq_from_vl(vl). or SVE_PT_REGS_SVE SVE registers are live (GETREGSET) or are to be made live (SETREGSET). The payload contains the SVE register data, starting at offset SVE_PT_SVE_OFFSET from the start of user_sve_header, and with size SVE_PT_SVE_SIZE(vq, flags); ”h]”(hÌ)�”}”(hŒSVE_PT_REGS_FPSIMD”h]”hŒSVE_PT_REGS_FPSIMD”…”�”}”(hj³h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MIhj¯ubjÂ)�”}”(hX§SVE registers are not live (GETREGSET) or are to be made non-live (SETREGSET). The payload is of type struct user_fpsimd_state, with the same meaning as for NT_PRFPREG, starting at offset SVE_PT_FPSIMD_OFFSET from the start of user_sve_header. Extra data might be appended in the future: the size of the payload should be obtained using SVE_PT_FPSIMD_SIZE(vq, flags). vq should be obtained using sve_vq_from_vl(vl). or ”h]”(hÌ)�”}”(hŒNSVE registers are not live (GETREGSET) or are to be made non-live (SETREGSET).”h]”hŒNSVE registers are not live (GETREGSET) or are to be made non-live (SETREGSET).”…”�”}”(hjÅh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MKhjÁubhÌ)�”}”(hŒ¤The payload is of type struct user_fpsimd_state, with the same meaning as for NT_PRFPREG, starting at offset SVE_PT_FPSIMD_OFFSET from the start of user_sve_header.”h]”hŒ¤The payload is of type struct user_fpsimd_state, with the same meaning as for NT_PRFPREG, starting at offset SVE_PT_FPSIMD_OFFSET from the start of user_sve_header.”…”�”}”(hjÓh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MNhjÁubhÌ)�”}”(hŒ{Extra data might be appended in the future: the size of the payload should be obtained using SVE_PT_FPSIMD_SIZE(vq, flags).”h]”hŒ{Extra data might be appended in the future: the size of the payload should be obtained using SVE_PT_FPSIMD_SIZE(vq, flags).”…”�”}”(hjáh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MRhjÁubhÌ)�”}”(hŒ/vq should be obtained using sve_vq_from_vl(vl).”h]”hŒ/vq should be obtained using sve_vq_from_vl(vl).”…”�”}”(hjïh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MUhjÁubhÌ)�”}”(hŒor”h]”hŒor”…”�”}”(hjýh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MWhjÁubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÁh³hÊh´MKhj¯ubhÌ)�”}”(hŒSVE_PT_REGS_SVE”h]”hŒSVE_PT_REGS_SVE”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MYhj¯ubjÂ)�”}”(hŒæSVE registers are live (GETREGSET) or are to be made live (SETREGSET). The payload contains the SVE register data, starting at offset SVE_PT_SVE_OFFSET from the start of user_sve_header, and with size SVE_PT_SVE_SIZE(vq, flags); ”h]”(hÌ)�”}”(hŒFSVE registers are live (GETREGSET) or are to be made live (SETREGSET).”h]”hŒFSVE registers are live (GETREGSET) or are to be made live (SETREGSET).”…”�”}”(hj# h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M[hj ubhÌ)�”}”(hŒ�The payload contains the SVE register data, starting at offset SVE_PT_SVE_OFFSET from the start of user_sve_header, and with size SVE_PT_SVE_SIZE(vq, flags);”h]”hŒ�The payload contains the SVE register data, starting at offset SVE_PT_SVE_OFFSET from the start of user_sve_header, and with size SVE_PT_SVE_SIZE(vq, flags);”…”�”}”(hj1 h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M^hj ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÁh³hÊh´M[hj¯ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÁh³hÊh´MIhj�ubhÌ)�”}”(hŒ…... OR-ed with zero or more of the following flags, which have the same meaning and behaviour as the corresponding PR_SET_VL_* flags:”h]”hŒ…... OR-ed with zero or more of the following flags, which have the same meaning and behaviour as the corresponding PR_SET_VL_* flags:”…”�”}”(hjK h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Mbhj�ubjÂ)�”}”(hŒ6SVE_PT_VL_INHERIT SVE_PT_VL_ONEXEC (SETREGSET only). ”h]”(hÌ)�”}”(hŒSVE_PT_VL_INHERIT”h]”hŒSVE_PT_VL_INHERIT”…”�”}”(hj] h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MehjY ubhÌ)�”}”(hŒ"SVE_PT_VL_ONEXEC (SETREGSET only).”h]”hŒ"SVE_PT_VL_ONEXEC (SETREGSET only).”…”�”}”(hjk h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MghjY ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÁh³hÊh´Mehj�ubhÌ)�”}”(hŒ‚If neither FPSIMD nor SVE flags are provided then no register payload is available, this is only possible when SME is implemented.”h]”hŒ‚If neither FPSIMD nor SVE flags are provided then no register payload is available, this is only possible when SME is implemented.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Mihj�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÁh³hÊh´MGhjåubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÁh³hÊh´M.hj‰h²hubj;)�”}”(hhh]”(j@)�”}”(hXThe effects of changing the vector length and/or flags are equivalent to those documented for PR_SVE_SET_VL. The caller must make a further GETREGSET call if it needs to know what VL is actually set by SETREGSET, unless is it known in advance that the requested VL is supported. ”h]”(hÌ)�”}”(hŒlThe effects of changing the vector length and/or flags are equivalent to those documented for PR_SVE_SET_VL.”h]”hŒlThe effects of changing the vector length and/or flags are equivalent to those documented for PR_SVE_SET_VL.”…”�”}”(hj  h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Mmhjœ ubhÌ)�”}”(hŒ©The caller must make a further GETREGSET call if it needs to know what VL is actually set by SETREGSET, unless is it known in advance that the requested VL is supported.”h]”hŒ©The caller must make a further GETREGSET call if it needs to know what VL is actually set by SETREGSET, unless is it known in advance that the requested VL is supported.”…”�”}”(hj® h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Mphjœ ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j?hj™ h²hh³hÊh´Nubj@)�”}”(hŒ«In the SVE_PT_REGS_SVE case, the size and layout of the payload depends on the header fields. The SVE_PT_SVE_*() macros are provided to facilitate access to the members. ”h]”hÌ)�”}”(hŒªIn the SVE_PT_REGS_SVE case, the size and layout of the payload depends on the header fields. The SVE_PT_SVE_*() macros are provided to facilitate access to the members.”h]”hŒªIn the SVE_PT_REGS_SVE case, the size and layout of the payload depends on the header fields. The SVE_PT_SVE_*() macros are provided to facilitate access to the members.”…”�”}”(hjÆ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Mthj ubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hj™ h²hh³hÊh´Nubj@)�”}”(hŒ°In either case, for SETREGSET it is permissible to omit the payload, in which case only the vector length and flags are changed (along with any consequences of those changes). ”h]”hÌ)�”}”(hŒ¯In either case, for SETREGSET it is permissible to omit the payload, in which case only the vector length and flags are changed (along with any consequences of those changes).”h]”hŒ¯In either case, for SETREGSET it is permissible to omit the payload, in which case only the vector length and flags are changed (along with any consequences of those changes).”…”�”}”(hjÞ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MxhjÚ ubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hj™ h²hh³hÊh´Nubj@)�”}”(hŒìIn systems supporting SME when in streaming mode a GETREGSET for NT_REG_SVE will return only the user_sve_header with no register data, similarly a GETREGSET for NT_REG_SSVE will not return any register data when not in streaming mode. ”h]”hÌ)�”}”(hŒëIn systems supporting SME when in streaming mode a GETREGSET for NT_REG_SVE will return only the user_sve_header with no register data, similarly a GETREGSET for NT_REG_SSVE will not return any register data when not in streaming mode.”h]”hŒëIn systems supporting SME when in streaming mode a GETREGSET for NT_REG_SVE will return only the user_sve_header with no register data, similarly a GETREGSET for NT_REG_SSVE will not return any register data when not in streaming mode.”…”�”}”(hjö h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M|hjò ubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hj™ h²hh³hÊh´Nubj@)�”}”(hŒBA GETREGSET for NT_ARM_SSVE will never return SVE_PT_REGS_FPSIMD. ”•—h]”hÌ)�”}”(hŒAA GETREGSET for NT_ARM_SSVE will never return SVE_PT_REGS_FPSIMD.”h]”hŒAA GETREGSET for NT_ARM_SSVE will never return SVE_PT_REGS_FPSIMD.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M�hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hj™ h²hh³hÊh´Nubj@)�”}”(hXëFor SETREGSET, if an SVE_PT_REGS_SVE payload is present and the requested VL is not supported, the effect will be the same as if the payload were omitted, except that an EIO error is reported. No attempt is made to translate the payload data to the correct layout for the vector length actually set. The thread's FPSIMD state is preserved, but the remaining bits of the SVE registers become unspecified. It is up to the caller to translate the payload layout for the actual VL and retry. ”h]”hÌ)�”}”(hXêFor SETREGSET, if an SVE_PT_REGS_SVE payload is present and the requested VL is not supported, the effect will be the same as if the payload were omitted, except that an EIO error is reported. No attempt is made to translate the payload data to the correct layout for the vector length actually set. The thread's FPSIMD state is preserved, but the remaining bits of the SVE registers become unspecified. It is up to the caller to translate the payload layout for the actual VL and retry.”h]”hXìFor SETREGSET, if an SVE_PT_REGS_SVE payload is present and the requested VL is not supported, the effect will be the same as if the payload were omitted, except that an EIO error is reported. No attempt is made to translate the payload data to the correct layout for the vector length actually set. The thread’s FPSIMD state is preserved, but the remaining bits of the SVE registers become unspecified. It is up to the caller to translate the payload layout for the actual VL and retry.”…”�”}”(hj& h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Mƒhj" ubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hj™ h²hh³hÊh´Nubj@)�”}”(hXWhere SME is implemented it is not possible to GETREGSET the register state for normal SVE when in streaming mode, nor the streaming mode register state when in normal mode, regardless of the implementation defined behaviour of the hardware for sharing data between the two modes. ”h]”hÌ)�”}”(hXWhere SME is implemented it is not possible to GETREGSET the register state for normal SVE when in streaming mode, nor the streaming mode register state when in normal mode, regardless of the implementation defined behaviour of the hardware for sharing data between the two modes.”h]”hXWhere SME is implemented it is not possible to GETREGSET the register state for normal SVE when in streaming mode, nor the streaming mode register state when in normal mode, regardless of the implementation defined behaviour of the hardware for sharing data between the two modes.”…”�”}”(hj> h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MŒhj: ubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hj™ h²hh³hÊh´Nubj@)�”}”(hŒ½Any SETREGSET of NT_ARM_SVE will exit streaming mode if the target was in streaming mode and any SETREGSET of NT_ARM_SSVE will enter streaming mode if the target was not in streaming mode. ”h]”hÌ)�”}”(hŒ¼Any SETREGSET of NT_ARM_SVE will exit streaming mode if the target was in streaming mode and any SETREGSET of NT_ARM_SSVE will enter streaming mode if the target was not in streaming mode.”h]”hŒ¼Any SETREGSET of NT_ARM_SVE will exit streaming mode if the target was in streaming mode and any SETREGSET of NT_ARM_SSVE will enter streaming mode if the target was not in streaming mode.”…”�”}”(hjV h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M‘hjR ubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hj™ h²hh³hÊh´Nubj@)�”}”(hXOn systems that do not support SVE it is permitted to use SETREGSET to write SVE_PT_REGS_FPSIMD formatted data via NT_ARM_SVE, in this case the vector length should be specified as 0. This allows streaming mode to be disabled on systems with SME but not SVE. ”h]”hÌ)�”}”(hXOn systems that do not support SVE it is permitted to use SETREGSET to write SVE_PT_REGS_FPSIMD formatted data via NT_ARM_SVE, in this case the vector length should be specified as 0. This allows streaming mode to be disabled on systems with SME but not SVE.”h]”hXOn systems that do not support SVE it is permitted to use SETREGSET to write SVE_PT_REGS_FPSIMD formatted data via NT_ARM_SVE, in this case the vector length should be specified as 0. This allows streaming mode to be disabled on systems with SME but not SVE.”…”�”}”(hjn h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M•hjj ubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hj™ h²hh³hÊh´Nubj@)�”}”(hŒ»If any register data is provided along with SVE_PT_VL_ONEXEC then the registers data will be interpreted with the current vector length, not the vector length configured for use on exec. ”h]”hÌ)�”}”(hŒºIf any register data is provided along with SVE_PT_VL_ONEXEC then the registers data will be interpreted with the current vector length, not the vector length configured for use on exec.”h]”hŒºIf any register data is provided along with SVE_PT_VL_ONEXEC then the registers data will be interpreted with the current vector length, not the vector length configured for use on exec.”…”�”}”(hj† h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Mšhj‚ ubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hj™ h²hh³hÊh´Nubj@)�”}”(hŒEThe effect of writing a partial, incomplete payload is unspecified. ”h]”hÌ)�”}”(hŒCThe effect of writing a partial, incomplete payload is unspecified.”h]”hŒCThe effect of writing a partial, incomplete payload is unspecified.”…”�”}”(hjž h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Mžhjš ubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hj™ h²hh³hÊh´Nubeh}”(h]”h ]”h"]”h$]”h&]”jYjZuh1j:h³hÊh´Mmhj‰h²hubeh}”(h]”Œptrace-extensions”ah ]”h"]”Œ7. ptrace extensions”ah$]”h&]”uh1hµhh·h²hh³hÊh´Mubh¶)�”}”(hhh]”(h»)�”}”(hŒ8. ELF coredump extensions”h]”hŒ8. ELF coredump extensions”…”�”}”(hjà h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjÀ h²hh³hÊh´M¢ubj;)�”}”(hhh]”j@)�”}”(hXNT_ARM_SVE and NT_ARM_SSVE notes will be added to each coredump for each thread of the dumped process. The contents will be equivalent to the data that would have been read if a PTRACE_GETREGSET of the corresponding type were executed for each thread when the coredump was generated. ”h]”hÌ)�”}”(hXNT_ARM_SVE and NT_ARM_SSVE notes will be added to each coredump for each thread of the dumped process. The contents will be equivalent to the data that would have been read if a PTRACE_GETREGSET of the corresponding type were executed for each thread when the coredump was generated.”h]”hXNT_ARM_SVE and NT_ARM_SSVE notes will be added to each coredump for each thread of the dumped process. The contents will be equivalent to the data that would have been read if a PTRACE_GETREGSET of the corresponding type were executed for each thread when the coredump was generated.”…”�”}”(hjØ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M¤hjÔ ubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hjÑ h²hh³hÊh´Nubah}”(h]”h ]”h"]”h$]”h&]”jYjZuh1j:h³hÊh´M¤hjÀ h²hubeh}”(h]”Œelf-coredump-extensions”ah ]”h"]”Œ8. elf coredump extensions”ah$]”h&]”uh1hµhh·h²hh³hÊh´M¢ubh¶)�”}”(hhh]”(h»)�”}”(hŒ 9. System runtime configuration”h]”hŒ 9. System runtime configuration”…”�”}”(hjý h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjú h²hh³hÊh´Mªubj;)�”}”(hhh]”j@)�”}”(hŒÌTo mitigate the ABI impact of expansion of the signal frame, a policy mechanism is provided for administrators, distro maintainers and developers to set the default vector length for userspace processes: ”h]”hÌ)�”}”(hŒËTo mitigate the ABI impact of expansion of the signal frame, a policy mechanism is provided for administrators, distro maintainers and developers to set the default vector length for userspace processes:”h]”hŒËTo mitigate the ABI impact of expansion of the signal frame, a policy mechanism is provided for administrators, distro maintainers and developers to set the default vector length for userspace processes:”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M¬hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hj h²hh³hÊh´Nubah}”(h]”h ]”h"]”h$]”h&]”jYjZuh1j:h³hÊh´M¬hjú h²hubhÌ)�”}”(hŒ'/proc/sys/abi/sve_default_vector_length”h]”hŒ'/proc/sys/abi/sve_default_vector_length”…”�”}”(hj, h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M°hjú h²hubjÂ)�”}”(hX.Writing the text representation of an integer to this file sets the system default vector length to the specified value rounded to a supported value using the same rules as for setting vector length via PR_SVE_SET_VL. The result can be determined by reopening the file and reading its contents. At boot, the default vector length is initially set to 64 or the maximum supported vector length, whichever is smaller. This determines the initial vector length of the init process (PID 1). Reading this file returns the current system default vector length. ”h]”(hÌ)�”}”(hŒÙWriting the text representation of an integer to this file sets the system default vector length to the specified value rounded to a supported value using the same rules as for setting vector length via PR_SVE_SET_VL.”h]”hŒÙWriting the text representation of an integer to this file sets the system default vector length to the specified value rounded to a supported value using the same rules as for setting vector length via PR_SVE_SET_VL.”…”�”}”(hj> h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M²hj: ubhÌ)�”}”(hŒLThe result can be determined by reopening the file and reading its contents.”h]”hŒLThe result can be determined by reopening the file and reading its contents.”…”�”}”(hjL h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M¶hj: ubhÌ)�”}”(hŒ¿At boot, the default vector length is initially set to 64 or the maximum supported vector length, whichever is smaller. This determines the initial vector length of the init process (PID 1).”h]”hŒ¿At boot, the default vector length is initially set to 64 or the maximum supported vector length, whichever is smaller. This determines the initial vector length of the init process (PID 1).”…”�”}”(hjZ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M¹hj: ubhÌ)�”}”(hŒCReading this file returns the current system default vector length.”h]”hŒCReading this file returns the current system default vector length.”…”�”}”(hjh h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M½hj: ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÁh³hÊh´M²hjú h²hubj;)�”}”(hhh]”(j@)�”}”(hXOAt every execve() call, the new vector length of the new process is set to the system default vector length, unless * PR_SVE_VL_INHERIT (or equivalently SVE_PT_VL_INHERIT) is set for the calling thread, or * a deferred vector length change is pending, established via the PR_SVE_SET_VL_ONEXEC flag (or SVE_PT_VL_ONEXEC). ”h]”(hÌ)�”}”(hŒsAt every execve() call, the new vector length of the new process is set to the system default vector length, unless”h]”hŒsAt every execve() call, the new vector length of the new process is set to the system default vector length, unless”…”�”}”(hjƒ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M¿hj ubjÂ)�”}”(hŒÒ* PR_SVE_VL_INHERIT (or equivalently SVE_PT_VL_INHERIT) is set for the calling thread, or * a deferred vector length change is pending, established via the PR_SVE_SET_VL_ONEXEC flag (or SVE_PT_VL_ONEXEC). ”h]”j;)�”}”(hhh]”(j@)�”}”(hŒXPR_SVE_VL_INHERIT (or equivalently SVE_PT_VL_INHERIT) is set for the calling thread, or ”h]”hÌ)�”}”(hŒWPR_SVE_VL_INHERIT (or equivalently SVE_PT_VL_INHERIT) is set for the calling thread, or”h]”hŒWPR_SVE_VL_INHERIT (or equivalently SVE_PT_VL_INHERIT) is set for the calling thread, or”…”�”}”(hjœ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MÂhj˜ ubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hj• ubj@)�”}”(hŒqa deferred vector length change is pending, established via the PR_SVE_SET_VL_ONEXEC flag (or SVE_PT_VL_ONEXEC). ”h]”hÌ)�”}”(hŒpa deferred vector length change is pending, established via the PR_SVE_SET_VL_ONEXEC flag (or SVE_PT_VL_ONEXEC).”h]”hŒpa deferred vector length change is pending, established via the PR_SVE_SET_VL_ONEXEC flag (or SVE_PT_VL_ONEXEC).”…”�”}”(hj´ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MÅhj° ubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hj• ubeh}”(h]”h ]”h"]”h$]”h&]”jYjZuh1j:h³hÊh´MÂhj‘ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÁh³hÊh´MÂhj ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j?hj| h²hh³hÊh´Nubj@)�”}”(hŒ”Modifying the system default vector length does not affect the vector length of any existing process or thread that does not make an execve() call. ”h]”hÌ)�”}”(hŒ“Modifying the system default vector length does not affect the vector length of any existing process or thread that does not make an execve() call.”h]”hŒ“Modifying the system default vector length does not affect the vector length of any existing process or thread that does not make an execve() call.”…”�”}”(hjÞ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MÈhjÚ ubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hj| h²hh³hÊh´Nubeh}”(h]”h ]”h"]”h$]”h&]”jYjZuh1j:h³hÊh´M¿hjú h²hubeh}”(h]”Œsystem-runtime-configuration”ah ]”h"]”Œ9. system runtime configuration”ah$]”h&]”uh1hµhh·h²hh³hÊh´Mªubh¶)�”}”(hhh]”(h»)�”}”(hŒ10. Perf extensions”h]”hŒ10. Perf extensions”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj h²hh³hÊh´MÌubj;)�”}”(hhh]”(j@)�”}”(hŒÂThe arm64 specific DWARF standard [5] added the VG (Vector Granule) register at index 46. This register is used for DWARF unwinding when variable length SVE registers are pushed onto the stack. ”h]”hÌ)�”}”(hŒÁThe arm64 specific DWARF standard [5] added the VG (Vector Granule) register at index 46. This register is used for DWARF unwinding when variable length SVE registers are pushed onto the stack.”h]”hŒÁThe arm64 specific DWARF standard [5] added the VG (Vector Granule) register at index 46. This register is used for DWARF unwinding when variable length SVE registers are pushed onto the stack.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MÎhj ubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hj h²hh³hÊh´Nubj@)�”}”(hŒUIts value is equivalent to the current SVE vector length (VL) in bits divided by 64. ”h]”hÌ)�”}”(hŒTIts value is equivalent to the current SVE vector length (VL) in bits divided by 64.”h]”hŒTIts value is equivalent to the current SVE vector length (VL) in bits divided by 64.”…”�”}”(hj0 h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MÒhj, ubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hj h²hh³hÊh´Nubj@)�”}”(hŒŠThe value is included in Perf samples in the regs[46] field if PERF_SAMPLE_REGS_USER is set and the sample_regs_user mask has bit 46 set. ”h]”hÌ)�”}”(hŒ‰The value is included in Perf samples in the regs[46] field if PERF_SAMPLE_REGS_USER is set and the sample_regs_user mask has bit 46 set.”h]”hŒ‰The value is included in Perf samples in the regs[46] field if PERF_SAMPLE_REGS_USER is set and the sample_regs_user mask has bit 46 set.”…”�”}”(hjH h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MÕhjD ubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hj h²hh³hÊh´Nubj@)�”}”(hŒ^The value is the current value at the time the sample was taken, and it can change over time. ”h]”hÌ)�”}”(hŒ]The value is the current value at the time the sample was taken, and it can change over time.”h]”hŒ]The value is the current value at the time the sample was taken, and it can change over time.”…”�”}”(hj` h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MØhj\ ubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hj h²hh³hÊh´Nubj@)�”}”(hŒsIf the system doesn't support SVE when perf_event_open is called with these settings, the event will fail to open. ”h]”hÌ)�”}”(hŒrIf the system doesn't support SVE when perf_event_open is called with these settings, the event will fail to open.”h]”hŒtIf the system doesn’t support SVE when perf_event_open is called with these settings, the event will fail to open.”…”�”}”(hjx h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MÛhjt ubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hj h²hh³hÊh´Nubeh}”(h]”h ]”h"]”h$]”h&]”jYjZuh1j:h³hÊh´MÎhj h²hubh¶)�”}”(hhh]”(h»)�”}”(hŒ1Appendix A. SVE programmer's model (informative)”h]”hŒ3Appendix A. SVE programmer’s model (informative)”…”�”}”(hj• h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj’ h²hh³hÊh´MßubhÌ)�”}”(hŒŽThis section provides a minimal description of the additions made by SVE to the ARMv8-A programmer's model that are relevant to this document.”h]”hŒ�This section provides a minimal description of the additions made by SVE to the ARMv8-A programmer’s model that are relevant to this document.”…”�”}”(hj£ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Máhj’ h²hubhÌ)�”}”(hŒyNote: This section is for information only and not intended to be complete or to replace any architectural specification.”h]”hŒyNote: This section is for information only and not intended to be complete or to replace any architectural specification.”…”�”}”(hj± h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Mähj’ h²hubeh}”(h]”Œ-appendix-a-sve-programmer-s-model-informative”ah ]”h"]”Œ0appendix a. sve programmer's model (informative)”ah$]”h&]”uh1hµhj h²hh³hÊh´Mßubeh}”(h]”Œperf-extensions”ah ]”h"]”Œ10. perf extensions”ah$]”h&]”uh1hµhh·h²hh³hÊh´MÌubh¶)�”}”(hhh]”(h»)�”}”(hŒA.1. Registers”h]”hŒA.1. Registers”…”�”}”(hjÒ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjÏ h²hh³hÊh´MèubhÌ)�”}”(hŒ%In A64 state, SVE adds the following:”h]”hŒ%In A64 state, SVE adds the following:”…”�”}”(hjà h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MêhjÏ h²hubj;)�”}”(hhh]”(j@)�”}”(hŒÒ32 8VL-bit vector registers Z0..Z31 For each Zn, Zn bits [127:0] alias the ARMv8-A vector register Vn. A register write using a Vn register name zeros all bits of the corresponding Zn except for bits [127:0]. ”h]”(hÌ)�”}”(hŒf32 8VL-bit vector registers Z0..Z31 For each Zn, Zn bits [127:0] alias the ARMv8-A vector register Vn.”h]”hŒf32 8VL-bit vector registers Z0..Z31 For each Zn, Zn bits [127:0] alias the ARMv8-A vector register Vn.”…”�”}”(hjõ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Mìhjñ ubhÌ)�”}”(hŒiA register write using a Vn register name zeros all bits of the corresponding Zn except for bits [127:0].”h]”hŒiA register write using a Vn register name zeros all bits of the corresponding Zn except for bits [127:0].”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Mïhjñ ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j?hjî h²hh³hÊh´Nubj@)�”}”(hŒ&16 VL-bit predicate registers P0..P15 ”h]”hÌ)�”}”(hŒ%16 VL-bit predicate registers P0..P15”h]”hŒ%16 VL-bit predicate registers P0..P15”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Mòhj ubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hjî h²hh³hÊh´Nubj@)�”}”(hŒM1 VL-bit special-purpose predicate register FFR (the "first-fault register") ”h]”hÌ)�”}”(hŒL1 VL-bit special-purpose predicate register FFR (the "first-fault register")”h]”hŒP1 VL-bit special-purpose predicate register FFR (the “first-fault registerâ€�)”…”�”}”(hj3 h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Môhj/ ubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hjî h²hh³hÊh´Nubj@)�”}”(hŒða VL "pseudo-register" that determines the size of each vector register The SVE instruction set architecture provides no way to write VL directly. Instead, it can be modified only by EL1 and above, by writing appropriate system registers. ”h]”(hÌ)�”}”(hŒGa VL "pseudo-register" that determines the size of each vector register”h]”hŒKa VL “pseudo-registerâ€� that determines the size of each vector register”…”�”}”(hjK h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MöhjG ubhÌ)�”}”(hŒ¦The SVE instruction set architecture provides no way to write VL directly. Instead, it can be modified only by EL1 and above, by writing appropriate system registers.”h]”hŒ¦The SVE instruction set architecture provides no way to write VL directly. Instead, it can be modified only by EL1 and above, by writing appropriate system registers.”…”�”}”(hjY h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MøhjG ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j?hjî h²hh³hÊh´Nubj@)�”}”(hŒuThe value of VL can be configured at runtime by EL1 and above: 16 <= VL <= VLmax, where VL must be a multiple of 16. ”h]”hÌ)�”}”(hŒtThe value of VL can be configured at runtime by EL1 and above: 16 <= VL <= VLmax, where VL must be a multiple of 16.”h]”hŒtThe value of VL can be configured at runtime by EL1 and above: 16 <= VL <= VLmax, where VL must be a multiple of 16.”…”�”}”(hjq h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Mühjm ubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hjî h²hh³hÊh´Nubj@)�”}”(hŒ³The maximum vector length is determined by the hardware: 16 <= VLmax <= 256. (The SVE architecture specifies 256, but permits future architecture revisions to raise this limit.) ”h]”(hÌ)�”}”(hŒLThe maximum vector length is determined by the hardware: 16 <= VLmax <= 256.”h]”hŒLThe maximum vector length is determined by the hardware: 16 <= VLmax <= 256.”…”�”}”(hj‰ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Mÿhj… ubhÌ)�”}”(hŒd(The SVE architecture specifies 256, but permits future architecture revisions to raise this limit.)”h]”hŒd(The SVE architecture specifies 256, but permits future architecture revisions to raise this limit.)”…”�”}”(hj— h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Mhj… ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j?hjî h²hh³hÊh´Nubj@)�”}”(hXZFPSR and FPCR are retained from ARMv8-A, and interact with SVE floating-point operations in a similar way to the way in which they interact with ARMv8 floating-point operations:: 8VL-1 128 0 bit index +---- //// -----------------+ Z0 | : V0 | : : Z7 | : V7 | Z8 | : * V8 | : : : Z15 | : *V15 | Z16 | : V16 | : : Z31 | : V31 | +---- //// -----------------+ 31 0 VL-1 0 +-------+ +---- //// --+ FPSR | | P0 | | +-------+ : | | *FPCR | | P15 | | +-------+ +---- //// --+ FFR | | +-----+ +---- //// --+ VL | | +-----+ ”h]”(hÌ)�”}”(hŒ²FPSR and FPCR are retained from ARMv8-A, and interact with SVE floating-point operations in a similar way to the way in which they interact with ARMv8 floating-point operations::”h]”hŒ±FPSR and FPCR are retained from ARMv8-A, and interact with SVE floating-point operations in a similar way to the way in which they interact with ARMv8 floating-point operations:”…”�”}”(hj¯ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Mhj« ubhŒ literal_block”“”)�”}”(hXy 8VL-1 128 0 bit index +---- //// -----------------+ Z0 | : V0 | : : Z7 | : V7 | Z8 | : * V8 | : : : Z15 | : *V15 | Z16 | : V16 | : : Z31 | : V31 | +---- //// -----------------+ 31 0 VL-1 0 +-------+ +---- //// --+ FPSR | | P0 | | +-------+ : | | *FPCR | | P15 | | +-------+ +---- //// --+ FFR | | +-----+ +---- //// --+ VL | | +-----+”h]”hXy 8VL-1 128 0 bit index +---- //// -----------------+ Z0 | : V0 | : : Z7 | : V7 | Z8 | : * V8 | : : : Z15 | : *V15 | Z16 | : V16 | : : Z31 | : V31 | +---- //// -----------------+ 31 0 VL-1 0 +-------+ +---- //// --+ FPSR | | P0 | | +-------+ : | | *FPCR | | P15 | | +-------+ +---- //// --+ FFR | | +-----+ +---- //// --+ VL | | +-----+”…”�”}”hj¿ sbah}”(h]”h ]”h"]”h$]”h&]”Œ xml:space”Œpreserve”uh1j½ h³hÊh´M hj« ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j?hjî h²hh³hÊh´Nubeh}”(h]”h ]”h"]”h$]”h&]”jYjZuh1j:h³hÊh´MìhjÏ h²hubjã)�”}”(hhh]”jè)�”}”(hŒŒ(*) callee-save: This only applies to bits [63:0] of Z-/V-registers. FPCR contains callee-save and caller-save bits. See [4] for details. ”h]”(jî)�”}”(hŒ(*) callee-save:”h]”hŒ(*) callee-save:”…”�”}”(hjâ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jíh³hÊh´M#hjÞ ubjþ)�”}”(hhh]”hÌ)�”}”(hŒyThis only applies to bits [63:0] of Z-/V-registers. FPCR contains callee-save and caller-save bits. See [4] for details.”h]”hŒyThis only applies to bits [63:0] of Z-/V-registers. FPCR contains callee-save and caller-save bits. See [4] for details.”…”�”}”(hjó h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M!hjð ubah}”(h]”h ]”h"]”h$]”h&]”uh1jýhjÞ ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jçh³hÊh´M#hjÛ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jâhjÏ h²hh³hÊh´Nubeh}”(h]”Œ a-1-registers”ah ]”h"]”Œa.1. registers”ah$]”h&]”uh1hµhh·h²hh³hÊh´Mèubh¶)�”}”(hhh]”(h»)�”}”(hŒA.2. Procedure call standard”h]”hŒA.2. Procedure call standard”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjh²hh³hÊh´M&ubhÌ)�”}”(hŒrThe ARMv8-A base procedure call standard is extended as follows with respect to the additional SVE register state:”h]”hŒrThe ARMv8-A base procedure call standard is extended as follows with respect to the additional SVE register state:”…”�”}”(hj,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M(hjh²hubj;)�”}”(hhh]”(j@)�”}”(hŒHAll SVE register bits that are not shared with FP/SIMD are caller-save. ”h]”hÌ)�”}”(hŒGAll SVE register bits that are not shared with FP/SIMD are caller-save.”h]”hŒGAll SVE register bits that are not shared with FP/SIMD are caller-save.”…”�”}”(hjAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M+hj=ubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hj:h²hh³hÊh´Nubj@)�”}”(hŒ­Z8 bits [63:0] .. Z15 bits [63:0] are callee-save. This follows from the way these bits are mapped to V8..V15, which are caller- save in the base procedure call standard. ”h]”(hÌ)�”}”(hŒ2Z8 bits [63:0] .. Z15 bits [63:0] are callee-save.”h]”hŒ2Z8 bits [63:0] .. Z15 bits [63:0] are callee-save.”…”�”}”(hjYh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M-hjUubhÌ)�”}”(hŒwThis follows from the way these bits are mapped to V8..V15, which are caller- save in the base procedure call standard.”h]”hŒwThis follows from the way these bits are mapped to V8..V15, which are caller- save in the base procedure call standard.”…”�”}”(hjgh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M/hjUubeh}”(h]”h ]”h"]”h$]”h&]”uh1j?hj:h²hh³hÊh´Nubeh}”(h]”h ]”h"]”h$]”h&]”jYjZuh1j:h³hÊh´M+hjh²hubh¶)�”}”(hhh]”(h»)�”}”(hŒ/Appendix B. ARMv8-A FP/SIMD programmer's model”h]”hŒ1Appendix B. ARMv8-A FP/SIMD programmer’s model”…”�”}”(hj„h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj�h²hh³hÊh´M4ubhÌ)�”}”(hŒyNote: This section is for information only and not intended to be complete or to replace any architectural specification.”h]”hŒyNote: This section is for information only and not intended to be complete or to replace any architectural specification.”…”�”}”(hj’h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M6hj�h²hubhÌ)�”}”(hŒ"Refer to [4] for more information.”h]”hŒ"Refer to [4] for more information.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M9hj�h²hubhÌ)�”}”(hŒCARMv8-A defines the following floating-point / SIMD register state:”h]”hŒCARMv8-A defines the following floating-point / SIMD register state:”…”�”}”(hj®h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M;hj�h²hubj;)�”}”(hhh]”(j@)�”}”(hŒ#32 128-bit vector registers V0..V31”h]”hÌ)�”}”(hjÁh]”hŒ#32 128-bit vector registers V0..V31”…”�”}”(hjÃh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M=hj¿ubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hj¼h²hh³hÊh´Nubj@)�”}”(hŒ-2 32-bit status/control registers FPSR, FPCR ”h]”hÌ)�”}”(hŒ,2 32-bit status/control registers FPSR, FPCR”h]”hŒ,2 32-bit status/control registers FPSR, FPCR”…”�”}”(hjÚh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M>hjÖubah}”(h]”h ]”h"]”h$]”h&]”uh1j?hj¼h²hh³hÊh´Nubeh}”(h]”h ]”h"]”h$]”h&]”jYjZuh1j:h³hÊh´M=hj�h²hubj¾ )�”}”(hX§ 127 0 bit index +---------------+ V0 | | : : : V7 | | * V8 | | : : : : *V15 | | V16 | | : : : V31 | | +---------------+ 31 0 +-------+ FPSR | | +-------+ *FPCR | | +-------+”h]”hX§ 127 0 bit index +---------------+ V0 | | : : : V7 | | * V8 | | : : : : *V15 | | V16 | | : : : V31 | | +---------------+ 31 0 +-------+ FPSR | | +-------+ *FPCR | | +-------+”…”�”}”hjôsbah}”(h]”h ]”h"]”h$]”h&]”jÍ jÎ uh1j½ h³hÊh´MBhj�h²hubjã)�”}”(hhh]”jè)�”}”(hŒ€(*) callee-save: This only applies to bits [63:0] of V-registers. FPCR contains a mixture of callee-save and caller-save bits. ”h]”(jî)�”}”(hŒ(*) callee-save:”h]”hŒ(*) callee-save:”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jíh³hÊh´MYhjubjþ)�”}”(hhh]”hÌ)�”}”(hŒmThis only applies to bits [63:0] of V-registers. FPCR contains a mixture of callee-save and caller-save bits.”h]”hŒmThis only applies to bits [63:0] of V-registers. FPCR contains a mixture of callee-save and caller-save bits.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MWhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jýhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jçh³hÊh´MYhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jâhj�h²hh³hÊh´Nubeh}”(h]”Œ-appendix-b-armv8-a-fp-simd-programmer-s-model”ah ]”h"]”Œ.appendix b. armv8-a fp/simd programmer's model”ah$]”h&]”uh1hµhjh²hh³hÊh´M4ubh¶)�”}”(hhh]”(h»)�”}”(hŒ References”h]”hŒ References”…”�”}”(hjEh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjBh²hh³hÊh´M\ubjã)�”}”(hhh]”(jè)�”}”(hŒR[1] arch/arm64/include/uapi/asm/sigcontext.h AArch64 Linux signal ABI definitions ”h]”(jî)�”}”(hŒ,[1] arch/arm64/include/uapi/asm/sigcontext.h”h]”hŒ,[1] arch/arm64/include/uapi/asm/sigcontext.h”…”�”}”(hjZh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jíh³hÊh´M_hjVubjþ)�”}”(hhh]”hÌ)�”}”(hŒ$AArch64 Linux signal ABI definitions”h]”hŒ$AArch64 Linux signal ABI definitions”…”�”}”(hjkh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M_hjhubah}”(h]”h ]”h"]”h$]”h&]”uh1jýhjVubeh}”(h]”h ]”h"]”h$]”h&]”uh1jçh³hÊh´M_hjSubjè)�”}”(hŒN[2] arch/arm64/include/uapi/asm/ptrace.h AArch64 Linux ptrace ABI definitions ”h]”(jî)�”}”(hŒ([2] arch/arm64/include/uapi/asm/ptrace.h”h]”hŒ([2] arch/arm64/include/uapi/asm/ptrace.h”…”�”}”(hj‰h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jíh³hÊh´Mbhj…ubjþ)�”}”(hhh]”hÌ)�”}”(hŒ$AArch64 Linux ptrace ABI definitions”h]”hŒ$AArch64 Linux ptrace ABI definitions”…”�”}”(hjšh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Mbhj—ubah}”(h]”h ]”h"]”h$]”h&]”uh1jýhj…ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jçh³hÊh´MbhjSh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jâhjBh²hh³hÊh´NubhÌ)�”}”(hŒ6[3] Documentation/arch/arm64/cpu-feature-registers.rst”h]”hŒ6[3] Documentation/arch/arm64/cpu-feature-registers.rst”…”�”}”(hjºh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MdhjBh²hubjã)�”}”(hhh]”jè)�”}”(hŒô[4] ARM IHI0055C http://infocenter.arm.com/help/topic/com.arm.doc.ihi0055c/IHI0055C_beta_aapcs64.pdf http://infocenter.arm.com/help/topic/com.arm.doc.subset.swdev.abi/index.html Procedure Call Standard for the ARM 64-bit Architecture (AArch64) ”h]”(jî)�”}”(hŒ[4] ARM IHI0055C”h]”hŒ[4] ARM IHI0055C”…”�”}”(hjÏh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jíh³hÊh´MihjËubjþ)�”}”(hhh]”hÌ)�”}”(hŒâhttp://infocenter.arm.com/help/topic/com.arm.doc.ihi0055c/IHI0055C_beta_aapcs64.pdf http://infocenter.arm.com/help/topic/com.arm.doc.subset.swdev.abi/index.html Procedure Call Standard for the ARM 64-bit Architecture (AArch64)”h]”(hÖ)�”}”(hŒShttp://infocenter.arm.com/help/topic/com.arm.doc.ihi0055c/IHI0055C_beta_aapcs64.pdf”h]”hŒShttp://infocenter.arm.com/help/topic/com.arm.doc.ihi0055c/IHI0055C_beta_aapcs64.pdf”…”�”}”(hjäh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”jæuh1hÕhjàubhŒ ”…”�”}”(hjàh²hh³Nh´NubhÖ)�”}”(hŒLhttp://infocenter.arm.com/help/topic/com.arm.doc.subset.swdev.abi/index.html”h]”hŒLhttp://infocenter.arm.com/help/topic/com.arm.doc.subset.swdev.abi/index.html”…”�”}”(hj÷h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”jùuh1hÕhjàubhŒB Procedure Call Standard for the ARM 64-bit Architecture (AArch64)”…”�”}”(hjàh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MghjÝubah}”(h]”h ]”h"]”h$]”h&]”uh1jýhjËubeh}”(h]”h ]”h"]”h$]”h&]”uh1jçh³hÊh´MihjÈubah}”(h]”h ]”h"]”h$]”h&]”uh1jâhjBh²hh³hÊh´NubhÌ)�”}”(hŒL[5] https://github.com/ARM-software/abi-aa/blob/main/aadwarf64/aadwarf64.rst”h]”(hŒ[5] ”…”�”}”(hj"h²hh³Nh´NubhÖ)�”}”(hŒHhttps://github.com/ARM-software/abi-aa/blob/main/aadwarf64/aadwarf64.rst”h]”hŒHhttps://github.com/ARM-software/abi-aa/blob/main/aadwarf64/aadwarf64.rst”…”�”}”(hj*h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”j,uh1hÕhj"ubeh}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MkhjBh²hubeh}”(h]”Œ references”ah ]”h"]”Œ references”ah$]”h&]”uh1hµhjh²hh³hÊh´M\ubeh}”(h]”Œa-2-procedure-call-standard”ah ]”h"]”Œa.2. procedure call standard”ah$]”h&]”uh1hµhh·h²hh³hÊh´M&ubeh}”(h]”Œ3scalable-vector-extension-support-for-aarch64-linux”ah ]”h"]”Œ3scalable vector extension support for aarch64 linux”ah$]”h&]”uh1hµhhh²hh³hÊh´Kubeh}”(h]”h ]”h"]”h$]”h&]”Œsource”hÊuh1hŒcurrent_source”NŒ current_line”NŒsettings”Œdocutils.frontend”ŒValues”“”)�”}”(hºNŒ generator”NŒ datestamp”NŒ source_link”NŒ source_url”NŒ toc_backlinks”Œentry”Œfootnote_backlinks”KŒ sectnum_xform”KŒstrip_comments”NŒstrip_elements_with_classes”NŒ strip_classes”NŒ report_level”KŒ halt_level”KŒexit_status_level”KŒdebug”NŒwarning_stream”NŒ traceback”ˆŒinput_encoding”Œ utf-8-sig”Œinput_encoding_error_handler”Œstrict”Œoutput_encoding”Œutf-8”Œoutput_encoding_error_handler”jzŒerror_encoding”Œutf-8”Œerror_encoding_error_handler”Œbackslashreplace”Œ language_code”Œen”Œrecord_dependencies”NŒconfig”NŒ id_prefix”hŒauto_id_prefix”Œid”Œ dump_settings”NŒdump_internals”NŒdump_transforms”NŒdump_pseudo_xml”NŒexpose_internals”NŒstrict_visitor”NŒ_disable_config”NŒ_source”hÊŒ _destination”NŒ _config_files”]”Œ7/var/lib/git/docbuild/linux/Documentation/docutils.conf”aŒfile_insertion_enabled”ˆŒ raw_enabled”KŒline_length_limit”M'Œpep_references”NŒ pep_base_url”Œhttps://peps.python.org/”Œpep_file_url_template”Œpep-%04d”Œrfc_references”NŒ rfc_base_url”Œ&https://datatracker.ietf.org/doc/html/”Œ tab_width”KŒtrim_footnote_reference_space”‰Œsyntax_highlight”Œlong”Œ smart_quotes”ˆŒsmartquotes_locales”]”Œcharacter_level_inline_markup”‰Œdoctitle_xform”‰Œ docinfo_xform”KŒsectsubtitle_xform”‰Œ image_loading”Œlink”Œembed_stylesheet”‰Œcloak_email_addresses”ˆŒsection_self_link”‰Œenv”NubŒreporter”NŒindirect_targets”]”Œsubstitution_defs”}”Œsubstitution_names”}”Œrefnames”}”Œrefids”}”Œnameids”}”(jTjQj`j]jêjçjbj_jDjAjìjéj†jƒj½ jº j÷ jô jý jú jÌ jÉ jÄ jÁ jjjLjIj?j<jDjAuŒ nametypes”}”(jT‰j`‰jê‰jb‰jD‰jì‰j†‰j½ ‰j÷ ‰jý ‰jÌ ‰jÄ ‰j‰jL‰j?‰jD‰uh}”(jQh·j]j)jçjcj_jíjAjejéjGjƒjïjº j‰jô jÀ jú jú jÉ j jÁ j’ jjÏ jIjj<j�jAjBuŒ footnote_refs”}”Œ citation_refs”}”Œ autofootnotes”]”Œautofootnote_refs”]”Œsymbol_footnotes”]”Œsymbol_footnote_refs”]”Œ footnotes”]”Œ citations”]”Œautofootnote_start”KŒsymbol_footnote_start”KŒ id_counter”Œ collections”ŒCounter”“”}”…”R”Œparse_messages”]”Œtransform_messages”]”Œ transformer”NŒ include_log”]”Œ decoration”Nh²hub.