• Damien Lespiau's avatar
    cmd/internal/obj/x86: fix ANDPS encoding · a2da2108
    Damien Lespiau authored
    ANDPS, like all others PS (Packed Single precision floats) instructions,
    need Ym: they don't use the 0x66 prefix.
    
    From the manual:
    
        NP 0F 54 /r        ANDPS xmm1, xmm2/m128
    
    NP meaning, quoting the manual:
    
      NP - Indicates the use of 66/F2/F3 prefixes (beyond those already part
      of the instructions opcode) are not allowed with the instruction.
    
    And indeed, the same instruction prefixed by 0x66 is ANDPD.
    
    Updates #14069
    
    Change-Id: If312a6f1e77113ab8c0febe66bdb1b4171e41e0a
    Reviewed-on: https://go-review.googlesource.com/42090Reviewed-by: 's avatarKeith Randall <khr@golang.org>
    Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    a2da2108
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...