Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IsARMCMP (0.26 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
    }
    
    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

    		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]
    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