On Fri, Jan 19, 2018 at 08:40:56PM +0200, Andriy Gapon wrote: > I seem to recall that the actual shift happens to be N % 32 for 32-bit > registers > (at least on some processors).
It depends. That's the behavior some architectures implement. Others will just give you 0 as result for N>32. This is a case of UB where the implementation-defined behavior of different CPUs is actually inconsistent. Joerg _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"