[Bug libgcc/90929] libgcc MIPS __clear_cache shouldn't be a no-op
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90929 Dragan Mladjenovic changed: What|Removed |Added CC||dragan.mladjeno...@rt-rk.co ||m --- Comment #2 from Dragan Mladjenovic --- For mips64-linux-gnuabi64 the backend emits the direct call to libc's _flush_cache so the __clear_cache is never used. This test invokes __clear_cache explicitly, but there is another issue in that llvm will use __clear_cache libcall for __builtin___clear_cache on mips, so it won't work unless you ship/link the compiler_rt along with it.
[Bug libgcc/90929] libgcc MIPS __clear_cache shouldn't be a no-op
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90929 coypu changed: What|Removed |Added Target|mips64-linux-gnuabi64 |mips64-linux-gnuabi64, --- Comment #1 from coypu --- To clarify, the correct behaviour is implemented, it just doesn't get expanded in libgcc for header reasons.