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, Mar 16, 8:34 PM
Unknown Object (File)
Tue, Mar 10, 5:47 PM
Unknown Object (File)
Tue, Mar 10, 6:22 AM
Unknown Object (File)
Sat, Mar 7, 4:07 AM
Unknown Object (File)
Mon, Mar 2, 4:11 AM
Unknown Object (File)
Sun, Mar 1, 12:53 AM
Unknown Object (File)
Sun, Feb 22, 1:14 AM
Unknown Object (File)
Jan 26 2026, 6:17 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.