Displaying 3 results from an estimated 3 matches for "optimal_nop".
2013 Nov 12
0
[LLVMdev] [PATCH] Do not generate nopl instruction on CPUs that don't support it.
...ola wrote:
>
>> Please include a testcase with the patch.
>
> I'm sending testcase here. Compile it with
> "clang -O2 -march=k6-2 -c loop.c"
The test should be in the patch itself. It can use llvm-mc to check
how the nops are expanded. The trick used by
MachO/x86_32-optimal_nop.s is to use '.align X, 0x90'.
>> 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
2013 Nov 07
2
[LLVMdev] [PATCH] Do not generate nopl instruction on CPUs that don't support it.
On Tue, 5 Nov 2013, Rafael EspĂndola wrote:
> Please include a testcase with the patch.
I'm sending testcase here. Compile it with
"clang -O2 -march=k6-2 -c loop.c"
> 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.
Mikulas
> On 3 November 2013 13:50, Mikulas Patocka
>
2013 Nov 22
1
[LLVMdev] [PATCH] Do not generate nopl instruction on CPUs that don't support it.
...lude a testcase with the patch.
> >
> > I'm sending testcase here. Compile it with
> > "clang -O2 -march=k6-2 -c loop.c"
>
> The test should be in the patch itself. It can use llvm-mc to check
> how the nops are expanded. The trick used by
> MachO/x86_32-optimal_nop.s is to use '.align X, 0x90'.
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.
> >> gas uses " nopl 0x0(%eax)" for k6_2. Are you sure it is a gas bug?
> >
> > Yes, it is g...