Re: fusion: Don't assume a specific compiler behaviour

2012-07-19 Thread Ruslan Kabatsayev
Hello, > Most likely it's rotated on x86 and hardly shifted on ARM, damn compilers. No, it's not compilers, it's intel's "shr" instruction behavior: it masks bit count lower 5 bits, thus making 33 effectively 1. Corresponding ARM instruction most likely does true 33 bit shift giving you zero resul

Re: fusion: Don't assume a specific compiler behaviour

2012-07-19 Thread André Hentschel
Am 19.07.2012 22:06, schrieb Ruslan Kabatsayev: > Hello, > >> Most likely it's rotated on x86 and hardly shifted on ARM, damn compilers. > No, it's not compilers, it's intel's "shr" instruction behavior: it > masks bit count lower 5 bits, thus making 33 effectively 1. > Corresponding ARM instructi