import "github.com/tsavola/wag/internal/gen/rodata"
const ( // Masks are 16-byte aligned for x86-64 SSE. Mask7fAddr32 = CommonsAddr + iota*16 Mask7fAddr64 Mask80Addr32 Mask80Addr64 Mask5f00Addr32 // 01011111000000000000000000000000 Mask43e0Addr64 // 0100001111100000000000000000000000000000000000000000000000000000 TableAddr )
const ( Mask7fBase = MaskBaseAddr(Mask7fAddr32) Mask80Base = MaskBaseAddr(Mask80Addr32) MaskTruncBase = MaskBaseAddr(Mask5f00Addr32) )
const CommonsAddr = 128
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.
Package rodata imports 1 packages (graph) and is imported by 1 packages. Updated 2021-01-25. Refresh now. Tools for package owners.