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)
Thu, Jun 11, 3:08 PM
Unknown Object (File)
Thu, Jun 11, 10:48 AM
Unknown Object (File)
Wed, Jun 10, 2:27 AM
Unknown Object (File)
May 11 2026, 11:45 AM
Unknown Object (File)
May 6 2026, 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
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.