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)
Sat, Feb 28, 9:14 PM
Unknown Object (File)
Sun, Feb 8, 1:38 PM
Unknown Object (File)
Sun, Feb 8, 6:05 AM
Unknown Object (File)
Sun, Feb 8, 2:40 AM
Unknown Object (File)
Feb 5 2026, 2:13 PM
Unknown Object (File)
Jan 31 2026, 5:28 AM
Unknown Object (File)
Jan 6 2026, 9:35 PM
Unknown Object (File)
Jan 1 2026, 6:10 AM
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