xsave

package
v0.0.0-...-3878f85 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 23, 2017 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

THESE PACKAGES ARE FOR DEMONSTRATION PURPOSES ONLY!

THEY DO NOT NOT CONTAIN WORKING INTRINSICS!

See https://github.com/klauspost/intrinsics

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Xgetbv

func Xgetbv(a uint32) uint64

Xgetbv: Copy up to 64-bits from the value of the extended control register (XCR) specified by 'a' into 'dst'. Currently only XFEATURE_ENABLED_MASK XCR is supported.

dst[63:0] := XCR[a]

Instruction: 'XGETBV'. Intrinsic: '_xgetbv'. Requires XSAVE.

func Xsetbv

func Xsetbv(a uint32, val uint64)

Xsetbv: Copy 64-bits from 'val' to the extended control register (XCR) specified by 'a'. Currently only XFEATURE_ENABLED_MASK XCR is supported.

XCR[a] := val[63:0]

Instruction: 'XSETBV'. Intrinsic: '_xsetbv'. Requires XSAVE.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL