🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.linux.hardware
Article #833

Re: P4 vs Athlon for Linux latexing, is gcc-2.95 responsible?

#833
From: George Macdonald
Date: Tue, 18 Jun 2002 23:00
39 lines
3776 bytes
On Mon, 17 Jun 2002 14:31:46 GMT, redelm@ev1.net.invalid (Robert
Redelmeier) wrote:

>In comp.sys.ibm.pc.hardware.chips George Macdonald <fammacd=!SPAM^nothanks@garden.net> wrote:
>:  On Sun, 16 Jun 2002 09:30:49 GMT, "Robert Myers" <rmyers1400@attbi.com>
>:  wrote:
>: >Without SSE2, which requires that loops be vectorized, a 1.7GHz P2 is a very
>: >weak foating point performer, as many have noted, and as you have confirmed
>: >for yourself.  If I take naive code compiled with icc, my overclocked
>: >Celeron running at 1.5MHz will beat a 1.7GHz P4 every time.
>:  
>:  Are you sure about this?  I thought the idea with P4's SSE2 was that for
>:  scalar calcs you have addressable registers (no stack) and therefore no
>:  need of the FXCH instructions for stack swaps and it runs faster than the
>:  old x87 FPU.  I've no experience yet but that's how I read things.
>
>Saving FXCH hardly matters.  The big difference is that SSE2 can
>do two double precision flops in parallel once the data has been
>vectorized.  IIRC, an FPU or SSE multiply takes 4 clocks and can
>be pipeline started every two clocks.  But the SSE will deliver
>two results in the halves of the 128bit XMM register, while the
>FPU will only deliver one 80bit result.

There are cases though where even matrix code is not amenable to
vectorization - sparse vectors and zero tolerance checking issues.  This
gets very messy with the x87 stack FPU and FXCH.

>SSE is a big advantage for vectorizable floating point calcs and
>is essential to match or beat AMD whose K7 architecture allows
>a great deal more multiple-issue parallel instruction processing.

It had been my impression that even with scalar code and using the SSE2
directly addressable registers, the P4 FPU could get as good or better
performance clock for clock as a PIII with code optimized for the x87 using
FXCH.

Rgds, George Macdonald

"Just because they're paranoid doesn't mean you're not psychotic" - Who, me??
Technical Details
Message-ID: <3d0fbae6.46067780@news.garden.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed-east.nntpserver.com!nntpserver.com!peer1-sjc1.usenetserver.com!usenetserver.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!bin4.nnrp.aus1.giganews.com.POSTED!not-for-mail
References: <3D0B57CB.5060406@nospam.com> <cVYO8.93284$pw3.4355@sccrnsc03> <3d0da9af.198043171@news.garden.net> <mpmP8.35656$Kz4.3500509300@newssvr12.news.prodigy.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f9e16,ea3300a83f1f851c
X-Google-Attributes: gidf9e16,public
X-Google-Thread: 102b32,ea3300a83f1f851c
X-Google-Attributes: gid102b32,public
X-Google-Thread: f65d0,ea3300a83f1f851c
X-Google-Attributes: gidf65d0,public
X-Google-Thread: 1045b9,ea3300a83f1f851c
X-Google-Attributes: gid1045b9,public
X-Google-ArrivalTime: 2002-06-18 16:01:07 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed-east.nntpserver.com!nntpserver.com!peer1-sjc1.usenetserver.com!usenetserver.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!bin4.nnrp.aus1.giganews.com.POSTED!not-for-mail
From: fammacd=!SPAM^nothanks@garden.net (George Macdonald)
Newsgroups: comp.os.linux.hardware,gnu.gcc,comp.sys.ibm.pc.hardware.chips,comp.text.tex
Subject: Re: P4  vs Athlon for Linux latexing, is gcc-2.95 responsible?
Message-ID: <3d0fbae6.46067780@news.garden.net>
References: <3D0B57CB.5060406@nospam.com> <cVYO8.93284$pw3.4355@sccrnsc03> <3d0da9af.198043171@news.garden.net> <mpmP8.35656$Kz4.3500509300@newssvr12.news.prodigy.com>
X-Newsreader: Forte Free Agent 1.21/32.243
Lines: 39
NNTP-Posting-Date: Tue, 18 Jun 2002 18:00:48 CDT
Organization: Giganews.Com - Premium News Outsourcing
X-Trace: sv3-qzMiaGOJ03OJy5Gwq0Y9ScUmU3b9l+nUAcU0l5nFaSrW/ArYpgXnm8DflhEM+USqPSVoML4A0HgZ7lB!/5g23964qxmg5mOK7Fqay3AS0qb7HzLm29cLG1kfkeL1z66YJngQ6sC7FPdDqh1aIDKoZA==
X-Complaints-To: abuse@GigaNews.Com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
Date: Tue, 18 Jun 2002 23:00:48 GMT