Page MenuHomeFreeBSD

amd64 vmx: micro-optimize vmlaunch failure path
ClosedPublic

Authored by kib on Aug 23 2025, 12:55 PM.
Tags
None
Referenced Files
F164718345: D52136.diff
Mon, Aug 3, 8:18 AM
Unknown Object (File)
Sun, Aug 2, 10:57 AM
Unknown Object (File)
Fri, Jul 31, 2:18 AM
Unknown Object (File)
Fri, Jul 31, 1:23 AM
Unknown Object (File)
Mon, Jul 27, 12:40 PM
Unknown Object (File)
Sat, Jul 25, 8:26 AM
Unknown Object (File)
Jul 2 2026, 1:06 AM
Unknown Object (File)
Jun 21 2026, 1:08 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