* [devel] ATLAS: -mfpmath=387
@ 2010-10-18 7:30 REAL
2010-10-18 8:27 ` Andrey Rahmatullin
0 siblings, 1 reply; 3+ messages in thread
From: REAL @ 2010-10-18 7:30 UTC (permalink / raw)
To: ALT Linux Team development discussions
Привет!
В спеке есть такая конструкция:
%add_optflags -mfpmath=387
Где-то недавно краем уха зацепил, что на данный момент есть более
оптимальный способ, но беглый поиск ничего вразумительного не дал.
Кто-нибудь подскажет: оставить как есть или что-то подкрутить?
Учитывая, что сейчас я делают по умолчанию сборку с SSE2, есть ли
смысл заменить 387 на sse2?
--
REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [devel] ATLAS: -mfpmath=387
2010-10-18 8:27 ` Andrey Rahmatullin
@ 2010-10-18 7:46 ` REAL
0 siblings, 0 replies; 3+ messages in thread
From: REAL @ 2010-10-18 7:46 UTC (permalink / raw)
To: ALT Linux Team development discussions
Andrey Rahmatullin пишет:
>> В спеке есть такая конструкция:
>> %add_optflags -mfpmath=387
>>
>> Где-то недавно краем уха зацепил, что на данный момент есть более
>> оптимальный способ, но беглый поиск ничего вразумительного не дал.
> man gcc
Ясности не прибавилось. Там дают 3 варианта на выбор: 387, sse, sse,387
В случае sse пугают, что "The resulting code should be considerably
faster in the majority of cases and avoid the numerical instability
problems of 387 code, but may break some existing code that expects
temporaries to be 80bit."
В случае sse,387: "Use this option with care, as it is still
experimental, because the GCC register allocator does not model
separate functional units well resulting in instable performance."
Получается, надо оставить как есть?
--
REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [devel] ATLAS: -mfpmath=387
2010-10-18 7:30 [devel] ATLAS: -mfpmath=387 REAL
@ 2010-10-18 8:27 ` Andrey Rahmatullin
2010-10-18 7:46 ` REAL
0 siblings, 1 reply; 3+ messages in thread
From: Andrey Rahmatullin @ 2010-10-18 8:27 UTC (permalink / raw)
To: devel
[-- Attachment #1: Type: text/plain, Size: 608 bytes --]
On Mon, Oct 18, 2010 at 03:30:01PM +0800, REAL wrote:
> В спеке есть такая конструкция:
> %add_optflags -mfpmath=387
>
> Где-то недавно краем уха зацепил, что на данный момент есть более
> оптимальный способ, но беглый поиск ничего вразумительного не дал.
man gcc
> Кто-нибудь подскажет: оставить как есть или что-то подкрутить?
> Учитывая, что сейчас я делают по умолчанию сборку с SSE2, есть ли
> смысл заменить 387 на sse2?
Не скомпилится.
--
WBR, wRAR
Powered by the ALT Linux fortune(6):
<gns_> kluivert23: гугл - он умный, он все знает. к тому же добрый, не то что
мы :)
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-10-18 8:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-18 7:30 [devel] ATLAS: -mfpmath=387 REAL
2010-10-18 8:27 ` Andrey Rahmatullin
2010-10-18 7:46 ` REAL
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