Page MenuHomeFreeBSD

powerpc: implement __clear_cache
ClosedPublic

Authored by pkubaj on Apr 1 2022, 7:16 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 13, 4:04 AM
Unknown Object (File)
Aug 23 2025, 6:47 AM
Unknown Object (File)
Aug 22 2025, 10:29 PM
Unknown Object (File)
Aug 18 2025, 11:14 AM
Unknown Object (File)
Aug 12 2025, 5:35 AM
Unknown Object (File)
Aug 8 2025, 4:29 AM
Unknown Object (File)
Jul 5 2025, 3:49 AM
Unknown Object (File)
Jun 24 2025, 5:18 PM
Subscribers

Details

Summary

Merge LLVM commit 81f5c6270cdfcdf80e6296df216b696a7a37c8b5.

This fixes runtime of most notably pcre libraries (currently patched in ports),
and probably also other ports.

MFC after: 3 days

Test Plan

Test building e.g. PHP-dependant ports without ports' b6bb44e5ba8832aa575c28a13cef3ea2c9edc8b6.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

pkubaj requested review of this revision.Apr 1 2022, 7:16 PM

LGTM

contrib/llvm-project/compiler-rt/lib/builtins/clear_cache.c
133–136

Does this work for both 32 and 64 bit powerpc?

This revision is now accepted and ready to land.Apr 1 2022, 7:56 PM
contrib/llvm-project/compiler-rt/lib/builtins/clear_cache.c
133–136

Yes, it works for both variants.

This revision was automatically updated to reflect the committed changes.