On Thursday, 20 September 2018 at 11:14:05 UTC, Guillaume FYI, it's undefined in D mainly because the behavior of the actual Intel CPU instruction is undefined in such cases:https://c9x.me/x86/html/file_module_x86_id_285.html"it is undefined for SHL and SHR instructions where the count is greater than or equal to the size (in bits) of the destination operand".
Thanks, good to know.