Hlavní navigace

Názor ke zprávičce Jak Intel zpomaluje AMD procesory od Jirka P - … On Intel se moc nechlubí tím, že...

  • Aktualita je stará, nové názory již nelze přidávat.
  • 5. 1. 2010 2:17

    Jirka P (neregistrovaný)

    … On Intel se moc nechlubí tím, že je to jen pro procesory Intel

    Z dokumentace icc:

    The -ax (Linux* and Mac OS* X) or /Qax (Windows*) option instructs the compiler to determine if opportunities exist to generate multiple, specialized code paths to take advantage of performance gains and features available on newer Intel® processors based on IA-32 and Intel® 64 architectures. This option also instructs the compiler to generate a more generic (baseline) code path that should allow the same application to run on a larger number of processors; however, the baseline code path is usually slower than the specialized code.

    The compiler inserts run-time checking code to help determine which version of the code to execute. The size of the compiled binary increases because it contains both a processor-specific version of some of the code and a generic baseline version of all code. Application performance is affected slightly due to the run-time checks needed to determine which code to use. The code path executed depends strictly on the processor detected at run time.

    Processor support for the baseline code path is determined by the processor family or instruction set specified in the -m or -x (Linux and Mac OS X) or /arch or /Qx (Windows) option, which has default values for each architecture.

    Všimněte si prosím slov „newer Intel® processors“ a „processor-specific version“. Ale já vím, dokumentace se nečte.

    … mu vyhovuje, když se o ICC říká, že je to nejlepší překladač

    Kdo to říká, ať si to obhájí. Divil bych se, kdyby to Intelu nevyhovovalo, ale těžko můžete chtít, aby opravoval každý kec, který někdo pronese.

    … použitím tohoto nefér překladače kompilují benčmaárky

    V takovém případě by se mělo AMD ozvat a ukázat na ty benchmarky, které toto dělají. Asi těžko by pak někdo věřil procesorovému benchmarku, který je optimalizovaný na jeden (nebo několik málo) konkrétní(ch) procesor(ů).