Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for SumBytes8 (0.23 sec)

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

    //
    (PopCount8  x) => (POPCNT (MOVBZreg x))
    (PopCount16 x) => (MOVBZreg (SumBytes2 (POPCNT <typ.UInt16> x)))
    (PopCount32 x) => (MOVBZreg (SumBytes4 (POPCNT <typ.UInt32> x)))
    (PopCount64 x) => (MOVBZreg (SumBytes8 (POPCNT <typ.UInt64> x)))
    
    // SumBytes{2,4,8} pseudo operations sum the values of the rightmost
    // 2, 4 or 8 bytes respectively. The result is a single byte however
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 18:09:26 UTC 2023
    - 74.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/S390XOps.go

    		{name: "SumBytes2", argLength: 1, typ: "UInt8"}, // sum the rightmost 2 bytes in arg0 ignoring overflow
    		{name: "SumBytes4", argLength: 1, typ: "UInt8"}, // sum the rightmost 4 bytes in arg0 ignoring overflow
    		{name: "SumBytes8", argLength: 1, typ: "UInt8"}, // sum all the bytes in arg0 ignoring overflow
    
    		// store multiple
    		{
    			name:           "STMG2",
    			argLength:      4,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 52.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewriteS390X.go

    		return true
    	}
    }
    func rewriteValueS390X_OpPopCount64(v *Value) bool {
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (PopCount64 x)
    	// result: (MOVBZreg (SumBytes8 (POPCNT <typ.UInt64> x)))
    	for {
    		x := v_0
    		v.reset(OpS390XMOVBZreg)
    		v0 := b.NewValue0(v.Pos, OpS390XSumBytes8, typ.UInt8)
    		v1 := b.NewValue0(v.Pos, OpS390XPOPCNT, typ.UInt64)
    		v1.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)
  4. src/cmd/compile/internal/ssa/opGen.go

    		},
    	},
    	{
    		name:   "SumBytes2",
    		argLen: 1,
    		reg:    regInfo{},
    	},
    	{
    		name:   "SumBytes4",
    		argLen: 1,
    		reg:    regInfo{},
    	},
    	{
    		name:   "SumBytes8",
    		argLen: 1,
    		reg:    regInfo{},
    	},
    	{
    		name:           "STMG2",
    		auxType:        auxSymOff,
    		argLen:         4,
    		clobberFlags:   true,
    		faultOnNilArg0: true,
    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