Trying to rotate a 64 bit number by 4 bits but compiler not generating any code, warnings or errors.
_rotl(X[h], 4);
_rotl,_rotl64, _rotr, _rotr64 - All produce no code.
_lrotl produced the following assembly code:
movsxd rax, DWORD PTR h$13[rbp]
mov edx, 4
mov ecx, DWORD PTR X$[rbp+rax*4]
call _lrotl
Have tried the console app example from the learn.microsoft.com page
_rotl64(val, 3) produces
mov edx, 3
mov rcx, QWORD PTR val2$[rbp]
call _rotl64
As expected.