Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for alignedValue (0.13 sec)

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

    // 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 {
    	if !((alignedValue&(alignedValue-1) == 0) && 8 <= alignedValue && alignedValue <= 2048) {
    		ctxt.Diag("alignment value of an instruction must be a power of two and in the range [8, 2048], got %d\n", alignedValue)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 61.8K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/riscv/obj.go

    			}
    
    		case obj.APCALIGN:
    			alignedValue := p.From.Offset
    			if (alignedValue&(alignedValue-1) != 0) || 4 > alignedValue || alignedValue > 2048 {
    				ctxt.Diag("alignment value of an instruction must be a power of two and in the range [4, 2048], got %d\n", alignedValue)
    			}
    			// Update the current text symbol alignment value.
    			if int32(alignedValue) > cursym.Func().Align {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 77K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/arm64/asm7.go

    const OP_NOOP = 0xd503201f
    
    // 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 {
    	if !((alignedValue&(alignedValue-1) == 0) && 8 <= alignedValue && alignedValue <= 2048) {
    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