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, May 17, 9:34 AM
Unknown Object (File)
Sun, May 17, 6:54 AM
Unknown Object (File)
Sat, May 16, 10:53 PM
Unknown Object (File)
Sat, May 16, 4:06 PM
Unknown Object (File)
Thu, May 14, 4:22 PM
Unknown Object (File)
Thu, May 14, 2:36 PM
Unknown Object (File)
Thu, May 14, 1:22 PM
Unknown Object (File)
Thu, May 14, 8:36 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