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)
Tue, Jan 6, 9:35 PM
Unknown Object (File)
Thu, Jan 1, 6:10 AM
Unknown Object (File)
Dec 11 2025, 11:40 PM
Unknown Object (File)
Dec 11 2025, 3:32 AM
Unknown Object (File)
Dec 9 2025, 8:28 AM
Unknown Object (File)
Dec 6 2025, 11:07 PM
Unknown Object (File)
Dec 3 2025, 9:16 AM
Unknown Object (File)
Nov 28 2025, 11: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 Not Applicable
Unit
Tests Not Applicable