• isharipo's avatar
    cmd/asm: add amd64 EXTRACTPS instruction · ca5127cb
    isharipo authored
    Adds last missing SSE4 instruction.
    Also introduces additional ytab set 'yextractps'.
    
    See https://golang.org/cl/57470 that adds other SSE4 instructions
    but skips this one due to 'yextractps'.
    
    To make EXTRACTPS less "sloppy", Yu2 oclass added to forbid
    usage of invalid offset values in immediate operand.
    
    Part of the mission to add missing amd64 SSE4 instructions to Go asm.
    
    Change-Id: I0e67e3497054f53257dd8eb4c6268da5118b4853
    Reviewed-on: https://go-review.googlesource.com/57490
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Run-TryBot: Iskander Sharipov <iskander.sharipov@intel.com>
    Reviewed-by: default avatarRuss Cox <rsc@golang.org>
    ca5127cb
asm6.go 131 KB