Dear all,

I use the GCC 4.8 from Macports and I'd like to optimize my code by using the 
flag -march=native. For that I have to use the assembler of clang, because the 
GNU assembler is too old and cannot use the AVX extensions. By setting the 
flags "-Wa,-q" the GCC should work. But with optimizing loops there are some 
problems:

/var/folders/zz/q_423dms0vqcgp5khshwwrwh000142/T//cchZfZOX.s:232771:2:  
error: ambiguous instructions require an explicit suffix (could be  
'fisttps', or 'fisttpl') 
 fisttp 62(%rsp) 

I think the GCC generates as code, which is too imprecise for the clang 
compiler. 
Is there a way to get more precise code to use the -march=native flag?

Best,
Vera

Reply via email to