-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathand_stubs_amd64.go
60 lines (47 loc) · 1.52 KB
/
and_stubs_amd64.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
// Code generated by command: go run src.go -out ../../and_amd64.s -stubs ../../and_stubs_amd64.go -pkg and. DO NOT EDIT.
//go:build !purego
package and
// Sets dst to the bitwise and of a and b assuming all are 256*l bytes
//
//go:noescape
func andAVX2(dst *byte, a *byte, b *byte, l uint64)
// Sets dst to the bitwise and of a and b assuming all are 128*l bytes
//
//go:noescape
func andAVX(dst *byte, a *byte, b *byte, l uint64)
// Sets dst to the bitwise or of a and b assuming all are 256*l bytes
//
//go:noescape
func orAVX2(dst *byte, a *byte, b *byte, l uint64)
// Sets dst to the bitwise or of a and b assuming all are 128*l bytes
//
//go:noescape
func orAVX(dst *byte, a *byte, b *byte, l uint64)
// Sets dst to the bitwise xor of a and b assuming all are 256*l bytes
//
//go:noescape
func xorAVX2(dst *byte, a *byte, b *byte, l uint64)
// Sets dst to the bitwise xor of a and b assuming all are 128*l bytes
//
//go:noescape
func xorAVX(dst *byte, a *byte, b *byte, l uint64)
// Sets dst to the bitwise and of not(a) and b assuming all are 256*l bytes
//
//go:noescape
func andNotAVX2(dst *byte, a *byte, b *byte, l uint64)
// Sets dst to the bitwise and of not(a) and b assuming all are 128*l bytes
//
//go:noescape
func andNotAVX(dst *byte, a *byte, b *byte, l uint64)
// Zero the return register
//
//go:noescape
func popcntAsm(a *byte, l uint64) int
// Sets each byte in dst to b
//
//go:noescape
func memsetAVX2(dst *byte, l uint64, b byte)
// Sets each byte in dst to b
//
//go:noescape
func memsetAVX(dst *byte, l uint64, b byte)