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)
Sun, Nov 23, 9:24 AM
Unknown Object (File)
Thu, Nov 6, 6:25 AM
Unknown Object (File)
Oct 25 2025, 2:03 PM
Unknown Object (File)
Oct 18 2025, 1:14 AM
Unknown Object (File)
Oct 11 2025, 4:41 PM
Unknown Object (File)
Oct 11 2025, 4:41 PM
Unknown Object (File)
Oct 11 2025, 4:41 PM
Unknown Object (File)
Oct 11 2025, 4:41 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 Not Applicable
Unit
Tests Not Applicable