Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109606606
D48442.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
418 B
Referenced Files
None
Subscribers
None
D48442.diff
View Options
diff --git a/lib/libc/aarch64/string/strlen.S b/lib/libc/aarch64/string/strlen.S
--- a/lib/libc/aarch64/string/strlen.S
+++ b/lib/libc/aarch64/string/strlen.S
@@ -33,9 +33,8 @@
ldr q0, [x10, #16]!
cmeq v0.16b, v0.16b, #0
shrn v0.8b, v0.8h, #4 // reduce to fit mask in GPR
- fcmp d0, #0.0
- b.eq .Lloop
fmov x1, d0
+ cbz x1, .Lloop
.Ldone:
sub x0, x10, x0
rbit x1, x1 // reverse bits as NEON has no ctz
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Feb 8, 8:50 AM (20 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15794433
Default Alt Text
D48442.diff (418 B)
Attached To
Mode
D48442: libc/aarch64: fix strlen() when flush-to-zero is set
Attached
Detach File
Event Timeline
Log In to Comment