Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for my_add (0.04 seconds)

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

    		mips.ACMPGTF, mips.ACMPGTD:
    		return true
    	}
    	return false
    }
    
    // IsMIPSMUL reports whether the op (as defined by an mips.A* constant) is
    // one of the MUL/DIV/REM/MADD/MSUB instructions that require special handling.
    func IsMIPSMUL(op obj.As) bool {
    	switch op {
    	case mips.AMUL, mips.AMULU, mips.AMULV, mips.AMULVU,
    		mips.ADIV, mips.ADIVU, mips.ADIVV, mips.ADIVVU,
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Mar 04 19:06:44 GMT 2020
    - 1.7K bytes
    - Click Count (0)
  2. misc/cgo/gmp/gmp.go

    	}
    	z.init = false
    }
    
    /*
     * arithmetic
     */
    
    // Add sets z = x + y and returns z.
    func (z *Int) Add(x, y *Int) *Int {
    	x.doinit()
    	y.doinit()
    	z.doinit()
    	C.mpz_add(&z.i[0], &x.i[0], &y.i[0])
    	return z
    }
    
    // Sub sets z = x - y and returns z.
    func (z *Int) Sub(x, y *Int) *Int {
    	x.doinit()
    	y.doinit()
    	z.doinit()
    	C.mpz_sub(&z.i[0], &x.i[0], &y.i[0])
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Click Count (0)
  3. src/cmd/asm/internal/asm/testdata/mips.s

    	// unary operation
    	NEGW	R1, R2 // 00011023
    	CLZ	R1, R2 // 70221020
    	CLO	R1, R2 // 70221021
    
    	WSBH	R1, R2 // 7c0110a0
    
    	SEB	R1, R2 // 7c011420
    	SEH	R1, R2 // 7c011620
    
    	// to (Hi, Lo)
    	MADD	R2, R1 // 70220000
    	MSUB	R2, R1 // 70220004
    	MUL	R2, R1 // 00220018
    
    	// END
    	//
    	//	LEND	comma // asm doesn't support the trailing comma.
    	//	{
    	//		outcode(int($1), &nullgen, 0, &nullgen);
    	//	}
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Aug 08 12:17:12 GMT 2023
    - 6.7K bytes
    - Click Count (0)
Back to Top