Jinoh Kang (@iamahuman) commented about dlls/ntdll/large_int.c:
/******************************************************************************
_allshl (NTDLL.@)
- Shift a 64 bit integer to the left.
- PARAMS
- a [I] Initial number.
- b [I] Number to shift a by to the left.
- RETURNS
*/
- The left-shifted value.
-LONGLONG WINAPI _allshl( LONGLONG a, LONG b ) +__ASM_GLOBAL_FUNC( _allshl,
"xchgl (%esp),%ecx\n\t"
Maybe a nit, and this pattern also resides in other preëxisting code already, but do we _really_ want to use a full memory barrier in such cases?