Page MenuHomeFreeBSD

amd64: plug spurious cld instructions
ClosedPublic

Authored by mjg on Oct 5 2019, 5:12 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, May 11, 11:45 AM
Unknown Object (File)
Wed, May 6, 6:38 PM
Unknown Object (File)
Apr 28 2026, 11:35 AM
Unknown Object (File)
Apr 27 2026, 7:34 PM
Unknown Object (File)
Apr 25 2026, 12:15 PM
Unknown Object (File)
Apr 24 2026, 6:21 PM
Unknown Object (File)
Apr 21 2026, 6:42 AM
Unknown Object (File)
Apr 20 2026, 8:33 PM
Subscribers

Details

Summary

ABI already guarantees the direction is forward. Note this does not take care of i386-specific cld's.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Why did you left i386 out ?

I do not think it needs cld's as well, both ABI and actual exception/interrupt entry code clear IF.D both on i386 and amd64.

i386 has a lot of cld already and I have no means to test the removal. I can plug them from the places modified by this patch though.

This revision is now accepted and ready to land.Oct 8 2019, 9:11 PM
This revision was automatically updated to reflect the committed changes.