• David du Colombier's avatar
    runtime: don't use floating point in findnull on Plan 9 · 523f2ea7
    David du Colombier authored
    In CL 98015, findnull was rewritten so it uses bytes.IndexByte.
    
    This broke the build on plan9/amd64 because the implementation
    of bytes.IndexByte on AMD64 relies on SSE instructions while
    floating point instructions are not allowed in the note handler.
    
    This change fixes findnull by using the former implementation
    on Plan 9, so it doesn't use bytes.IndexByte.
    
    Fixes #24387.
    
    Change-Id: I084d1a44d38d9f77a6c1ad492773f0a98226be16
    Reviewed-on: https://go-review.googlesource.com/100577
    Run-TryBot: David du Colombier <0intro@gmail.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarRob Pike <r@golang.org>
    523f2ea7
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...