 |
 |
|
 |
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Are Povray team planning a K6-2 3DNow! optimization ?
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Not that I know of. It would mean a pretty big re-write and it'd just be
another thing for them to have to support.
--
Lance.
---
For the latest MAX plug-ins, images and much more, go to:
The Zone - http://come.to/the.zone
gilberto wrote in message <01be14fc$3407e7c0$60f4ffc8@e5z9e8>...
>Are Povray team planning a K6-2 3DNow! optimization ?
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
How much would those help. I know they are some extra instructions
dealing with floating point. But I thought it was for mostly real time
3d calculations.
gilberto wrote:
> Are Povray team planning a K6-2 3DNow! optimization ?
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
3DNow! can perform 4 floating point instruction in a clock cicle.
It can hit 1.2 Gflops. 4 times faster than a Pentium II.
Gilberto
portelli <por### [at] pilot msu edu> escreveu no artigo
<3657926E.59F542A5@pilot.msu.edu>...
> How much would those help. I know they are some extra instructions
> dealing with floating point. But I thought it was for mostly real time
> 3d calculations.
>
> gilberto wrote:
>
> > Are Povray team planning a K6-2 3DNow! optimization ?
>
>
Post a reply to this message
|
 |
|  |
|  |
|
 |
From: Chris Maryan
Subject: 3DNow and its applications in 3D (was: Re: Povray 3DNow! optimized)
Date: 21 Nov 1998 23:30:44
Message: <365793E4.DEA09D73@geocities.com>
|
|
 |
|  |
|  |
|
 |
