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

package ppc64

import "cmd/compile/internal/ppc64"

Index

Package Files

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

Constants

const (
    ODynam   = 1 << 0
    OAddable = 1 << 1
)
const (
    V_CC = 1 << 0 // xCC (affect CR field 0 flags)
    V_V  = 1 << 1 // xV (affect SO and OV flags)
)

Many Power ISA arithmetic and logical instructions come in four standard variants. These bits let us map between variants.

const (
    LeftRdwr  uint32 = gc.LeftRead | gc.LeftWrite
    RightRdwr uint32 = gc.RightRead | gc.RightWrite
)
const (
    NREGVAR = 64 /* 32 general + 32 floating */
)

func BtoF Uses

func BtoF(b uint64) int

func BtoR Uses

func BtoR(b uint64) int

func Main Uses

func Main()

func RtoB Uses

func RtoB(r int) uint64

* track register variables including external registers: * bit reg * 0 R0 * 1 R1 * ... ... * 31 R31 * 32+0 F0 * 32+1 F1 * ... ... * 32+31 F31

Package ppc64 imports 5 packages (graph) and is imported by 2 packages. Updated 2016-12-18. Refresh now. Tools for package owners.