Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for SUBLconst (0.38 sec)

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

    (SUBQ x (MOVQconst [c])) && is32Bit(c) => (SUBQconst x [int32(c)])
    (SUBQ (MOVQconst [c]) x) && is32Bit(c) => (NEGQ (SUBQconst <v.Type> x [int32(c)]))
    (SUBL x (MOVLconst [c])) => (SUBLconst x [c])
    (SUBL (MOVLconst [c]) x) => (NEGL (SUBLconst <v.Type> x [c]))
    
    (MULQ x (MOVQconst [c])) && is32Bit(c) => (MULQconst [int32(c)] x)
    (MULL x (MOVLconst [c])) => (MULLconst [c] x)
    
    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/386Ops.go

    		{name: "SUBL", argLength: 2, reg: gp21, asm: "SUBL", resultInArg0: true, clobberFlags: true},                    // arg0 - arg1
    		{name: "SUBLconst", argLength: 1, reg: gp11, asm: "SUBL", aux: "Int32", resultInArg0: true, clobberFlags: true}, // arg0 - auxint
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 14 08:10:32 UTC 2023
    - 45.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewrite386.go

    	b := v.Block
    	// match: (SUBL x (MOVLconst [c]))
    	// result: (SUBLconst x [c])
    	for {
    		x := v_0
    		if v_1.Op != Op386MOVLconst {
    			break
    		}
    		c := auxIntToInt32(v_1.AuxInt)
    		v.reset(Op386SUBLconst)
    		v.AuxInt = int32ToAuxInt(c)
    		v.AddArg(x)
    		return true
    	}
    	// match: (SUBL (MOVLconst [c]) x)
    	// result: (NEGL (SUBLconst <v.Type> x [c]))
    	for {
    		if v_0.Op != Op386MOVLconst {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 21:05:46 UTC 2023
    - 262.4K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/AMD64Ops.go

    		{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},
    
    		{name: "MULQ", argLength: 2, reg: gp21, asm: "IMULQ", commutative: true, 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)
  5. src/cmd/compile/internal/ssa/rewriteAMD64.go

    	// match: (SUBL x (MOVLconst [c]))
    	// result: (SUBLconst x [c])
    	for {
    		x := v_0
    		if v_1.Op != OpAMD64MOVLconst {
    			break
    		}
    		c := auxIntToInt32(v_1.AuxInt)
    		v.reset(OpAMD64SUBLconst)
    		v.AuxInt = int32ToAuxInt(c)
    		v.AddArg(x)
    		return true
    	}
    	// match: (SUBL (MOVLconst [c]) x)
    	// result: (NEGL (SUBLconst <v.Type> x [c]))
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 712.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/opGen.go

    				{0, 239}, // AX CX DX BX BP SI DI
    				{1, 239}, // AX CX DX BX BP SI DI
    			},
    			outputs: []outputInfo{
    				{0, 239}, // AX CX DX BX BP SI DI
    			},
    		},
    	},
    	{
    		name:         "SUBLconst",
    		auxType:      auxInt32,
    		argLen:       1,
    		resultInArg0: true,
    		clobberFlags: true,
    		asm:          x86.ASUBL,
    		reg: regInfo{
    			inputs: []inputInfo{
    				{0, 239}, // AX CX DX BX BP SI DI
    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