Go: cmd/compile/internal/amd64 Index | Files

package amd64

import "cmd/compile/internal/amd64"

Index

Package Files

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

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
)

func BtoF Uses

func BtoF(b uint64) int

func BtoR Uses

func BtoR(b uint64) int

func FtoB Uses

func FtoB(f int) uint64

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

func Main Uses

func Main()

func RtoB Uses

func RtoB(r int) uint64

Package amd64 imports 7 packages (graph) and is imported by 2 packages. Updated 2016-12-09. Refresh now. Tools for package owners.