Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F150595617
D23958.id69166.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
613 B
Referenced Files
None
Subscribers
None
D23958.id69166.diff
View Options
Index: lib/libc/powerpc64/string/bcopy_resolver.c
===================================================================
--- lib/libc/powerpc64/string/bcopy_resolver.c
+++ lib/libc/powerpc64/string/bcopy_resolver.c
@@ -61,7 +61,12 @@
DEFINE_UIFUNC(, FN_RET, FN_NAME, FN_PARAMS)
{
- if (cpu_features & PPC_FEATURE_HAS_VSX)
+ /* VSX instructions were added in POWER ISA 2.06,
+ * however it requires data to be word-aligned.
+ * Since POWER ISA 2.07B this is solved transparently
+ * by the hardware
+ */
+ if (cpu_features2 & PPC_FEATURE2_ARCH_2_07)
return (FN_NAME_VSX);
else
return (FN_NAME_NOVSX);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Apr 3, 4:34 PM (6 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30767442
Default Alt Text
D23958.id69166.diff (613 B)
Attached To
Mode
D23958: [PowerPC64] restrict memcpy/bcopy optimization to POWER ISA >=V2.07
Attached
Detach File
Event Timeline
Log In to Comment