Page MenuHomeFreeBSD

powerpc: implement __clear_cache
ClosedPublic

Authored by pkubaj on Apr 1 2022, 7:16 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Aug 8, 4:29 AM
Unknown Object (File)
Jul 5 2025, 3:49 AM
Unknown Object (File)
Jun 24 2025, 5:18 PM
Unknown Object (File)
Jun 23 2025, 11:28 PM
Unknown Object (File)
Jun 2 2025, 3:50 PM
Unknown Object (File)
Jun 2 2025, 11:33 AM
Unknown Object (File)
Jun 1 2025, 6:46 AM
Unknown Object (File)
May 19 2025, 1:01 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.