Page MenuHomeFreeBSD

amd64 vmx: micro-optimize vmlaunch failure path
ClosedPublic

Authored by kib on Aug 23 2025, 12:55 PM.
Tags
None
Referenced Files
F156542320: D52136.id160880.diff
Thu, May 14, 1:22 PM
F156518208: D52136.diff
Thu, May 14, 8:36 AM
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
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 Skipped
Unit
Tests Skipped