Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for SUBQconst (0.51 sec)

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

    (ADDQconst [c] (ADDQconst [d] x)) && is32Bit(int64(c)+int64(d)) => (ADDQconst [c+d] x)
    (ADDLconst [c] (ADDLconst [d] x)) => (ADDLconst [c+d] x)
    (SUBQconst (MOVQconst [d]) [c]) => (MOVQconst [d-int64(c)])
    (SUBQconst (SUBQconst x [d]) [c]) && is32Bit(int64(-c)-int64(d)) => (ADDQconst [-c-d] x)
    (SARQconst [c] (MOVQconst [d])) => (MOVQconst [d>>uint64(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: "SUBQ", argLength: 2, reg: gp21, asm: "SUBQ", resultInArg0: true, clobberFlags: true},
    		{name: "SUBL", argLength: 2, reg: gp21, asm: "SUBL", resultInArg0: true, clobberFlags: true},
    		{name: "SUBQconst", argLength: 1, reg: gp11, asm: "SUBQ", aux: "Int32", resultInArg0: true, clobberFlags: true},
    		{name: "SUBLconst", argLength: 1, reg: gp11, asm: "SUBL", aux: "Int32", resultInArg0: true, clobberFlags: true},
    
    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
    	}
    	// match: (SUBQconst (MOVQconst [d]) [c])
    	// result: (MOVQconst [d-int64(c)])
    	for {
    		c := auxIntToInt32(v.AuxInt)
    		if v_0.Op != OpAMD64MOVQconst {
    			break
    		}
    		d := auxIntToInt64(v_0.AuxInt)
    		v.reset(OpAMD64MOVQconst)
    		v.AuxInt = int64ToAuxInt(d - int64(c))
    		return true
    	}
    	// match: (SUBQconst (SUBQconst x [d]) [c])
    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{
    				{0, 49135}, // AX CX DX BX BP SI DI R8 R9 R10 R11 R12 R13 R15
    			},
    		},
    	},
    	{
    		name:         "SUBQconst",
    		auxType:      auxInt32,
    		argLen:       1,
    		resultInArg0: true,
    		clobberFlags: true,
    		asm:          x86.ASUBQ,
    		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