Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IsARM64ADR (0.18 sec)

  1. src/cmd/asm/internal/arch/arm64.go

    			arm64SpecialOperand[s] = opd
    		}
    	}
    	if opd, ok := arm64SpecialOperand[name]; ok {
    		return opd
    	}
    	return arm64.SPOP_END
    }
    
    // IsARM64ADR reports whether the op (as defined by an arm64.A* constant) is
    // one of the comparison instructions that require special handling.
    func IsARM64ADR(op obj.As) bool {
    	switch op {
    	case arm64.AADR, arm64.AADRP:
    		return true
    	}
    	return false
    }
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Sep 29 09:04:58 GMT 2022
    - 10.4K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/asm.go

    			break
    		}
    		p.errorf("wrong number of arguments to %s instruction", op)
    		return
    	case 1:
    		target = &a[0]
    	case 2:
    		// Special 2-operand jumps.
    		if p.arch.Family == sys.ARM64 && arch.IsARM64ADR(op) {
    			// ADR label, R. Label is in From.
    			target = &a[0]
    			prog.To = a[1]
    			targetAddr = &prog.From
    		} else {
    			target = &a[1]
    			prog.From = a[0]
    		}
    	case 3:
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
Back to top