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, Oct 11, 4:41 PM
Unknown Object (File)
Sat, Oct 11, 4:41 PM
Unknown Object (File)
Sat, Oct 11, 4:41 PM
Unknown Object (File)
Sat, Oct 11, 4:41 PM
Unknown Object (File)
Sat, Oct 11, 8:08 AM
Unknown Object (File)
Sat, Sep 27, 2:02 PM
Unknown Object (File)
Wed, Sep 24, 3:49 AM
Unknown Object (File)
Wed, Sep 24, 1:39 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