On Jun 4, 2011, Jakub Jelinek <ja...@redhat.com> wrote: > The following changes all look wrong to me, they make the tests totally > useless. If both f and g are used in real code after the asm volatile, then > the both f and g will likely live in some register or memory. > The whole point of the construct in the tests is that f has at that spot > a reg or mem location, but g isn't present anywhere anymore (as the compiler > doesn't or shouldn't know that asm volatile hasn't changed f), thus it > should represent them as bswap/clz/ctz/rotate.
I see. I'll try to figure out why that didn't work. Maybe the input operands were clobbered or something, or maybe g used to be saved elsewhere before and now it no longer is. -- Alexandre Oliva, freedom fighter http://FSFLA.org/~lxoliva/ You must be the change you wish to see in the world. -- Gandhi Be Free! -- http://FSFLA.org/ FSF Latin America board member Free Software Evangelist Red Hat Brazil Compiler Engineer