Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F137715586
D34735.id104473.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D34735.id104473.diff
View Options
Index: contrib/llvm-project/compiler-rt/lib/builtins/clear_cache.c
===================================================================
--- contrib/llvm-project/compiler-rt/lib/builtins/clear_cache.c
+++ contrib/llvm-project/compiler-rt/lib/builtins/clear_cache.c
@@ -130,7 +130,10 @@
__asm __volatile("dsb ish");
}
__asm __volatile("isb sy");
-#elif defined(__powerpc64__)
+#elif defined(__powerpc__)
+ // Newer CPUs have a bigger line size made of multiple blocks, so the
+ // following value is a minimal common denominator for what used to be
+ // a single block cache line and is therefore inneficient.
const size_t line_size = 32;
const size_t len = (uintptr_t)end - (uintptr_t)start;
Index: lib/libclang_rt/Makefile
===================================================================
--- lib/libclang_rt/Makefile
+++ lib/libclang_rt/Makefile
@@ -35,6 +35,8 @@
SUBDIR+= asan-preinit
SUBDIR+= asan_cxx
SUBDIR+= asan_dynamic
+SUBDIR+= stats
+SUBDIR+= stats_client
SUBDIR+= ubsan_minimal
SUBDIR+= ubsan_standalone
SUBDIR+= ubsan_standalone_cxx
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 26, 4:08 AM (8 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
26197197
Default Alt Text
D34735.id104473.diff (1 KB)
Attached To
Mode
D34735: riscv: also enable stats and stats_client in libclang_rt
Attached
Detach File
Event Timeline
Log In to Comment