Skip to content

[Encoding table] ib vs imm8 #94

Open

Description

@alastairreid

There are some anomalies with regard to how the encoding table documents the encodings for the SSE forms (no VEX) forms of PCMPESTRI, PCMPESTRM, PCMPISTRI, and PCMPISTRM.

The SDM has these:
• PCMPESTRI: 66 0F 3A 61 /r imm8 (should be “ib” instead of “imm8”)
• PCMPESTRM: 66 0F 3A 60 /r imm8
• PCMPISTRI: 66 0F 3A 63 /r imm8
• PCMPISTRM: 66 0F 3A 62 /r imm8

In each case, the encoding table has “NFx” instead of “66”.

This is incorrect because the instruction appears to require 66 (with #UD without it) and ignores any F2 or F3 (while NFx suggests a fault).

It can probably be traced it to anomalies in how we generate the prefix documentation for non-VEX/EVEX.

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