Fix breaking tests, let compiler do register alloc

This commit is contained in:
Thor Preimesberger 2025-09-23 17:13:15 -04:00
parent 96668b20e3
commit 42a635282a

View file

@ -410,9 +410,9 @@ static size_t get_free_slot(struct random_state *rng, size_t slots, const struct
__asm__ ( __asm__ (
// set up mask // set up mask
"mov $0xfffffffffffffff8, %%rdx\n\t" "mov $0xfffffffffffffff8, %1\n\t"
// tmp is now same as shift amount mod 256 in portable case // tmp is now same as shift amount mod 256 in portable case
"pext %[tmp], %[random_index], %%rdx\n\t" "pext %[tmp], %[random_index], %1\n\t"
: [tmp] "=r" (tmp) : [tmp] "=r" (tmp)
: [random_index] "r" (random_index)); : [random_index] "r" (random_index));