Re: Death by pointers.

"John Carter" <ECE@dwaf-hri.pwv.gov.za>
Sat, 23 Sep 1995 22:12:02 GMT

          From comp.compilers

Related articles
[2 earlier articles]
Re: Death by pointers. whitten@netcom.com (1995-09-05)
Re: Death by pointers. chase@centerline.com (1995-09-06)
Re: Death by pointers. hbaker@netcom.com (1995-09-11)
Re: Death by pointers. graham.matthews@pell.anu.edu.au (1995-09-12)
Re: Death by pointers. chase@centerline.com (1995-09-12)
Re: Death by pointers. preston@tera.com (1995-09-13)
Re: Death by pointers. ECE@dwaf-hri.pwv.gov.za (John Carter) (1995-09-23)
Parallelizing (WAS: Death by pointers.) pardo@cs.washington.edu (1995-09-24)
Re: Death by pointers. stefan.monnier@epfl.ch (Stefan Monnier) (1995-09-25)
Re: Parallelizing (WAS: Death by pointers.) ECE@dwaf-hri.pwv.gov.za (John Carter) (1995-09-29)
Re: Parallelizing (WAS: Death by pointers.) preston@tera.com (1995-09-29)
Re: Parallelizing (WAS: Death by pointers.) creedy@mitre.org (1995-10-02)
Re: Parallelizing (WAS: Death by pointers.) imp@village.org (Warner Losh) (1995-10-11)
| List of all articles for this month |
Newsgroups: comp.compilers
From: "John Carter" <ECE@dwaf-hri.pwv.gov.za>
Keywords: C, optimize, comment
Organization: Dpt Water Affairs & Forestry (IWQS)
References: 95-09-099 95-09-030 95-09-061
Date: Sat, 23 Sep 1995 22:12:02 GMT

>to ensure better use of cache lines, but in C, it cannot be, because
>some_array_ptr MIGHT be aliased to global. For large enough values of
>m, the transformed piece of code is at least 3 times faster on a
>high-performance workstation. Fortran rules usually allow this
>transformation.
I think what this really comes down to, is that the hardware
designers are being too clever by half. They should really be making
relatively simple chips, which are easy to couple many of them loosely
together.


Parallel programming can be really hairy if you go at it at fine time
grain, but there is more than enough going on on a modern workstation
to merely paralell process at a very high level.


Every time I look at the absobloominglutely amazing optimizations in
something like the pentium or a p6, I say to my self 'Wrong way
folks, too clever folks, go the other way folks, Keep It Simple
Stupid!'




John Carter
Institute for Water Quality Studies. Department of Water Affairs.
Internet : ece@dwaf-hri.pwv.gov.za Phone : 27-12-808-0374x194
Fax : 27-12-808-0338 [Host for Afwater list server]
[You might be surprised how many people have one big program that they want
to run fast. Multiple processes don't help much. -John]
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.