• isharipo's avatar
    obj/x86: make VEX-specified-register explicit · 41fa265d
    isharipo authored
    "VEX.vvvv" field (VSR, VEX-specified-register) made explicit
    in Optab encoding.
    
    vexNDS, vexNDD, vexDDS and vexNOVSR do nothing,
    this change does not produce any noticeable effect.
    
    Rationale behind this change:
    - keep more information inside optab entries
    - make encodings match SDM more closely
    - one less special rule to keep in mind
    
    Pvex optabs are updated based on the Intel SDM descriptions.
    
    Unused VEX combinations are removed;
    it is problematic to choose VSR combinations for them
    without actual Optabs that use them.
    
    The origin of this idea can be found in:
    https://go-review.googlesource.com/#/c/arch/+/66972/
    
    Change-Id: I54634a72b44d61f4b924a1e45f2240aab7384dc2
    Reviewed-on: https://go-review.googlesource.com/67890
    Run-TryBot: Iskander Sharipov <iskander.sharipov@intel.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: default avatarRuss Cox <rsc@golang.org>
    41fa265d
asm6.go 131 KB