Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IsARMCMP (0.05 sec)

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

    	"BGT":  true,
    	"BLE":  true,
    	"CALL": true,
    	"JMP":  true,
    }
    
    func jumpArm(word string) bool {
    	return armJump[word]
    }
    
    // IsARMCMP reports whether the op (as defined by an arm.A* constant) is
    // one of the comparison instructions that require special handling.
    func IsARMCMP(op obj.As) bool {
    	switch op {
    	case arm.ACMN, arm.ACMP, arm.ATEQ, arm.ATST:
    		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

    		if p.arch.Family == sys.PPC64 && arch.IsPPC64NEG(op) {
    			// NEG: From and To are both a[0].
    			prog.To = a[0]
    			prog.From = a[0]
    			break
    		}
    	case 2:
    		if p.arch.Family == sys.ARM {
    			if arch.IsARMCMP(op) {
    				prog.From = a[0]
    				prog.Reg = p.getRegister(prog, op, &a[1])
    				break
    			}
    			// Strange special cases.
    			if arch.IsARMFloatCmp(op) {
    				prog.From = a[0]
    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