[LLVMdev] [PATCH] Do not generate nopl instruction on CPUs that don't support it.

Rafael EspĂ­ndola rafael.espindola at gmail.com
Mon Nov 25 12:20:41 PST 2013


> So put it there and commit it to llvm codebase. I'm not an expert in llvm,
> I just needed a patch to make it work on my computer.

Updating the tests is fairly easy. In any case, I update the tests and
committed your patch as r195679.

>> >> gas uses " nopl   0x0(%eax)" for k6_2. Are you sure it is a gas bug?
>> >
>> > Yes, it is gas bug. I should report it to binutils maintainers.
>>
>> Thanks!
>>
>> Cheers,
>> Rafael
>
> I already reported it to binutils maintainers and they fixed it.

Thanks!

Cheers,
Rafael



More information about the llvm-dev mailing list