github.com/bir3/gocompiler@v0.9.2202/src/cmd/link/internal/loong64/l.go (about)

     1  // Copyright 2022 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package loong64
     6  
     7  const (
     8  	maxAlign  = 32 // max data alignment
     9  	minAlign  = 1  // min data alignment
    10  	funcAlign = 16
    11  )
    12  
    13  /* Used by ../../internal/ld/dwarf.go */
    14  const (
    15  	dwarfRegSP = 3
    16  	dwarfRegLR = 1
    17  )