package amd64

import "cmd/compile/internal/amd64"

Index

Constants

const (
	ODynam   = 1 << 0
	OAddable = 1 << 1
)
const (
	LeftRdwr  uint32 = gc.LeftRead | gc.LeftWrite
	RightRdwr uint32 = gc.RightRead | gc.RightWrite
)
const (
	AX  = 1 << (x86.REG_AX - x86.REG_AX)
	BX  = 1 << (x86.REG_BX - x86.REG_AX)
	CX  = 1 << (x86.REG_CX - x86.REG_AX)
	DX  = 1 << (x86.REG_DX - x86.REG_AX)
	DI  = 1 << (x86.REG_DI - x86.REG_AX)
	SI  = 1 << (x86.REG_SI - x86.REG_AX)
	R15 = 1 << (x86.REG_R15 - x86.REG_AX)
	X0  = 1 << 16
)

For ProgInfo.

const (
	NREGVAR = 32
)

Variables

var MAXWIDTH int64 = 1 << 50

Functions

func BtoF

func BtoF(b uint64) int

func BtoR

func BtoR(b uint64) int

func FtoB

func FtoB(f int) uint64

* bit reg * 16 X0 * ... * 31 X15

func Main

func Main()

func RtoB

func RtoB(r int) uint64

Source Files

cgen.go galign.go ggen.go gsubr.go peep.go prog.go reg.go

Version
v1.6.2
Published
Apr 19, 2016
Platform
linux/amd64
Imports
5 packages
Last checked
11 seconds ago

Tools for package owners.