simd

package
v1.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Supported = cpuid.CPU.Supports(cpuid.AVX, cpuid.AVX2)

Supported returns whether the SIMD instructions required are available or not

Functions

func And

func And(a []uint64, b []uint64)

And And computes the intersection between two slices and stores the result in the first one

func AndNot

func AndNot(a []uint64, b []uint64)

AndNot computes the difference between two slices and stores the result in the first one

func Or

func Or(a []uint64, b []uint64)

Or computes the union between two slices and stores the result in the first one

func Xor

func Xor(a []uint64, b []uint64)

Xor computes the symmetric difference between two slices and stores the result in the first one

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL