Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for POPCNTD (0.2 sec)

  1. src/internal/bytealg/count_ppc64x.s

    	BLT	tail_8
    	MOVD	(R3), R12
    	MOVD	8(R3), R14
    	CMPB	R12, R5, R12
    	CMPB	R14, R5, R14
    	POPCNTD	R12, R12
    	POPCNTD	R14, R14
    	ADD	R12, R18, R18
    	ADD	R14, R18, R18
    	ADD	$16, R3, R3
    	ADD	$-16, R4, R4
    
    tail_8:	// Count the remaining 0 - 15 bytes.
    	CMP	R4, $8
    	BLT	tail_4
    	MOVD	(R3), R12
    	CMPB	R12, R5, R12
    	POPCNTD	R12, R12
    	ADD	R12, R18, R18
    	ADD	$8, R3, R3
    	ADD	$-8, R4, R4
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 14 20:30:44 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  2. test/codegen/mathbits.go

    	// amd64:"POPCNTQ"
    	// arm64:"VCNT","VUADDLV"
    	// s390x:"POPCNT"
    	// ppc64x:"POPCNTD"
    	// wasm:"I64Popcnt"
    	return bits.OnesCount(n)
    }
    
    func OnesCount64(n uint64) int {
    	// amd64/v2:-".*x86HasPOPCNT" amd64/v3:-".*x86HasPOPCNT"
    	// amd64:"POPCNTQ"
    	// arm64:"VCNT","VUADDLV"
    	// s390x:"POPCNT"
    	// ppc64x:"POPCNTD"
    	// wasm:"I64Popcnt"
    	return bits.OnesCount64(n)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:51:17 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/ppc64/anames.go

    	"SLBMTE",
    	"SLD",
    	"SLDCC",
    	"SRD",
    	"SRAD",
    	"SRADCC",
    	"SRDCC",
    	"EXTSWSLI",
    	"EXTSWSLICC",
    	"STDCCC",
    	"TD",
    	"SETB",
    	"DWORD",
    	"REMD",
    	"REMDU",
    	"HRFID",
    	"POPCNTD",
    	"POPCNTW",
    	"POPCNTB",
    	"CNTTZW",
    	"CNTTZWCC",
    	"CNTTZD",
    	"CNTTZDCC",
    	"COPY",
    	"PASTECC",
    	"DARN",
    	"MADDHD",
    	"MADDHDU",
    	"MADDLD",
    	"LVEBX",
    	"LVEHX",
    	"LVEWX",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 18:50:29 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/PPC64Ops.go

    		{name: "CNTTZD", argLength: 1, reg: gp11, asm: "CNTTZD"}, // count trailing zeros
    		{name: "CNTTZW", argLength: 1, reg: gp11, asm: "CNTTZW"}, // count trailing zeros (32 bit)
    
    		{name: "POPCNTD", argLength: 1, reg: gp11, asm: "POPCNTD"}, // number of set bits in arg0
    		{name: "POPCNTW", argLength: 1, reg: gp11, asm: "POPCNTW"}, // number of set bits in each word of arg0 placed in corresponding word
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    // TODO: optimize these cases?
    (Ctz32NonZero ...) => (Ctz32 ...)
    (Ctz64NonZero ...) => (Ctz64 ...)
    
    (Ctz64 x) && buildcfg.GOPPC64<=8 => (POPCNTD (ANDN <typ.Int64> (ADDconst <typ.Int64> [-1] x) x))
    (Ctz64 x) => (CNTTZD x)
    (Ctz32 x) && buildcfg.GOPPC64<=8 => (POPCNTW (MOVWZreg (ANDN <typ.Int> (ADDconst <typ.Int> [-1] x) x)))
    (Ctz32 x) => (CNTTZW (MOVWZreg x))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/testdata/ppc64.s

    	ISEL CR1LT, R3, R4, R5          // 7ca3211e
    	ISEL CR7SO, R3, R4, R5          // 7ca327de
    	POPCNTB R3, R4                  // 7c6400f4
    	POPCNTW R3, R4                  // 7c6402f4
    	POPCNTD R3, R4                  // 7c6403f4
    
    	PASTECC R3, R4                  // 7c23270d
    	COPY R3, R4                     // 7c23260c
    
    	// load-and-reserve
    	LBAR (R4)(R3*1),$1,R5           // 7ca32069
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 21:53:50 UTC 2024
    - 50.2K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/tables.go

    	LDBRX:          "ldbrx",
    	LFIWZX:         "lfiwzx",
    	LHARX:          "lharx",
    	LXSDX:          "lxsdx",
    	LXVD2X:         "lxvd2x",
    	LXVDSX:         "lxvdsx",
    	LXVW4X:         "lxvw4x",
    	POPCNTD:        "popcntd",
    	POPCNTW:        "popcntw",
    	STBCXCC:        "stbcx.",
    	STDBRX:         "stdbrx",
    	STHCXCC:        "sthcx.",
    	STXSDX:         "stxsdx",
    	STXVD2X:        "stxvd2x",
    	STXVW4X:        "stxvw4x",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 17:16:14 UTC 2022
    - 334.7K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/ppc64/asm9.go

    		case ACRAND:
    			opset(ACRANDN, r0)
    			opset(ACREQV, r0)
    			opset(ACRNAND, r0)
    			opset(ACRNOR, r0)
    			opset(ACROR, r0)
    			opset(ACRORN, r0)
    			opset(ACRXOR, r0)
    
    		case APOPCNTD: /* popcntd, popcntw, popcntb, cnttzw, cnttzd */
    			opset(APOPCNTW, r0)
    			opset(APOPCNTB, r0)
    			opset(ACNTTZW, r0)
    			opset(ACNTTZWCC, r0)
    			opset(ACNTTZD, r0)
    			opset(ACNTTZDCC, r0)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:55:28 UTC 2024
    - 156.1K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/rewritePPC64.go

    		return true
    	}
    }
    func rewriteValuePPC64_OpCtz64(v *Value) bool {
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (Ctz64 x)
    	// cond: buildcfg.GOPPC64<=8
    	// result: (POPCNTD (ANDN <typ.Int64> (ADDconst <typ.Int64> [-1] x) x))
    	for {
    		x := v_0
    		if !(buildcfg.GOPPC64 <= 8) {
    			break
    		}
    		v.reset(OpPPC64POPCNTD)
    		v0 := b.NewValue0(v.Pos, OpPPC64ANDN, typ.Int64)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 360.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/opGen.go

    			},
    			outputs: []outputInfo{
    				{0, 1073733624}, // R3 R4 R5 R6 R7 R8 R9 R10 R11 R12 R14 R15 R16 R17 R18 R19 R20 R21 R22 R23 R24 R25 R26 R27 R28 R29
    			},
    		},
    	},
    	{
    		name:   "POPCNTD",
    		argLen: 1,
    		asm:    ppc64.APOPCNTD,
    		reg: regInfo{
    			inputs: []inputInfo{
    				{0, 1073733630}, // SP SB R3 R4 R5 R6 R7 R8 R9 R10 R11 R12 R14 R15 R16 R17 R18 R19 R20 R21 R22 R23 R24 R25 R26 R27 R28 R29
    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