test rdi instead of rsi in random_shuffle : rdi contains the array address