Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for CMPLconst (0.14 sec)

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

    (CMPQconst (MOVQconst [x]) [y]) && x>int64(y) && uint64(x)>uint64(int64(y)) => (FlagGT_UGT)
    (CMPLconst (MOVLconst [x]) [y]) && x==y => (FlagEQ)
    (CMPLconst (MOVLconst [x]) [y]) && x<y && uint32(x)<uint32(y) => (FlagLT_ULT)
    (CMPLconst (MOVLconst [x]) [y]) && x<y && uint32(x)>uint32(y) => (FlagLT_UGT)
    (CMPLconst (MOVLconst [x]) [y]) && x>y && uint32(x)<uint32(y) => (FlagGT_ULT)
    (CMPLconst (MOVLconst [x]) [y]) && x>y && uint32(x)>uint32(y) => (FlagGT_UGT)
    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/rewriteAMD64.go

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

    		asm:    x86.ACMPB,
    		reg: regInfo{
    			inputs: []inputInfo{
    				{0, 255}, // AX CX DX BX SP BP SI DI
    				{1, 255}, // AX CX DX BX SP BP SI DI
    			},
    		},
    	},
    	{
    		name:    "CMPLconst",
    		auxType: auxInt32,
    		argLen:  1,
    		asm:     x86.ACMPL,
    		reg: regInfo{
    			inputs: []inputInfo{
    				{0, 255}, // AX CX DX BX SP 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