go/src/cmd/internal/obj/loong64/asm.go

type ctxt0

const FuncAlign

const loopAlign

type Optab

const NOTUSETMP

const branchLoopHead

var optab

var atomicInst

func IsAtomicInst(as obj.As) bool {}

// pcAlignPadLength returns the number of bytes required to align pc to alignedValue,
// reporting an error if alignedValue is not a power of two or is out of range.
func pcAlignPadLength(ctxt *obj.Link, pc int64, alignedValue int64) int {}

var oprange

var xcmp

func span0(ctxt *obj.Link, cursym *obj.LSym, newprog obj.ProgAlloc) {}

// isUnsafePoint returns whether p is an unsafe point.
func (c *ctxt0) isUnsafePoint(p *obj.Prog) bool {}

// isRestartable returns whether p is a multi-instruction sequence that,
// if preempted, can be restarted.
func (c *ctxt0) isRestartable(p *obj.Prog) bool {}

func isint32(v int64) bool {}

func isuint32(v uint64) bool {}

func (c *ctxt0) aclass(a *obj.Addr) int {}

// In Loong64,there are 8 CFRs, denoted as fcc0-fcc7.
// There are 4 FCSRs, denoted as fcsr0-fcsr3.
func (c *ctxt0) rclass(r int16) int {}

func oclass(a *obj.Addr) int {}

func prasm(p *obj.Prog) {}

func (c *ctxt0) oplook(p *obj.Prog) *Optab {}

func cmp(a int, b int) bool {}

func ocmp(p1, p2 Optab) int {}

func opset(a, b0 obj.As) {}

func buildop(ctxt *obj.Link) {}

func OP_RRRR(op uint32, r1 uint32, r2 uint32, r3 uint32, r4 uint32) uint32 {}

// r1 -> rk
// r2 -> rj
// r3 -> rd
func OP_RRR(op uint32, r1 uint32, r2 uint32, r3 uint32) uint32 {}

// r2 -> rj
// r3 -> rd
func OP_RR(op uint32, r2 uint32, r3 uint32) uint32 {}

func OP_16IR_5I(op uint32, i uint32, r2 uint32) uint32 {}

func OP_16IRR(op uint32, i uint32, r2 uint32, r3 uint32) uint32 {}

func OP_12IRR(op uint32, i uint32, r2 uint32, r3 uint32) uint32 {}

func OP_IR(op uint32, i uint32, r2 uint32) uint32 {}

func OP_15I(op uint32, i uint32) uint32 {}

// i1 -> msb
// r2 -> rj
// i3 -> lsb
// r4 -> rd
func OP_IRIR(op uint32, i1 uint32, r2 uint32, i3 uint32, r4 uint32) uint32 {}

// Encoding for the 'b' or 'bl' instruction.
func OP_B_BL(op uint32, i uint32) uint32 {}

func (c *ctxt0) asmout(p *obj.Prog, o *Optab, out []uint32) {}

func (c *ctxt0) vregoff(a *obj.Addr) int64 {}

func (c *ctxt0) regoff(a *obj.Addr) int32 {}

func (c *ctxt0) oprrrr(a obj.As) uint32 {}

func (c *ctxt0) oprrr(a obj.As) uint32 {}

func (c *ctxt0) oprr(a obj.As) uint32 {}

func (c *ctxt0) opi(a obj.As) uint32 {}

func (c *ctxt0) opir(a obj.As) uint32 {}

func (c *ctxt0) opirr(a obj.As) uint32 {}

func (c *ctxt0) opirir(a obj.As) uint32 {}

func (c *ctxt0) specailFpMovInst(a obj.As, fclass int, tclass int) uint32 {}

func vshift(a obj.As) bool {}