From: Mikhail Zabaluev <mhz@alt-linux.org>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] gcc & -march
Date: Sun May 20 20:56:12 2001
Message-ID: <20010520211106.C11138@localhost.localdomain> (raw)
In-Reply-To: <20010520170546.3bb0aeda.sssku@online.ru>; from sssku@online.ru on Sun, May 20, 2001 at 05:05:46PM +0400
Hello Sergey,
On Sun, May 20, 2001 at 05:05:46PM +0400, Sergey S. Skulachenko wrote:
>
> On Sun, 20 May 2001 14:47:50 +0300
> Alexander Bokovoy <ab@avilink.net> wrote:
>
> > Объяснение здесь только одно -- Вы пользуетесь gcc, собранным под i586.
> > Все его поведение по выбору опций находится здесь:
> > /usr/lib/gcc-lib/i586-mandrake-linux/2.96/specs, позиция *cpp_cpu и
> > обратите внимание на *cpp_cpu_default.
> А, если собрать gcc для i686, приведёт ли это в дальнейшем к оптимизации
> при сборке последующих пакетов? Или она практически будет мало
ощутима?
А если мой модем покрыть золотом, то биты из него пойдут золотые? :)
Оптимизация будет разве что в скорости сборки, и то ощутима будет
мало. Нет там действий, которые можно радикально ускорить с
использованием фич поздних архитектур.
Для более глубокого исследования на тему "компилятор как змея,
кусающая себя за хвост" рекомендую самому собрать gcc и
посмотреть, что происходит во время этого замечательного процесса о
трех стадиях.
> Или, точнее, в каких случаях (при сборке каких пакетов) оптимизация будет
> заметной?
Наверное, в тех местах, где есть много "тупых" вычислений -
X, esound, xmms и пр. Во всех остальных выигрыш съедят непопадания
инструкций в кэш и операции ввода/вывода. То есть заметно будет, но не сильно.
--
Stay tuned,
MhZ JID: mookid@jabber.org
___________
I like being single. I'm always there when I need me.
-- Art Leo
prev parent reply other threads:[~2001-05-20 20:56 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-20 1:11 Yura Zotov
2001-05-20 1:47 ` Баталов Григорий
2001-05-20 2:04 ` Yura Zotov
2001-05-20 2:11 ` Баталов Григорий
2001-05-20 14:45 ` Yura Zotov
2001-05-20 15:16 ` Alexander Bokovoy
2001-05-20 15:30 ` Alexander Bokovoy
2001-05-20 15:33 ` Yura Zotov
2001-05-20 15:43 ` Alexander Bokovoy
2001-05-20 15:49 ` Alexander Bokovoy
2001-05-20 15:59 ` Yura Zotov
2001-05-20 23:27 ` Alexander Bokovoy
2001-05-20 17:00 ` Sergey S. Skulachenko
2001-05-20 20:56 ` Mikhail Zabaluev [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20010520211106.C11138@localhost.localdomain \
--to=mhz@alt-linux.org \
--cc=mandrake-russian@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git