- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 116 for tzcntl (1.19 sec)
-
test/codegen/mathbits.go
i := 0 for n != 0 { // amd64/v1,amd64/v2:"BSFL",-"BTSQ" // amd64/v3:"TZCNTL" i += bits.TrailingZeros32(n) n &= n - 1 } return i } func IterateBits16(n uint16) int { i := 0 for n != 0 { // amd64/v1,amd64/v2:"BSFL",-"BTSL" // amd64/v3:"TZCNTL" // arm64:"RBITW","CLZW",-"ORR" i += bits.TrailingZeros16(n) n &= n - 1 } return i }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:51:17 UTC 2024 - 19.6K bytes - Viewed (0) -
src/cmd/internal/obj/x86/anames.go
"SUBSS", "SUBW", "SWAPGS", "SYSCALL", "SYSENTER", "SYSENTER64", "SYSEXIT", "SYSEXIT64", "SYSRET", "TESTB", "TESTL", "TESTQ", "TESTW", "TPAUSE", "TZCNTL", "TZCNTQ", "TZCNTW", "UCOMISD", "UCOMISS", "UD1", "UD2", "UMWAIT", "UNPCKHPD", "UNPCKHPS", "UNPCKLPD", "UNPCKLPS", "UMONITOR", "V4FMADDPS", "V4FMADDSS", "V4FNMADDPS",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 11 18:32:50 UTC 2023 - 19.1K bytes - Viewed (0) -
src/cmd/compile/internal/amd64/versions_test.go
"pmovsxbw", "pmovsxbd", "pmovsxbq", "pmovsxwd", "pmovsxwq", "pmovsxdq", "pblendvb", }, "fma": {"vfmadd231sd"}, "movbe": {"movbeqq", "movbeq", "movbell", "movbel", "movbe"}, "lzcnt": {"lzcntq", "lzcntl", "lzcnt"}, } // Test to use POPCNT instruction, if available func TestPopCnt(t *testing.T) { for _, tt := range []struct { x uint64 want int }{ {0b00001111, 4},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 15 20:19:15 UTC 2022 - 10.9K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/AMD64.rules
(Ctz8 x) => (BSFL (ORLconst <typ.UInt32> [1<<8 ] x)) (Ctz64NonZero x) && buildcfg.GOAMD64 >= 3 => (TZCNTQ x) (Ctz32NonZero x) && buildcfg.GOAMD64 >= 3 => (TZCNTL x) (Ctz16NonZero x) && buildcfg.GOAMD64 >= 3 => (TZCNTL x) (Ctz8NonZero x) && buildcfg.GOAMD64 >= 3 => (TZCNTL x) (Ctz64NonZero x) && buildcfg.GOAMD64 < 3 => (Select0 (BSFQ x)) (Ctz32NonZero x) && buildcfg.GOAMD64 < 3 => (BSFL x)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 12 19:38:41 UTC 2024 - 93.9K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/AMD64Ops.go
// count the number of trailing zero bits, prefer TZCNTQ over BSFQ, as TZCNTQ(0)==64 // and BSFQ(0) is undefined. Same for TZCNTL(0)==32 {name: "TZCNTQ", argLength: 1, reg: gp11, asm: "TZCNTQ", clobberFlags: true}, {name: "TZCNTL", argLength: 1, reg: gp11, asm: "TZCNTL", clobberFlags: true}, // CPUID feature: LZCNT. // count the number of leading zero bits.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 04 16:40:24 UTC 2023 - 98K bytes - Viewed (1) -
src/cmd/vendor/golang.org/x/sys/unix/fcntl.go
// systems by fcntl_linux_32bit.go to be SYS_FCNTL64. var fcntl64Syscall uintptr = SYS_FCNTL func fcntl(fd int, cmd, arg int) (int, error) { valptr, _, errno := Syscall(fcntl64Syscall, uintptr(fd), uintptr(cmd), uintptr(arg)) var err error if errno != 0 { err = errno } return int(valptr), err } // FcntlInt performs a fcntl syscall on fd with the provided command and argument. func FcntlInt(fd uintptr, cmd, arg int) (int, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 29 21:28:33 UTC 2023 - 1K bytes - Viewed (0) -
src/cmd/internal/obj/x86/aenum.go
ASUBQ ASUBSD ASUBSS ASUBW ASWAPGS ASYSCALL ASYSENTER ASYSENTER64 ASYSEXIT ASYSEXIT64 ASYSRET ATESTB ATESTL ATESTQ ATESTW ATPAUSE ATZCNTL ATZCNTQ ATZCNTW AUCOMISD AUCOMISS AUD1 AUD2 AUMWAIT AUNPCKHPD AUNPCKHPS AUNPCKLPD AUNPCKLPS AUMONITOR AV4FMADDPS AV4FMADDSS AV4FNMADDPS AV4FNMADDSS AVADDPD
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 11 18:32:50 UTC 2023 - 16.3K bytes - Viewed (0) -
src/internal/syscall/unix/fcntl_unix.go
package unix import ( "syscall" _ "unsafe" // for go:linkname ) // Implemented in the runtime package. // //go:linkname fcntl runtime.fcntl func fcntl(fd int32, cmd int32, arg int32) (int32, int32) func Fcntl(fd int, cmd int, arg int) (int, error) { val, errno := fcntl(int32(fd), int32(cmd), int32(arg)) if val == -1 { return int(val), syscall.Errno(errno) } return int(val), nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 20 20:32:54 UTC 2023 - 571 bytes - Viewed (0) -
src/runtime/nbpipe_test.go
checkCloseonexec(t, w, "writer") // Test that fcntl returns an error as expected. if runtime.Close(r) != 0 { t.Fatalf("Close(%d) failed", r) } val, errno := runtime.Fcntl(r, syscall.F_GETFD, 0) if val != -1 { t.Errorf("Fcntl succeeded unexpectedly") } else if syscall.Errno(errno) != syscall.EBADF { t.Errorf("Fcntl failed with error %v, expected %v", syscall.Errno(errno), syscall.EBADF) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 20 20:32:54 UTC 2023 - 2K bytes - Viewed (0) -
src/cmd/link/internal/ld/outbuf_darwin.go
// license that can be found in the LICENSE file. package ld import ( "syscall" "unsafe" ) // Implemented in the syscall package. // //go:linkname fcntl syscall.fcntl func fcntl(fd int, cmd int, arg int) (int, error) func (out *OutBuf) fallocate(size uint64) error { stat, err := out.f.Stat() if err != nil { return err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 13 15:50:02 UTC 2022 - 1.3K bytes - Viewed (0)