ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Valery V. Inozemtsev" <shrek@freesource.info>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] gcc optimization
Date: Thu, 6 Apr 2006 11:00:58 +0400
Message-ID: <200604061100.59850.shrek@freesource.info> (raw)
In-Reply-To: <200604061042.26864.shrek@freesource.info>

[-- Attachment #1: Type: text/plain, Size: 1892 bytes --]

В сообщении от 6 апреля 2006 10:42 Valery V. Inozemtsev написал(a):
> В сообщении от 6 апреля 2006 10:17 Valery V. Inozemtsev написал(a):
> > > > Хотелось бы увидеть табличку работоспособности libxine-1.1.1-alt2 на
> > > > этом P3, с разными ключами (march=i586
> > > > -mtune={i586,i686,pentium2,pentium3,pentium4}) в двух средах
> > > > (compact, sisyphus).
> > >
> > > пересоберу, сообщю
> >
> > пересборка на сизифе с -mtune=pentium2 ничего не меряет (та же загрузка
> > проца на 100%). с остальными ключами пересобирать не вижу смысла.
> > щас попробую на компакте заменить -mtune=pentium на -mtune=pentium4
>
> как все интересно на компакте
> i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../..
> -I../../../include -I../../../include -I../../../src
> -I../../../src/xine-engine -I../../../src/xine-engine
> -I../../../src/xine-utils -I../../../src/input -I../../../src/input
> -I../../../lib -I../../../src/libffmpeg/libavutil -DSIMPLE_IDCT
> -DHAVE_AV_CONFIG_H -DRUNTIME_CPUDETECT -DUSE_FASTMEMCPY -DCONFIG_RISKY
> -DCONFIG_DECODERS -DXINE_MPEG_ENCODER -DCONFIG_ZLIB -DCONFIG_GPL
> -mtune=pentium -O3 -pipe -fomit-frame-pointer -falign-functions=4
> -falign-loops=4 -falign-jumps=4 -mpreferred-stack-boundary=2
> -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing
> -ffast-math -finline-functions -Wall -Wnested-externs -Wcast-align
> -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -DNDEBUG
> -D_REENTRANT
> -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -pipe -Wall -O2 -march=i586
> -mcpu=i686 -mtune=pentium4 -MT h263.lo -MD -MP -MF .deps/h263.Tpo -c h263.c
>  -fPIC -DPIC -o .libs/h263.o
>
> результат даже не берусь предсказывать

с gcc-3.4.4 получаем -mtune=pentium -march=i586 -mcpu=i686 -mtune=pentium4
поведение xine не меняется, он продолжает работать нормально.

2ldv: какие делаем выводы? -mtune прибит гвоздями?

-- 
Valery V. Inozemtsev

[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]

  reply	other threads:[~2006-04-06  7:00 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-05  5:46 Valery V. Inozemtsev
2006-04-05  6:03 ` Anton Gorlov
2006-04-05  8:20   ` Led
2006-04-05 22:23 ` Dmitry V. Levin
2006-04-06  5:28   ` Valery V. Inozemtsev
2006-04-06  6:17     ` Valery V. Inozemtsev
2006-04-06  6:42       ` Valery V. Inozemtsev
2006-04-06  7:00         ` Valery V. Inozemtsev [this message]
2006-04-06 12:50           ` Dmitry V. Levin
2006-04-06 13:29             ` Valery V. Inozemtsev
2006-04-06 13:52               ` Dmitry V. Levin
2006-04-06 14:18                 ` Valery V. Inozemtsev
2006-04-06 14:06               ` Led
2006-11-26 11:16             ` Alexey Tourbin

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=200604061100.59850.shrek@freesource.info \
    --to=shrek@freesource.info \
    --cc=devel@lists.altlinux.org \
    /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 Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git