Skip to content

[Bug]: VPSCATTERDD-VPSCATTERDQ-VPSCATTERQD-VPSCATTERQQ.xml check for Eq_src_index #123

Backlog

Description

@pkhuong

Description

https://github.com/intel/SDM/blob/35eface1b7ee003a1cda95005ec5fd83de658a64/data/instruction/VPSCATTERDD-VPSCATTERDQ-VPSCATTERQD-VPSCATTERQQ.xml has

<exception_check><exception_condition>Eq_src_index</exception_condition>
     <exception_fault>#UD</exception_fault>
</exception_check>

Which I interpret as saying that it's UD to have the same vector register for the source and index.

I ran 62 f2 7d 49 a0 0c 08 (vpscatterdd [rax+zmm1*1]{k1}, zmm1) on my Xeon Phi 7210 (KNL, I don't have a more mainline AVX-512 machine easily available), and it worked fine. XED also decodes the bytes fine.

I can confirm that XED and my KNL agree that gathers have that restrictions. Are scatters also defined to reject source == index?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions