]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/x86: add most missing AVX1/2 insts
authorisharipo <iskander.sharipov@intel.com>
Thu, 2 Nov 2017 17:17:59 +0000 (20:17 +0300)
committerIlya Tocar <ilya.tocar@intel.com>
Fri, 3 Nov 2017 15:32:07 +0000 (15:32 +0000)
commit39de58bad70b2aca9f7c874b64a8180307503ee4
tree36c71aaacd46a77dd32d6291b5c142269c61f666
parent1ac884698446b034bfd4c671c1284058921a6ea4
cmd/internal/obj/x86: add most missing AVX1/2 insts

This change applies x86avxgen output.
https://go-review.googlesource.com/c/arch/+/66972
As an effect, many new AVX instructions are now available.

One of the side-effects of this patch is
sorted AXXX (A-enum) constants.

Some AVX1/2 instructions still not added due to:
1. x86.csv V0.2 does not list them;
2. partially because of (1), test suite does not contain tests for
   these instructions.

Change-Id: I90430d773974ca5c995d6950d90e2c62ec88ef47
Reviewed-on: https://go-review.googlesource.com/75490
Run-TryBot: Iskander Sharipov <iskander.sharipov@intel.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/asm/internal/asm/testdata/amd64enc.s
src/cmd/internal/obj/x86/aenum.go
src/cmd/internal/obj/x86/anames.go
src/cmd/internal/obj/x86/vex_optabs.go