Page MenuHomeFreeBSD

amd64 vmx: micro-optimize vmlaunch failure path
ClosedPublic

Authored by kib on Aug 23 2025, 12:55 PM.
Tags
None
Referenced Files
F156449795: D52136.diff
Wed, May 13, 6:39 PM
Unknown Object (File)
Thu, Apr 30, 7:52 AM
Unknown Object (File)
Thu, Apr 30, 7:50 AM
Unknown Object (File)
Wed, Apr 29, 1:21 PM
Unknown Object (File)
Wed, Apr 29, 4:51 AM
Unknown Object (File)
Wed, Apr 29, 4:51 AM
Unknown Object (File)
Wed, Apr 29, 4:51 AM
Unknown Object (File)
Tue, Apr 28, 5:40 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