x86 generator bug fixes