golang/go
View on GitHubcmd/compile: mod operator is very slow on intel hardware with int64
Open
#59,089 opened on Mar 17, 2023
NeedsInvestigationPerformancecompiler/runtimehelp wanted
Repository metrics
- Stars
- (133,883 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
What version of Go are you using (go version)?
Does this issue reproduce with the latest release?
Yes
What did you do?
Mod operator is very slow on intel hardware when used on int type.
What did you expect to see?
Mod operator optimized to handle int types on intel hardwares
What did you see instead?
The mod operator is very slow when used on int types on intel hardware.