Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for AlignmentPaddingLength (0.22 sec)

  1. src/cmd/internal/obj/util.go

    // updates minimum alignment for the function.
    func AlignmentPadding(pc int32, p *Prog, ctxt *Link, cursym *LSym) int {
    	v := AlignmentPaddingLength(pc, p, ctxt)
    	requireAlignment(p.From.Offset, ctxt, cursym)
    	return v
    }
    
    // AlignmentPaddingLength is the number of bytes to add to align code as requested.
    // Alignment is restricted to powers of 2 between 8 and 2048 inclusive.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/arm64/asm7.go

    					q.To.SetTarget(q.Link.Link)
    					bflag = 1
    				}
    			}
    			m = o.size(c.ctxt, p)
    
    			if m == 0 {
    				switch p.As {
    				case obj.APCALIGN, obj.APCALIGNMAX:
    					m = obj.AlignmentPaddingLength(int32(pc), p, ctxt)
    					break
    				case obj.ANOP, obj.AFUNCDATA, obj.APCDATA:
    					continue
    				default:
    					c.ctxt.Diag("zero-width instruction\n%v", p)
    				}
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 201.1K bytes
    - Viewed (0)
Back to top