Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for IsARMMRC (0.05 seconds)

  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
    }
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Oct 23 15:18:14 GMT 2024
    - 6.1K bytes
    - Click Count (0)
  2. src/cmd/asm/internal/asm/asm.go

    			// SVE instructions, see arm64/goops_gen.go
    			prog.From = a[0]
    			prog.AddRestSourceArgs([]obj.Addr{a[1], a[2], a[3], a[4]})
    			prog.To = a[5]
    			break
    		}
    		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]))
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Mar 20 17:02:17 GMT 2026
    - 27.5K bytes
    - Click Count (0)
Back to Top