Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IsPPC64CMP (0.08 sec)

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

    		return true
    	}
    	return false
    }
    
    // IsPPC64CMP reports whether the op (as defined by an ppc64.A* constant) is
    // one of the CMP instructions that require special handling.
    func IsPPC64CMP(op obj.As) bool {
    	switch op {
    	case ppc64.ACMP, ppc64.ACMPU, ppc64.ACMPW, ppc64.ACMPWU, ppc64.AFCMPO, ppc64.AFCMPU:
    		return true
    	}
    	return false
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri May 17 21:53:50 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/asm.go

    				prog.Reg = p.getRegister(prog, op, &a[1])
    				prog.To = a[2]
    			}
    		case sys.I386:
    			prog.From = a[0]
    			prog.AddRestSource(a[1])
    			prog.To = a[2]
    		case sys.PPC64:
    			if arch.IsPPC64CMP(op) {
    				// CMPW etc.; third argument is a CR register that goes into prog.Reg.
    				prog.From = a[0]
    				prog.Reg = p.getRegister(prog, op, &a[2])
    				prog.To = a[1]
    				break
    			}
    
    			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