Re: -march=native between different X86_64 families

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 28 May 2013 17:29,  <lluvia_lists@xxxxxxxxxxx> wrote:
> Hello,
>
> Is there some problem when compiling with the flag -march=native if the
> program will run on procesors of unknown families of X86_64? The point is
> that, transparently, execution will go from on proccesor to another,.

Yes, -march=native means you will use the CPU at compilation time and run time.

If the code will be executed on different CPUs which don't support all
the same instructions then you should not use -march=native.




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux