Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IsPPC64NEG (0.07 sec)

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

    	switch op {
    	case ppc64.ACMP, ppc64.ACMPU, ppc64.ACMPW, ppc64.ACMPWU, ppc64.AFCMPO, ppc64.AFCMPU:
    		return true
    	}
    	return false
    }
    
    // IsPPC64NEG reports whether the op (as defined by an ppc64.A* constant) is
    // one of the NEG-like instructions that require special handling.
    func IsPPC64NEG(op obj.As) bool {
    	switch op {
    	case ppc64.AADDMECC, ppc64.AADDMEVCC, ppc64.AADDMEV, ppc64.AADDME,
    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.From is no address.
    			prog.To = a[0]
    		} else {
    			prog.From = a[0]
    			// prog.To is no address.
    		}
    		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]
    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