]> Cypherpunks repositories - gostls13.git/commit
cmd/asm: add amd64 EXTRACTPS instruction
authorisharipo <iskander.sharipov@intel.com>
Mon, 21 Aug 2017 09:47:56 +0000 (12:47 +0300)
committerIlya Tocar <ilya.tocar@intel.com>
Fri, 6 Oct 2017 15:44:29 +0000 (15:44 +0000)
commitca5127cbcdaf54beec8245d97d251988e634c7c0
treeec287219d1efba6c84354a546cd9979c7edaa8e1
parent0011cfbe2b57b385bac25a3daf9de581ee263661
cmd/asm: add amd64 EXTRACTPS instruction

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: Russ Cox <rsc@golang.org>
src/cmd/asm/internal/asm/testdata/amd64enc.s
src/cmd/asm/internal/asm/testdata/amd64error.s
src/cmd/internal/obj/x86/a.out.go
src/cmd/internal/obj/x86/anames.go
src/cmd/internal/obj/x86/asm6.go