rodata

package
v0.33.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2021 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Masks are 16-byte aligned for x86-64 SSE.
	Mask7fAddr32 = CommonsAddr + iota*16
	Mask7fAddr64
	Mask80Addr32
	Mask80Addr64
	Mask5f00Addr32 // 01011111000000000000000000000000
	Mask43e0Addr64 // 0100001111100000000000000000000000000000000000000000000000000000
	TableAddr
)
View Source
const (
	Mask7fBase    = MaskBaseAddr(Mask7fAddr32)
	Mask80Base    = MaskBaseAddr(Mask80Addr32)
	MaskTruncBase = MaskBaseAddr(Mask5f00Addr32)
)
View Source
const CommonsAddr = 128

Variables

This section is empty.

Functions

func MaskAddr

func MaskAddr(maskBaseAddr MaskBaseAddr, t wa.Type) int32

MaskAddr calculates the text address for reading a mask for the given type size. maskBaseAddr should be one of the Mask*Base constants.

Types

type MaskBaseAddr

type MaskBaseAddr int32

Jump to

Keyboard shortcuts

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