mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 11:47:34 +00:00
UserspaceEmulator+LibX86: Sprinkle some [[unlikely]] and ALWAYS_INLINE
This commit is contained in:
parent
c192b6c61d
commit
656cd477c2
3 changed files with 12 additions and 9 deletions
|
@ -833,7 +833,7 @@ ALWAYS_INLINE Instruction::Instruction(InstructionStreamType& stream, bool o32,
|
|||
m_descriptor = &m_descriptor->slashes[rm() & 7];
|
||||
}
|
||||
|
||||
if (!m_descriptor->mnemonic) {
|
||||
if (!m_descriptor->mnemonic) [[unlikely]] {
|
||||
if (has_sub_op()) {
|
||||
if (has_slash)
|
||||
fprintf(stderr, "Instruction %02X %02X /%u not understood\n", m_op, m_sub_op, slash());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue