Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IsARMSTREX (0.11 sec)

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

    func IsARMCMP(op obj.As) bool {
    	switch op {
    	case arm.ACMN, arm.ACMP, arm.ATEQ, arm.ATST:
    		return true
    	}
    	return false
    }
    
    // IsARMSTREX reports whether the op (as defined by an arm.A* constant) is
    // one of the STREX-like instructions that require special handling.
    func IsARMSTREX(op obj.As) bool {
    	switch op {
    	case arm.ASTREX, arm.ASTREXD, arm.ASTREXB, arm.ASWPW, arm.ASWPBU:
    		return true
    	}
    	return false
    }
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 23 15:18:14 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/asm.go

    				prog.To = a[1]
    				prog.RegTo2 = a[2].Reg
    			default:
    				prog.From = a[0]
    				prog.Reg = p.getRegister(prog, op, &a[1])
    				prog.To = a[2]
    			}
    		case sys.ARM:
    			// Special cases.
    			if arch.IsARMSTREX(op) {
    				/*
    					STREX x, (y), z
    						from=(y) reg=x to=z
    				*/
    				prog.From = a[1]
    				prog.Reg = p.getRegister(prog, op, &a[0])
    				prog.To = a[2]
    				break
    			}
    			if arch.IsARMBFX(op) {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 21 14:11:44 UTC 2024
    - 25.5K bytes
    - Viewed (0)
Back to top