8000 cmd/compile: aggressive IMUL rewrites on AMD64 sometimes lead to performance regressions · Issue #25358 · golang/go · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
cmd/compile: aggressive IMUL rewrites on AMD64 sometimes lead to performance regressions #25358
Open
@quasilyte

Description

@quasilyte
image/draw

name        old time/op  new time/op  delta
CopyOver-4  1.18ms ± 0%  1.52ms ± 0%  +28.49%  (p=0.008 n=5+5)

Bisecting from tip leads to b1df8d6.
This is regression from go1.10.2.
Performance delta is shown for b1df8d6 itself and it's parent (previous commit).

Single IMUL is rewritten into mov+shift+lea.
I can't reliably reproduce those results in free context, but they're stable for CopyOver.

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Performancecompiler/runtimeIssues related to the Go compiler and/or runtime.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0