Page MenuHomeFreeBSD

amd64 vmx: micro-optimize vmlaunch failure path
ClosedPublic

Authored by kib on Aug 23 2025, 12:55 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jul 2, 1:06 AM
Unknown Object (File)
Jun 21 2026, 1:08 AM
Unknown Object (File)
May 17 2026, 9:34 AM
Unknown Object (File)
May 17 2026, 6:54 AM
Unknown Object (File)
May 16 2026, 10:53 PM
Unknown Object (File)
May 16 2026, 4:06 PM
Unknown Object (File)
May 14 2026, 4:22 PM
Unknown Object (File)
May 14 2026, 2:36 PM
Subscribers

Details

Summary
Eliminate two unneeded jumps.  One is the jmp to the next instruction,
where there is no requrement that vmlaunch is followed by jmp.  Another
one conditionally sets %r11d value, and can be replaced by cmovcc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped