]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj: make it possible to have all AVX1/2 insts
authorisharipo <iskander.sharipov@intel.com>
Fri, 13 Oct 2017 13:06:39 +0000 (16:06 +0300)
committerIlya Tocar <ilya.tocar@intel.com>
Thu, 2 Nov 2017 16:12:17 +0000 (16:12 +0000)
commit1e83f883c54a37f637c557287b0ae8062cef3930
treea6c678f1ac438705e1ef9cc860264a708a1d84c3
parent44943aff33ad52b5c9adc3092ae98bb0e497e3f3
cmd/internal/obj: make it possible to have all AVX1/2 insts

Current AllowedOpCodes is 1024, which is not enough for modern x86.
Changed limit to 2048 (though AVX512 will exceed this).

Additional Z-cases and ytab tables are added to make it possible
to handle missing AVX1 and AVX2 instructions.

This CL is required by x86avxgen to work properly:
https://go-review.googlesource.com/c/arch/+/66972

Change-Id: I290214bbda554d2cba53349f50dcd34014fe4cee
Reviewed-on: https://go-review.googlesource.com/70650
Run-TryBot: Iskander Sharipov <iskander.sharipov@intel.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ilya Tocar <ilya.tocar@intel.com>
src/cmd/internal/obj/link.go
src/cmd/internal/obj/x86/asm6.go