gilberto wrote:
>
> 3DNow! can perform 4 floating point instruction in a clock cicle.
> It can hit 1.2 Gflops. 4 times faster than a Pentium II.
>
> Gilberto
This is not quite correct, the 3DNow instructions can not perform 4
floating point operations in a single clock cycle, in fact they can not
even complete a single instruction in one clock cycle (Well maybe some
instructions, but not the useful ones, read on). But neither can intel's
chips. An instruction takes several clock cycles to execute, depending
on the processor and the instruction. For example, a multiplication of
two floating point numbers in most modern processors requires
approximately 6 clock cycles, floating point division takes about 40.
What the 3DNow instructions alow you to do is execute the same
instruction on several pieces of data at the same time, hence saving
time by doing essentially several things at once.
Why do you want to do this? Well, 3D graphics, for the most part,
depends on one thing, the 3x3 (or is it 3x4 or 4x3, I can never
remember) transform matrix (Actually it's usually extended to 4x4, I'm
not sure why but it seems to have something to do with keeping with the
powers of two thing). By multiplying position vectors in 3D, by a
precalulated matrix, you can rotate, translate, scale and skew the
object that the position vector is a part of. This matrix multiplication
involves a series of multiply and add functions. 3DNow can accelerate
this by grouping some of these multiply and add functions together and
processing them in groups (i.e. grouping two or four floating point
numbers together and processing them as on 3DNow multiply instead of two
traditional multiplies). Admitedly there are other places where 3DNow is
useful, but the matrix multiply is the important one.
But! The numbers that are being processed in this matrix multiplication
need to be quite well organized, even more so if you plan to process
some of the numbers at the same time (i.e. 3DNow). This is why Quake 2
(or whatever) will not run 4 or even 2 times faster on a K6-2 300 than a
PII 300 (alright, that's not the only reason but it contributes).
So why won't 3DNow be useful in POV? POVRay does use the matrix
multiply and a lot of other floating point math; however, the way in
which it is written is not arranged well for combining numbers into
something usable by 3DNow. Also, most of the processing needed in povray
is used in the raytracing process, my limited knowledge of the
ray-casting/intersection-testing process tells me that this uses very
few things that could be usable by 3DNow.
At this point I must bring my ranting and raving to a close, those
seeking greater enlightenment should either email me or send me money.
Both are acceptable, cash is prefered.
Chris Maryan
mailto:cma### [at] geocities com
***
Will work for cash.
***
Email me if you are interested in donating
to the Chris Maryan needs money fund.
We will also accept donations to the Chris
needs a Pentium II or SGI workstation
fund and the Chris needs a car fund.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
gilberto <jun### [at] usa net> wrote:
: Are Povray team planning a K6-2 3DNow! optimization ?
Povray is mainly a platform-free program. There's no idea in making
a platform-specific version. It will add lots of work and lots of
support problems. The low-level optimizations are made by the compiler.
So get a compiler which can optimize for your CPU, and make your own
custom compile. That's it.
If there are no compilers which can optimize for your CPU, I don't think
that's a povteam's problem, but your problem.
--
main(i){char*_="BdsyFBThhHFBThhHFRz]NFTITQF|DJIFHQhhF";while(i=
*_++)for(;i>1;printf("%s",i-70?i&1?"[]":" ":(i=0,"\n")),i/=2);} /*- Warp. -*/
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
gilberto wrote:
>
> Are Povray team planning a K6-2 3DNow! optimization ?
The K7's should be fun. Dual K7 800mhz. yummy. :)
Anyone noticed that Intel cpu's are slower than alpha's, powerpc g3's
and amd's? <laughter>
Must have spent all their money on those flashy commercials and didn't
have anything for r&d.
--
Lewis A. Sellers: writer and contract Multimedia Website Developer
mailto:lse### [at] usit net (The Fourth Millennium Foundation)
http://www.public.usit.net/lsellers/ & http://www.intrafoundation.com
http://brain-of-pooh.tech-soft.com/users/critters/bios/sellers_lewis.html
"The comedy is over" -i pagliacci
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Hmm... That has anything to do with RISC instructions ???
While alpha have reduced the number of instructions, intel has increased... ttt..
//Spider
Lewis Sellers wrote:
>
> gilberto wrote:
> >
> > Are Povray team planning a K6-2 3DNow! optimization ?
>
> The K7's should be fun. Dual K7 800mhz. yummy. :)
>
> Anyone noticed that Intel cpu's are slower than alpha's, powerpc g3's
> and amd's? <laughter>
> Must have spent all their money on those flashy commercials and didn't
> have anything for r&d.
>
> --
> Lewis A. Sellers: writer and contract Multimedia Website Developer
> mailto:lse### [at] usit net (The Fourth Millennium Foundation)
> http://www.public.usit.net/lsellers/ & http://www.intrafoundation.com
> http://brain-of-pooh.tech-soft.com/users/critters/bios/sellers_lewis.html
>
> "The comedy is over" -i pagliacci
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Spider wrote:
>
> Hmm... That has anything to do with RISC instructions ???
> While alpha have reduced the number of instructions, intel has increased... ttt..
>
> //Spider
Most likely so. Intel seems to be going the route of adding more
"proprietary" instructions to their chips in an attempt to control the
market. The effect is their processors are getting more complex, but it
is complexity for complexities sake -- not for increasing their
processing power.
I think this is starting to backfire on them somewhat.
--
Lewis A. Sellers: writer and contract Multimedia Website Developer
mailto:lse### [at] usit net (The Fourth Millennium Foundation)
http://www.public.usit.net/lsellers/ & http://www.intrafoundation.com
http://brain-of-pooh.tech-soft.com/users/critters/bios/sellers_lewis.html
You can bug the living bejesus out of me live on ICQ @ 491461
(If I don't get back to you within a month, I'm out of prozac in some
dark corner somewhere screaming things quite unintelligable but -- most
curiously -- thick with a sumerian accent.)
"The comedy is over" -i pagliacci
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Their clock might run slower, but they've spent their money on where it
really matters to us. The FPU. Compare render times for the various chips
and you'll find that competitors chips that run at a faster clock render more
slowly because of faulty/poorly made FPU's.
(though AMD looks like they may finally fix this in the next gen)
KillFile
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Lewis Sellers wrote:
> gilberto wrote:
> >
> > Are Povray team planning a K6-2 3DNow! optimization ?
>
> The K7's should be fun. Dual K7 800mhz. yummy. :)
>
> Anyone noticed that Intel cpu's are slower than alpha's, powerpc g3's
> and amd's? <laughter>
I did.
>
> Must have spent all their money on those flashy commercials and didn't
> have anything for r&d.
>
I'm with you.
>
> --
> Lewis A. Sellers: writer and contract Multimedia Website Developer
> mailto:lse### [at] usit net (The Fourth Millennium Foundation)
> http://www.public.usit.net/lsellers/ & http://www.intrafoundation.com
> http://brain-of-pooh.tech-soft.com/users/critters/bios/sellers_lewis.html
>
> "The comedy is over" -i pagliacci
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
KillFile wrote:
>
> (though AMD looks like they may finally fix this in the next gen)
Yea. Looks like the k7's will have 2 to 4 times the fpu power of the
closest intel designs. :)
> KillFile
--
Lewis A. Sellers: writer and contract Multimedia Website Developer
mailto:lse### [at] usit net (The Fourth Millennium Foundation)
http://www.public.usit.net/lsellers/ & http://www.intrafoundation.com
http://brain-of-pooh.tech-soft.com/users/critters/bios/sellers_lewis.html
You can bug the living bejesus out of me live on ICQ @ 491461
(If I don't get back to you within a month, I'm out of prozac in some
dark corner somewhere screaming things quite unintelligable but -- most
curiously -- thick with a sumerian accent.)
"The comedy is over" -i pagliacci
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Is that really so? I am going to buy a new machine soon and was inclined
to get a Celeron A as a relatively cheap alternative with a fast FPU. If
what you say is true, I will go for the K7 anytime!
Margus
Lewis Sellers wrote:
>
> Yea. Looks like the k7's will have 2 to 4 times the fpu power of the
> closest intel designs. :)
>
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Aahh... Sorry about speaking before checking. Appears the K7 won't be
cheap at all! Oh well...
Margus
Margus Ramst wrote:
> I will go for the K7 anytime!
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Lewis Sellers <lse### [at] usit net> wrote in article
<365ABD42.CB8044B7@usit.net>...
>
>
> gilberto wrote:
> >
> > Are Povray team planning a K6-2 3DNow! optimization ?
>
> The K7's should be fun. Dual K7 800mhz. yummy. :)
>
> Anyone noticed that Intel cpu's are slower than alpha's, powerpc g3's
> and amd's? <laughter>
> Must have spent all their money on those flashy commercials and didn't
> have anything for r&d.
>
Slower in what way ? Mhz, Flops, Instructions per second, what ?
--
Scott Hill
Sco### [at] DDLinks co uk
Software Engineer (and all round nice guy)
Author of Pandora's Box
Company homepage : http://www.ddlinks.demon.co.uk
"The best trick the devil ever pulled was convincing people he didn't
exist..."
- Verbal Kint.
"the Internet is here so we can waste time talking about nothing in
particular when we should be working" - Marcus Hill.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Scott Hill wrote:
> Slower in what way ? Mhz, Flops, Instructions per second, what ?
Slower than K7's advertising department ?
Ken Tyler
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Miguel Alvarez Rodriguez wrote in message
<3662F9CF.788D09CC@abonados.cplus.es>...
>Lewis Sellers wrote:
>> Must have spent all their money on those flashy commercials and didn't
>> have anything for r&d.
>>
>
>I'm with you.
>
And those cool suits! In outfits like that, they must have fast chips...
Or way too much free time... He He.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Just a word about it... AFAIK, the 3DNow! instructions work on
single-precision floating point numbers only. If so, that's not quite enough
for POVRay to get accurate results, so double-precision must be used. Anyone
has more info on this?
Luis Alberto Rojas M.
lro### [at] puc cl
gilberto wrote in message <01be14fc$3407e7c0$60f4ffc8@e5z9e8>...
>Are Povray team planning a K6-2 3DNow! optimization ?
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
In article <365EFB8E.F137BDB3@usit.net>, Lewis Sellers <lse### [at] usit net>
wrote:
> Spider wrote:
> > Hmm... That has anything to do with RISC instructions ???
> > While alpha have reduced the number of instructions, intel has
increased... ttt..
> > //Spider
> Most likely so. Intel seems to be going the route of adding more
> "proprietary" instructions to their chips in an attempt to control the
> market. The effect is their processors are getting more complex, but it
> is complexity for complexities sake -- not for increasing their
> processing power.
> I think this is starting to backfire on them somewhat.
Alphas have very accelerated clocks but it doesn't translate directly
to efficiency- it's sort of like they are in a lower gear revving away
like mad.
PPCs have simpler instruction sets and an emphasis on a kajillion
registers, all general-purpose, and though they run a bit slower than x86
clock-wise they depend on the fact that they're easier for a compiler to
optimize for (less special cases and fancy tricks that aren't generally
useful, more registers which are more adaptable)
:)
Chris Johnson
@airwindows.com
chrisj
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |