Skip to content

Commit

Permalink
Add MCOMMIT instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
Maratyszcza committed Jan 7, 2024
1 parent ba35b62 commit 8fae665
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions opcodes/x86.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,7 @@ class ISAExtension:
- "CLWB" := The `CLWB` instruction.
- "CLZERO" := The `CLZERO` instruction.
- "CLDEMOTE" := The `CLDEMOTE` instruction.
- "MCOMMIT" := The `MCOMMIT` instruction.
- "PREFETCH" := The `PREFETCH` instruction (3dnow! Prefetch).
- "PREFETCHW" := The `PREFETCHW` instruction (3dnow! Prefetch/Intel PRFCHW).
- "PREFETCHWT1" := The `PREFETCHWT1` instruction.
Expand Down
11 changes: 11 additions & 0 deletions opcodes/x86.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7166,6 +7166,17 @@
</Encoding>
</InstructionForm>
</Instruction>
<Instruction name="MCOMMIT" summary="Memory COMMIT">
<InstructionForm gas-name="mcommit">
<ISA id="MCOMMIT"/>
<Encoding>
<Prefix byte="F3" mandatory="true"/>
<Opcode byte="0F"/>
<Opcode byte="01"/>
<Opcode byte="FA"/>
</Encoding>
</InstructionForm>
</Instruction>
<Instruction name="MFENCE" summary="Memory Fence">
<InstructionForm gas-name="mfence" go-name="MFENCE">
<ISA id="SSE2"/>
Expand Down
1 change: 1 addition & 0 deletions opcodes/x86.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,7 @@
<xs:enumeration value="CLWB" />
<xs:enumeration value="CLZERO" />
<xs:enumeration value="CLDEMOTE" />
<xs:enumeration value="MCOMMIT" />
<xs:enumeration value="PREFETCH" />
<xs:enumeration value="PREFETCHW" />
<xs:enumeration value="PREFETCHWT1" />
Expand Down
1 change: 1 addition & 0 deletions opcodes/x86_64.py
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,7 @@ class ISAExtension:
- "CLWB" := The `CLWB` instruction.
- "CLZERO" := The `CLZERO` instruction.
- "CLDEMOTE" := The `CLDEMOTE` instruction.
- "MCOMMIT" := The `MCOMMIT` instruction.
- "PREFETCH" := The `PREFETCH` instruction (3dnow! Prefetch).
- "PREFETCHI" := The `PREFETCHIT0`/`PREFETCHIT1` instructions.
- "PREFETCHW" := The `PREFETCHW` instruction (3dnow! Prefetch/Intel PRFCHW).
Expand Down
11 changes: 11 additions & 0 deletions opcodes/x86_64.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9842,6 +9842,17 @@
</Encoding>
</InstructionForm>
</Instruction>
<Instruction name="MCOMMIT" summary="Memory COMMIT">
<InstructionForm gas-name="mcommit">
<ISA id="MCOMMIT"/>
<Encoding>
<Prefix byte="F3" mandatory="true"/>
<Opcode byte="0F"/>
<Opcode byte="01"/>
<Opcode byte="FA"/>
</Encoding>
</InstructionForm>
</Instruction>
<Instruction name="MFENCE" summary="Memory Fence">
<InstructionForm gas-name="mfence" go-name="MFENCE" nacl-version="33">
<ISA id="SSE2"/>
Expand Down
1 change: 1 addition & 0 deletions opcodes/x86_64.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,7 @@
<xs:enumeration value="CLWB" />
<xs:enumeration value="CLZERO" />
<xs:enumeration value="CLDEMOTE" />
<xs:enumeration value="MCOMMIT" />
<xs:enumeration value="PREFETCH" />
<xs:enumeration value="PREFETCHI" />
<xs:enumeration value="PREFETCHW" />
Expand Down

0 comments on commit 8fae665

Please sign in to comment.