Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 29 for NewValue0 (0.38 sec)

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

    	for {
    		x := v_0
    		y := v_1
    		v.reset(OpARMSUB)
    		v0 := b.NewValue0(v.Pos, OpARMXOR, typ.UInt32)
    		v1 := b.NewValue0(v.Pos, OpSelect0, typ.UInt32)
    		v2 := b.NewValue0(v.Pos, OpARMCALLudiv, types.NewTuple(typ.UInt32, typ.UInt32))
    		v3 := b.NewValue0(v.Pos, OpARMSUB, typ.UInt32)
    		v4 := b.NewValue0(v.Pos, OpARMXOR, typ.UInt32)
    		v5 := b.NewValue0(v.Pos, OpSignmask, typ.Int32)
    		v5.AddArg(x)
    		v4.AddArg2(x, v5)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 486.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewriteAMD64splitload.go

    	for {
    		vo := auxIntToValAndOff(v.AuxInt)
    		sym := auxToSym(v.Aux)
    		ptr := v_0
    		mem := v_1
    		if !(vo.Val() == 0) {
    			break
    		}
    		v.reset(OpAMD64TESTB)
    		x := b.NewValue0(v.Pos, OpAMD64MOVBload, typ.UInt8)
    		x.AuxInt = int32ToAuxInt(vo.Off())
    		x.Aux = symToAux(sym)
    		x.AddArg2(ptr, mem)
    		v.AddArg2(x, x)
    		return true
    	}
    	// match: (CMPBconstload {sym} [vo] ptr mem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 21.4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewritePPC64.go

    		v.AuxInt = int32ToAuxInt(2)
    		v0 := b.NewValue0(v.Pos, OpPPC64SLD, t)
    		v1 := b.NewValue0(v.Pos, OpPPC64MOVHZreg, typ.Int64)
    		v1.AddArg(x)
    		v0.AddArg2(v1, y)
    		v2 := b.NewValue0(v.Pos, OpPPC64MOVDconst, typ.Int64)
    		v2.AuxInt = int64ToAuxInt(0)
    		v3 := b.NewValue0(v.Pos, OpPPC64CMPconst, types.TypeFlags)
    		v3.AuxInt = int64ToAuxInt(0)
    		v4 := b.NewValue0(v.Pos, OpPPC64ANDconst, typ.Int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 360.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewriteARM64.go

    			if !(isPowerOfTwo64(c+1) && int32(c) >= 7) {
    				continue
    			}
    			v.reset(OpARM64MOVWUreg)
    			v0 := b.NewValue0(v.Pos, OpARM64NEG, x.Type)
    			v1 := b.NewValue0(v.Pos, OpARM64ADDshiftLL, x.Type)
    			v1.AuxInt = int64ToAuxInt(log64(c + 1))
    			v2 := b.NewValue0(v.Pos, OpARM64NEG, x.Type)
    			v2.AddArg(x)
    			v1.AddArg2(v2, x)
    			v0.AddArg(v1)
    			v.AddArg(v0)
    			return true
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 608.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewriteS390X.go

    		v.reset(OpS390XSUB)
    		v0 := b.NewValue0(v.Pos, OpS390XMOVDconst, typ.UInt64)
    		v0.AuxInt = int64ToAuxInt(64)
    		v1 := b.NewValue0(v.Pos, OpS390XFLOGR, typ.UInt64)
    		v2 := b.NewValue0(v.Pos, OpS390XMOVWZreg, typ.UInt64)
    		v3 := b.NewValue0(v.Pos, OpS390XANDW, t)
    		v4 := b.NewValue0(v.Pos, OpS390XSUBWconst, t)
    		v4.AuxInt = int32ToAuxInt(1)
    		v4.AddArg(x)
    		v5 := b.NewValue0(v.Pos, OpS390XNOTW, t)
    		v5.AddArg(x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 18:09:26 UTC 2023
    - 395.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/rewriteAMD64.go

    		v.Aux = symToAux(dstSym)
    		v0 := b.NewValue0(v_1.Pos, OpAMD64MOVQconst, typ.UInt64)
    		v0.AuxInt = int64ToAuxInt(int64(read64(srcSym, int64(srcOff)+8, config.ctxt.Arch.ByteOrder)))
    		v1 := b.NewValue0(v_1.Pos, OpAMD64MOVQstore, types.TypeMem)
    		v1.AuxInt = int32ToAuxInt(dstOff)
    		v1.Aux = symToAux(dstSym)
    		v2 := b.NewValue0(v_1.Pos, OpAMD64MOVQconst, typ.UInt64)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 712.7K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/rewriteRISCV64latelower.go

    		c := auxIntToInt64(v.AuxInt)
    		if v_0.Op != OpRISCV64MOVBUreg {
    			break
    		}
    		x := v_0.Args[0]
    		if !(c <= 56) {
    			break
    		}
    		v.reset(OpRISCV64SRLI)
    		v.AuxInt = int64ToAuxInt(56 - c)
    		v0 := b.NewValue0(v.Pos, OpRISCV64SLLI, typ.UInt64)
    		v0.AuxInt = int64ToAuxInt(56)
    		v0.AddArg(x)
    		v.AddArg(v0)
    		return true
    	}
    	// match: (SLLI [c] (MOVHUreg x))
    	// cond: c <= 48
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/rewrite386.go

    		v.reset(OpMove)
    		v.AuxInt = int64ToAuxInt(s - s%4)
    		v0 := b.NewValue0(v.Pos, Op386ADDLconst, dst.Type)
    		v0.AuxInt = int32ToAuxInt(int32(s % 4))
    		v0.AddArg(dst)
    		v1 := b.NewValue0(v.Pos, Op386ADDLconst, src.Type)
    		v1.AuxInt = int32ToAuxInt(int32(s % 4))
    		v1.AddArg(src)
    		v2 := b.NewValue0(v.Pos, Op386MOVLstore, types.TypeMem)
    		v3 := b.NewValue0(v.Pos, Op386MOVLload, typ.UInt32)
    		v3.AddArg2(src, mem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 21:05:46 UTC 2023
    - 262.4K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/softfloat.go

    					v.reset(OpXor32)
    					v.Type = f.Config.Types.UInt32
    					v.AddArg(arg0)
    					mask := v.Block.NewValue0(v.Pos, OpConst32, v.Type)
    					mask.AuxInt = -0x80000000
    					v.AddArg(mask)
    				case OpNeg64F:
    					arg0 := v.Args[0]
    					v.reset(OpXor64)
    					v.Type = f.Config.Types.UInt64
    					v.AddArg(arg0)
    					mask := v.Block.NewValue0(v.Pos, OpConst64, v.Type)
    					mask.AuxInt = -0x8000000000000000
    					v.AddArg(mask)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 03 16:14:24 UTC 2021
    - 2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/rewriteARM64latelower.go

    	// cond: !isARM64addcon(c)
    	// result: (ADDSflags x (MOVDconst [c]))
    	for {
    		c := auxIntToInt64(v.AuxInt)
    		x := v_0
    		if !(!isARM64addcon(c)) {
    			break
    		}
    		v.reset(OpARM64ADDSflags)
    		v0 := b.NewValue0(v.Pos, OpARM64MOVDconst, typ.UInt64)
    		v0.AuxInt = int64ToAuxInt(c)
    		v.AddArg2(x, v0)
    		return true
    	}
    	return false
    }
    func rewriteValueARM64latelower_OpARM64ADDconst(v *Value) bool {
    	v_0 := v.Args[0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 19.3K bytes
    - Viewed (0)
Back to top