--- Comment #3 from BCS <> 2010-06-25 07:07:22 PDT 
(In reply to comment #2)
> (In reply to comment #1)
> > Sounds like a prime case for a keyhole optimization. Does DMD have the
> > infrastructure in place to do that?
> Yes, there's pinholeopt() in cod3.c. But this optimisation should be done
> earlier.

Agreed, but (done wrong now) + (done right later) > (done right later)

> Although it seems as though you could replace:
> fstp XXX; fld XXX;  with fst XXX; there's unfortunately no fst instruction for
> 80-bit reals, and for doubles and floats it can change the rounding.

I was primarily thinking of removing total nop cases (store+load+never used
again). Also you could include a speed/accuracy trade-off flag. Or not.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to