Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ADDQconstcarry (0.24 sec)

  1. src/cmd/compile/internal/ssa/_gen/AMD64.rules

    // Optimize ADCQ and friends
    (ADCQ x (MOVQconst [c]) carry) && is32Bit(c) => (ADCQconst x [int32(c)] carry)
    (ADCQ x y (FlagEQ)) => (ADDQcarry x y)
    (ADCQconst x [c] (FlagEQ)) => (ADDQconstcarry x [c])
    (ADDQcarry x (MOVQconst [c])) && is32Bit(c) => (ADDQconstcarry x [int32(c)])
    (SBBQ x (MOVQconst [c]) borrow) && is32Bit(c) => (SBBQconst x [int32(c)] borrow)
    (SBBQ x y (FlagEQ)) => (SUBQborrow x y)
    (SBBQconst x [c] (FlagEQ)) => (SUBQconstborrow x [c])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 93.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/AMD64Ops.go

    		{name: "ADCQ", argLength: 3, reg: gp2flags1flags, typ: "(UInt64,Flags)", asm: "ADCQ", commutative: true, resultInArg0: true}, // r = arg0+arg1+carry(arg2)
    		{name: "ADDQconstcarry", argLength: 1, reg: gp11flags, typ: "(UInt64,Flags)", asm: "ADDQ", aux: "Int32", resultInArg0: true}, // r = arg0+auxint
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 04 16:40:24 UTC 2023
    - 98K bytes
    - Viewed (1)
  3. src/cmd/compile/internal/ssa/rewriteAMD64.go

    		return true
    	}
    	return false
    }
    func rewriteValueAMD64_OpAMD64ADCQconst(v *Value) bool {
    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	// match: (ADCQconst x [c] (FlagEQ))
    	// result: (ADDQconstcarry x [c])
    	for {
    		c := auxIntToInt32(v.AuxInt)
    		x := v_0
    		if v_1.Op != OpAMD64FlagEQ {
    			break
    		}
    		v.reset(OpAMD64ADDQconstcarry)
    		v.AuxInt = int32ToAuxInt(c)
    		v.AddArg(x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 712.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/opGen.go

    			},
    			outputs: []outputInfo{
    				{1, 0},
    				{0, 49135}, // AX CX DX BX BP SI DI R8 R9 R10 R11 R12 R13 R15
    			},
    		},
    	},
    	{
    		name:         "ADDQconstcarry",
    		auxType:      auxInt32,
    		argLen:       1,
    		resultInArg0: true,
    		asm:          x86.AADDQ,
    		reg: regInfo{
    			inputs: []inputInfo{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 1M bytes
    - Viewed (0)
Back to top