go/pkg/mod/github.com/mmcloughlin/[email protected]/reg/collection.go

type Collection

// NewCollection builds an empty register collection.
func NewCollection() *Collection {}

// VirtualRegister allocates and returns a new virtual register of the given kind and width.
func (c *Collection) VirtualRegister(k Kind, s Spec) Virtual {}

// GP8L allocates and returns a general-purpose 8-bit register (low byte).
func (c *Collection) GP8L() GPVirtual {}

// GP8H allocates and returns a general-purpose 8-bit register (high byte).
func (c *Collection) GP8H() GPVirtual {}

// GP8 allocates and returns a general-purpose 8-bit register (low byte).
func (c *Collection) GP8() GPVirtual {}

// GP16 allocates and returns a general-purpose 16-bit register.
func (c *Collection) GP16() GPVirtual {}

// GP32 allocates and returns a general-purpose 32-bit register.
func (c *Collection) GP32() GPVirtual {}

// GP64 allocates and returns a general-purpose 64-bit register.
func (c *Collection) GP64() GPVirtual {}

// GP allocates and returns a general-purpose register of the given width.
func (c *Collection) GP(s Spec) GPVirtual {}

// XMM allocates and returns a 128-bit vector register.
func (c *Collection) XMM() VecVirtual {}

// YMM allocates and returns a 256-bit vector register.
func (c *Collection) YMM() VecVirtual {}

// ZMM allocates and returns a 512-bit vector register.
func (c *Collection) ZMM() VecVirtual {}

// Vec allocates and returns a vector register of the given width.
func (c *Collection) Vec(s Spec) VecVirtual {}

// K allocates and returns an opmask register.
func (c *Collection) K() OpmaskVirtual {}