/top/
/new/
/best/
/ask/
/show/
/job/
^
slacker news
login
about
←back to thread
Bit-twiddling optimizations in Zed's Rope
(zed.dev)
120 points
misternugget
| 1 comments |
18 Nov 24 16:39 UTC
|
HN request time: 0s
|
source
Show context
camel-cdr
◴[
20 Nov 24 21:29 UTC
]
No.
42198301
[source]
▶
>>42174085 (OP)
#
nth_set_bit_u64: wouldn't that be __builtin_ctzll(_pdep_u64(1<<n, v)) with BMI2?
replies(3):
>>42198733
#
>>42199867
#
>>42200581
#
1.
stouset
◴[
21 Nov 24 02:46 UTC
]
No.
42200581
[source]
▶
>>42198301
#
I believe the equivalent ARM64 instructions are in SVE2 which isn’t yet supported on Apple’s M-series chips as of M4, sadly.
ID:
GO
↑