Manta Interactive Ray Tracer Development Mailing List

Text archives Help


Re: [Manta] 450fps on leopard!


Chronological Thread 
  • From: Solomon Boulos <boulos@cs.utah.edu>
  • Cc: MANTA <manta@sci.utah.edu>
  • Subject: Re: [Manta] 450fps on leopard!
  • Date: Mon, 28 Jan 2008 11:34:38 -0800

Fixed in r2010. It was due to my misplaced faith in GCC. The sad fix is to copy the value passed into set into a volatile copy that is used by the assembly.

On Jan 28, 2008, at 10:36 AM, Abe Stephens wrote:

I think MANTA_X86 (MachineParameters.h) is being defined on x86_64 machines when presumably it shouldn't be. The causes a different version of AtomicCounter to be included and breaks something (probably work assignment).

Abe

On Jan 28, 2008 10:22 AM, Abe Stephens <abe@sci.utah.edu> wrote:
I get something similar (most of the image missing). This is on a 64 bit gcc 4.1.2 build.

It looks like the problem was introduced in r2005 in a change to Thread_pthreads.cc (looking more closely too).

Abe


On Jan 28, 2008 9:14 AM, Thiago Ize <thiago@cs.utah.edu> wrote:
Hi, when I compile manta with gcc and -m64 or with either the 32 or 64
bit version of icc I get about 450fps on leopard. That's great, except
that the "optimization" results in a black screen. 32bit gcc on leopard
still works. Before I spend time trying to debug this, has anyone else
encountered this or know how to fix this? If not, I'll start hacking away...

Thanks,
Thiago








Archive powered by MHonArc 2.6.16.

Top of page