mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 03:57:15 +02: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:
committed by
Andreas Kling
parent
688782efab
commit
7ba2e5e3e7
Notes:
sideshowbarker
2024-07-17 14:19:41 +09:00
Author: https://github.com/Hendiadyoin1 Commit: https://github.com/SerenityOS/serenity/commit/7ba2e5e3e7 Pull-request: https://github.com/SerenityOS/serenity/pull/13541
@@ -2902,6 +2902,10 @@ FPU_INSTRUCTION(MOVD_rm32_mm2);
|
||||
FPU_INSTRUCTION(MOVQ_rm64_mm2); // long mode
|
||||
FPU_INSTRUCTION(EMMS);
|
||||
|
||||
void SoftCPU::CMPXCHG8B_m64(X86::Instruction const&) { TODO_INSN(); }
|
||||
void SoftCPU::RDRAND_reg(X86::Instruction const&) { TODO_INSN(); }
|
||||
void SoftCPU::RDSEED_reg(X86::Instruction const&) { TODO_INSN(); }
|
||||
|
||||
VPU_INSTRUCTION(PREFETCHTNTA);
|
||||
VPU_INSTRUCTION(PREFETCHT0);
|
||||
VPU_INSTRUCTION(PREFETCHT1);
|
||||
|
||||
Reference in New Issue
Block a user