arm64

package
v0.0.0-...-4955147 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2016 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ODynam   = 1 << 0
	OAddable = 1 << 1
)
View Source
const (
	LeftRdwr  uint32 = gc.LeftRead | gc.LeftWrite
	RightRdwr uint32 = gc.RightRead | gc.RightWrite
)
View Source
const (
	NREGVAR = 64 /* 32 general + 32 floating */
)

Variables

This section is empty.

Functions

func AddSetCarry

func AddSetCarry(nl *gc.Node, nr *gc.Node, res *gc.Node)

AddSetCarry generates add and set carry.

res = nl + nr // with carry flag set

func BtoF

func BtoF(b uint64) int

func BtoR

func BtoR(b uint64) int

func Main

func Main()

func RightShiftWithCarry

func RightShiftWithCarry(n *gc.Node, shift uint, res *gc.Node)

RightShiftWithCarry generates a constant unsigned right shift with carry.

res = n >> shift // with carry

func RtoB

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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