POV-Ray : Newsgroups : povray.general : Compiling with optimizations? : Re: Compiling with optimizations? Server Time
31 Jul 2024 14:31:19 EDT (-0400)
  Re: Compiling with optimizations?  
From: "Jérôme M. Berger"
Date: 28 Dec 2006 11:57:44
Message: <4593f788@news.povray.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

space_cadet wrote:
> Warp <war### [at] tagpovrayorg> wrote:
>> space_cadet <poc### [at] grcnasagov> wrote:
>>> I suspect the binary distribution of povray (linux) is compiled without
>>> optimizations.
>>   Why do you suspect that?
> 
> Per the advice of a colleague, who has far more experience than I in such
> things, believes that distributed binaries are usually compiled without
> optimizations in order to make them compatible with the broadest range of
> processors possible, since optimizations tend to be processor specific.
> 
	This is both right and wrong: some optimizations are processor
specific and those are not used in distributed binaries. But there
are a lot of generic optimizations that can be applied no matter
what your target is (i.e they are valid for power pc as well as x86
or any other) and other optimizations that are valid for all CPUs in
any family (eg for all x8 CPUs). Those optimizations are usually
active in all distributed binaries. AFAIK the official PC povray
binaries are compiled with all optimizations for the i686 (PentiumII
and above) so you may gain a little if you recompile with  the
optimizations specific to your precise CPU, but probably not much...

		Jerome
- --
+------------------------- Jerome M. BERGER ---------------------+
|    mailto:jeb### [at] freefr      | ICQ:    238062172            |
|    http://jeberger.free.fr/     | Jabber: jeb### [at] jabberfr   |
+---------------------------------+------------------------------+
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFk/eHd0kWM4JG3k8RArBMAJ0SYKq3sOYwgmypQHJOLiP+5VQ0GgCcCGiG
Kxc0vdBLQdEzvx5hQgub358=
=VXup
-----END PGP SIGNATURE-----


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.