1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 05:27:45 +00:00

LibX86: Add CMPXCHG8B, RDRAND and RDSEED

With this we can run following script with no errors:
```sh
for /usr/lib/*.so {
    disasm "$it" > /dev/zero
}
```
This commit is contained in:
Hendiadyoin1 2022-04-06 16:31:45 +02:00 committed by Andreas Kling
parent 688782efab
commit 7ba2e5e3e7
5 changed files with 40 additions and 1 deletions

View file

@ -104,6 +104,8 @@ enum InstructionFormat {
OP_RM32_reg32_imm8,
OP_RM16_reg16_CL,
OP_RM32_reg32_CL,
OP_reg,
OP_m64,
// SSE instructions mutate on some prefixes, so we have to mark them
// for further parsing
__SSE,