Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for CMPWconst (0.3 sec)

  1. src/cmd/compile/internal/ssa/rewriteAMD64splitload.go

    		x.AuxInt = int32ToAuxInt(vo.Off())
    		x.Aux = symToAux(sym)
    		x.AddArg2(ptr, mem)
    		v.AddArg2(x, x)
    		return true
    	}
    	// match: (CMPWconstload {sym} [vo] ptr mem)
    	// cond: vo.Val() != 0
    	// result: (CMPWconst (MOVWload {sym} [vo.Off()] ptr mem) [vo.Val16()])
    	for {
    		vo := auxIntToValAndOff(v.AuxInt)
    		sym := auxToSym(v.Aux)
    		ptr := v_0
    		mem := v_1
    		if !(vo.Val() != 0) {
    			break
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 21.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewriteARM64latelower.go

    		v.AddArg2(x, v0)
    		return true
    	}
    	return false
    }
    func rewriteValueARM64latelower_OpARM64CMPWconst(v *Value) bool {
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (CMPWconst [c] x)
    	// cond: !isARM64addcon(int64(c))
    	// result: (CMPW x (MOVDconst [int64(c)]))
    	for {
    		c := auxIntToInt32(v.AuxInt)
    		x := v_0
    		if !(!isARM64addcon(int64(c))) {
    			break
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/386Ops.go

    		{name: "CMPLconst", argLength: 1, reg: gp1flags, asm: "CMPL", typ: "Flags", aux: "Int32"}, // arg0 compare to auxint
    		{name: "CMPWconst", argLength: 1, reg: gp1flags, asm: "CMPW", typ: "Flags", aux: "Int16"}, // arg0 compare to auxint
    		{name: "CMPBconst", argLength: 1, reg: gp1flags, asm: "CMPB", typ: "Flags", aux: "Int8"},  // arg0 compare to 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)
  4. src/cmd/compile/internal/ssa/_gen/PPC64Ops.go

    		{name: "CMPconst", argLength: 1, reg: gp1cr, asm: "CMP", aux: "Int64", typ: "Flags"},
    		{name: "CMPUconst", argLength: 1, reg: gp1cr, asm: "CMPU", aux: "Int64", typ: "Flags"},
    		{name: "CMPWconst", argLength: 1, reg: gp1cr, asm: "CMPW", aux: "Int32", typ: "Flags"},
    		{name: "CMPWUconst", argLength: 1, reg: gp1cr, asm: "CMPWU", aux: "Int32", typ: "Flags"},
    
    		// ISEL  arg2 ? arg0 : arg1
    		// ISELZ arg1 ? arg0 : $0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 43.8K bytes
    - Viewed (0)
Back to top