Fix tests not to depend on specific regalloc or instruction order.

They were failing with -mcpu=atom.