Popularity
2.9
Growing
Activity
0.0
Stable
42
4
1
Programming language: Go
Tags:
Utilities
intrinsic alternatives and similar packages
Based on the "Utilities" category.
Alternatively, view intrinsic alternatives based on common mentions on social networks and blogs.
-
xlsx
Library to simplify reading the XML format used by recent version of Microsoft Excel in Go programs. -
goreporter
A Golang tool that does static analysis, unit testing, code review and generate code quality report. -
go-funk
A modern Go utility library which provides helpers (map, find, contains, filter, chunk, reverse, ...) -
mc
Minio Client provides minimal tools to work with Amazon S3 compatible cloud storage and filesystems. -
mergo
A helper to merge structs and maps in Golang. Useful for configuration default values, avoiding messy if-statements. -
beaver
Beaver is a real-time messaging server. With beaver you can easily build scalable in-app notifications, realtime graphs, multiplayer games, chat applications, geotracking and more in web applications and mobile apps. -
httpcontrol
Package httpcontrol allows for HTTP transport level control around timeouts and retries.
Get performance insights in less than 4 minutes
Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
Sponsored
scoutapm.com
Do you think we are missing an alternative of intrinsic or a related project?
README
intrinsic
Provide Golang native SIMD intrinsics on x86/amd64 platform
Usage
package main
import (
"fmt"
"github.com/mengzhuo/intrinsic/sse2"
)
func main() {
src := []float32{3.14, 2.17}
dst := []float32{2.17, 3.15}
sse2.MAXSDm64float32(src, dst)
fmt.Print(src, dst) //[2.17 3.15] [2.17 3.15]
}
Benchmarks
SSE2 it will provide about 6x-7x performance enhancement.
BenchmarkPMINUBByte-4 1000000000 2.65 ns/op 0 B/op 0 allocs/op
BenchmarkGeneralPMINUBByte-4 100000000 15.8 ns/op 0 B/op 0 allocs/op
BenchmarkPAND-4 1000000000 2.61 ns/op 0 B/op 0 allocs/op
BenchmarkGeneralAND-4 100000000 15.4 ns/op 0 B/op 0 allocs/op
Development
All codes in subdir is generated by scanner.go , see Makefile for more detail.
x86.csv and x86desc.csv are from another repos in https://github.com/mengzhuo/x86data
TODO
- [ ] resolve immediate opcode generate
- [ ] SSE2 gen=80, total=141, ratio=56.74%
- [ ] SSE3 gen=6, total=10, ratio=60.00%
- [ ] SSSE3 gen=15, total=32, ratio=46.88%
- [ ] SSE4_1 gen=26, total=49, ratio=53.06%
- [ ] SSE4_2 gen=1, total=5, ratio=20.00%
- [ ] AVX gen=66, total=378, ratio=17.46%
- [ ] AVX2 gen=8, total=159, ratio=5.03%
- [ ] FMA