Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Zeromask (0.19 sec)

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

    (Rsh64x64 x y)  => (Rsh64x32  x (Or32 <typ.UInt32> (Zeromask (Int64Hi y)) (Int64Lo y)))
    (Rsh64Ux64 x y) => (Rsh64Ux32 x (Or32 <typ.UInt32> (Zeromask (Int64Hi y)) (Int64Lo y)))
    (Lsh32x64 x y)  => (Lsh32x32  x (Or32 <typ.UInt32> (Zeromask (Int64Hi y)) (Int64Lo y)))
    (Rsh32x64 x y)  => (Rsh32x32  x (Or32 <typ.UInt32> (Zeromask (Int64Hi y)) (Int64Lo y)))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 04 19:35:46 UTC 2022
    - 14.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewritedec64.go

    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (BitLen64 x)
    	// result: (Add32 <typ.Int> (BitLen32 <typ.Int> (Int64Hi x)) (BitLen32 <typ.Int> (Or32 <typ.UInt32> (Int64Lo x) (Zeromask (Int64Hi x)))))
    	for {
    		x := v_0
    		v.reset(OpAdd32)
    		v.Type = typ.Int
    		v0 := b.NewValue0(v.Pos, OpBitLen32, typ.Int)
    		v1 := b.NewValue0(v.Pos, OpInt64Hi, typ.UInt32)
    		v1.AddArg(x)
    		v0.AddArg(v1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 65.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/writebarrier.go

    					changed = true
    				}
    			}
    		}
    		if !changed {
    			break
    		}
    	}
    	if f.pass.debug > 0 {
    		fmt.Printf("func %s\n", f.Name)
    		for mem, z := range zeroes {
    			fmt.Printf("  memory=v%d ptr=%v zeromask=%b\n", mem, z.base, z.mask)
    		}
    	}
    	return zeroes
    }
    
    // wbcall emits write barrier runtime call in b, returns memory.
    func wbcall(pos src.XPos, b *Block, fn *obj.LSym, sp, mem *Value, args ...*Value) *Value {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 23.5K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/MIPS.rules

    (ZeroExt16to32 ...) => (MOVHUreg ...)
    
    (SignExt8to16 ...)  => (MOVBreg ...)
    (SignExt8to32 ...)  => (MOVBreg ...)
    (SignExt16to32 ...) => (MOVHreg ...)
    
    (Signmask x) => (SRAconst x [31])
    (Zeromask x) => (NEG (SGTU x (MOVWconst [0])))
    (Slicemask <t> x) => (SRAconst (NEG <t> x) [31])
    
    // float-int conversion
    (Cvt32to(32|64)F ...) => (MOVW(F|D) ...)
    (Cvt(32|64)Fto32 ...) => (TRUNC(F|D)W ...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 14:43:03 UTC 2023
    - 35.3K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	{name: "Signmask", argLength: 1, typ: "Int32"},  // 0 if arg0 >= 0, -1 if arg0 < 0
    	{name: "Zeromask", argLength: 1, typ: "UInt32"}, // 0 if arg0 == 0, 0xffffffff if arg0 != 0
    	{name: "Slicemask", argLength: 1},               // 0 if arg0 == 0, -1 if arg0 > 0, undef if arg0<0. Type is native int size.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/ARM.rules

    (ZeroExt16to32 ...) => (MOVHUreg ...)
    
    (SignExt8to16 ...) => (MOVBreg ...)
    (SignExt8to32 ...) => (MOVBreg ...)
    (SignExt16to32 ...) => (MOVHreg ...)
    
    (Signmask x) => (SRAconst x [31])
    (Zeromask x) => (SRAconst (RSBshiftRL <typ.Int32> x x [1]) [31]) // sign bit of uint32(x)>>1 - x
    (Slicemask <t> x) => (SRAconst (RSBconst <t> [0] x) [31])
    
    // float <-> int conversion
    (Cvt32to32F ...) => (MOVWF ...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 90.1K bytes
    - Viewed (0)
  7. pkg/volume/volume_linux.go

    import (
    	"path/filepath"
    	"syscall"
    
    	"os"
    	"time"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/klog/v2"
    	"k8s.io/kubernetes/pkg/volume/util/types"
    )
    
    const (
    	rwMask   = os.FileMode(0660)
    	roMask   = os.FileMode(0440)
    	execMask = os.FileMode(0110)
    )
    
    // SetVolumeOwnership modifies the given volume to be owned by
    // fsGroup, and sets SetGid so that newly created files are owned by
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 03 19:34:37 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/rewriteMIPS.go

    		v.AddArg3(ptr, v0, mem)
    		return true
    	}
    	return false
    }
    func rewriteValueMIPS_OpZeromask(v *Value) bool {
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (Zeromask x)
    	// result: (NEG (SGTU x (MOVWconst [0])))
    	for {
    		x := v_0
    		v.reset(OpMIPSNEG)
    		v0 := b.NewValue0(v.Pos, OpMIPSSGTU, typ.Bool)
    		v1 := b.NewValue0(v.Pos, OpMIPSMOVWconst, typ.UInt32)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 14:43:03 UTC 2023
    - 176.6K bytes
    - Viewed (0)
  9. pkg/volume/volume_linux_test.go

    	if err != nil {
    		return false
    	}
    	stat, ok := info.Sys().(*syscall.Stat_t)
    	if !ok || stat == nil {
    		return false
    	}
    	unixPerms := rwMask
    
    	if readonly {
    		unixPerms = roMask
    	}
    
    	unixPerms |= execMask
    	filePerm := info.Mode().Perm()
    	if (unixPerms&filePerm == unixPerms) && (info.Mode()&os.ModeSetgid != 0) {
    		return true
    	}
    	return false
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 03 19:34:37 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/rewrite386.go

    		v.AddArg4(destptr, v0, v1, mem)
    		return true
    	}
    	return false
    }
    func rewriteValue386_OpZeromask(v *Value) bool {
    	v_0 := v.Args[0]
    	b := v.Block
    	// match: (Zeromask <t> x)
    	// result: (XORLconst [-1] (SBBLcarrymask <t> (CMPLconst x [1])))
    	for {
    		t := v.Type
    		x := v_0
    		v.reset(Op386XORLconst)
    		v.AuxInt = int32ToAuxInt(-1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 21:05:46 UTC 2023
    - 262.4K bytes
    - Viewed (0)
Back to top