search for: k6_2

Displaying 5 results from an estimated 5 matches for "k6_2".

Did you mean: 6_2
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 > <mikulas at artax.karlin.mff.cuni.cz> wrote: > > Hi > > > > This patch fixes code generation bug - 586-class CPUs don...
2013 Nov 12
0
[LLVMdev] [PATCH] Do not generate nopl instruction on CPUs that don't support it.
...ere. 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 22
1
[LLVMdev] [PATCH] Do not generate nopl instruction on CPUs that don't support it.
...e 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 gas bug. I should report it to binutils maintainers. > > Thanks! > > Cheers, > Rafael I already reported it to binutils maintainers and they fixed it. Mikulas
2013 Nov 05
0
[LLVMdev] [PATCH] Do not generate nopl instruction on CPUs that don't support it.
Please include a testcase with the patch. gas uses " nopl 0x0(%eax)" for k6_2. Are you sure it is a gas bug? On 3 November 2013 13:50, Mikulas Patocka <mikulas at artax.karlin.mff.cuni.cz> wrote: > Hi > > This patch fixes code generation bug - 586-class CPUs don't support the > nopl instruction and some 686-class CPUs don't support it too. > &gt...
2013 Nov 03
2
[LLVMdev] [PATCH] Do not generate nopl instruction on CPUs that don't support it.
Hi This patch fixes code generation bug - 586-class CPUs don't support the nopl instruction and some 686-class CPUs don't support it too. I created bug 17792 for that. BTW. I think you should also optimize padding on these CPUs - instead of a stream of 0x90 nops, you should generate variants of "lea (%esi), %esi" instruction like gcc. This patch disables generation of