package arm64
import "cmd/compile/internal/arm64"
Index ¶
- Constants
- func AddSetCarry(nl *gc.Node, nr *gc.Node, res *gc.Node)
- func BtoF(b uint64) int
- func BtoR(b uint64) int
- func Main()
- func RightShiftWithCarry(n *gc.Node, shift uint, res *gc.Node)
- func RtoB(r int) uint64
Constants ¶
const ( ODynam = 1 << 0 OAddable = 1 << 1 )
const ( LeftRdwr uint32 = gc.LeftRead | gc.LeftWrite RightRdwr uint32 = gc.RightRead | gc.RightWrite )
const ( NREGVAR = 64 /* 32 general + 32 floating */ )
Functions ¶
func AddSetCarry ¶
AddSetCarry generates add and set carry.
res = nl + nr // with carry flag set
func BtoF ¶
func BtoR ¶
func Main ¶
func Main()
func RightShiftWithCarry ¶
RightShiftWithCarry generates a constant unsigned right shift with carry.
res = n >> shift // with carry
func RtoB ¶
* track register variables including external registers: * bit reg * 0 R0 * 1 R1 * ... ... * 31 R31 * 32+0 F0 * 32+1 F1 * ... ... * 32+31 F31
Source Files ¶
cgen.go galign.go ggen.go gsubr.go peep.go prog.go reg.go
- Version
- v1.7.5
- Published
- Jan 26, 2017
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 6 seconds ago –
Tools for package owners.