Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

    // It is encoded as an MRC with a bit inside the instruction word,
    // passed to arch.ARMMRCOffset.
    const aMCR = arm.ALAST + 1
    
    // IsARMMRC reports whether the op (as defined by an arm.A* constant) is
    // MRC or MCR.
    func IsARMMRC(op obj.As) bool {
    	switch op {
    	case arm.AMRC, aMCR: // Note: aMCR is defined in this package.
    		return true
    	}
    	return false
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Nov 18 17:59:44 GMT 2022
    - 6.1K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/asm.go

    			prog.AddRestSourceArgs([]obj.Addr{a[1], a[2], a[3]})
    			prog.To = a[4]
    			break
    		}
    		p.errorf("can't handle %s instruction with 5 operands", op)
    		return
    	case 6:
    		if p.arch.Family == sys.ARM && arch.IsARMMRC(op) {
    			// Strange special case: MCR, MRC.
    			prog.To.Type = obj.TYPE_CONST
    			x0 := p.getConstant(prog, op, &a[0])
    			x1 := p.getConstant(prog, op, &a[1])
    			x2 := int64(p.getRegister(prog, op, &a[2]))
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
Back to top