Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for CMPBconst (0.66 sec)

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

    (CMPBconst (MOVLconst [x]) [y]) && int8(x)==y => (FlagEQ)
    (CMPBconst (MOVLconst [x]) [y]) && int8(x)<y && uint8(x)<uint8(y) => (FlagLT_ULT)
    (CMPBconst (MOVLconst [x]) [y]) && int8(x)<y && uint8(x)>uint8(y) => (FlagLT_UGT)
    (CMPBconst (MOVLconst [x]) [y]) && int8(x)>y && uint8(x)<uint8(y) => (FlagGT_ULT)
    (CMPBconst (MOVLconst [x]) [y]) && int8(x)>y && uint8(x)>uint8(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: (CMPB x (MOVLconst [c]))
    	// result: (CMPBconst x [int8(c)])
    	for {
    		x := v_0
    		if v_1.Op != OpAMD64MOVLconst {
    			break
    		}
    		c := auxIntToInt32(v_1.AuxInt)
    		v.reset(OpAMD64CMPBconst)
    		v.AuxInt = int8ToAuxInt(int8(c))
    		v.AddArg(x)
    		return true
    	}
    	// match: (CMPB (MOVLconst [c]) x)
    	// result: (InvertFlags (CMPBconst x [int8(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

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