• David du Colombier's avatar
    cmd/compile: don't use MOVOstore instruction on plan9/amd64 · 14cb4158
    David du Colombier authored
    CL 54410 and CL 56250 recently added use of the MOVOstore
    instruction to improve performance.
    
    However, we can't use the MOVOstore instruction on Plan 9,
    because floating point operations are not allowed in the
    note handler.
    
    This change adds a configuration flag useSSE to enable the
    use of SSE instructions for non-floating point operations.
    This flag is enabled by default and disabled on Plan 9.
    When this flag is disabled, the MOVOstore instruction is
    not used and the MOVQstoreconst instruction is used instead.
    
    Fixes #21599
    
    Change-Id: Ie609e5d9b82ec0092ae874bab4ce01caa5bc8fb8
    Reviewed-on: https://go-review.googlesource.com/58850Reviewed-by: 's avatarKeith Randall <khr@golang.org>
    14cb4158
Name
Last commit
Last update
..
amd64 Loading commit data...
arm Loading commit data...
arm64 Loading commit data...
gc Loading commit data...
mips Loading commit data...
mips64 Loading commit data...
ppc64 Loading commit data...
s390x Loading commit data...
ssa Loading commit data...
syntax Loading commit data...
test Loading commit data...
types Loading commit data...
x86 Loading commit data...