Re: Processor specific optimisations

rickh@capaccess.org (Rick Hohensee)
28 Jan 2002 01:11:08 -0500

          From comp.compilers

Related articles
[4 earlier articles]
Re: Processor specific optimisations usenet@gehre.org (2002-01-18)
Re: Processor specific optimisations walter@bytecraft.com (Walter Banks) (2002-01-24)
Re: Processor specific optimisations jgd@cix.co.uk (2002-01-24)
Re: Processor specific optimisations thp@cs.ucr.edu (2002-01-24)
Re: Processor specific optimisations RLWatkins@CompuServe.Com (R. L. Watkins) (2002-01-24)
Re: Processor specific optimisations mpointie@eden-studios.fr (Mickaël Pointier) (2002-01-28)
Re: Processor specific optimisations rickh@capaccess.org (2002-01-28)
Re: Processor specific optimisations mpointie@eden-studios.fr (Mickaël Pointier) (2002-01-30)
Re: Processor specific optimisations Ulrich.Teichert@gmx.de (2002-01-30)
Re: Processor specific optimisations perle@cs.tu-berlin.de (2002-01-30)
Re: Processor specific optimisations mpointie@eden-studios.fr (Mickaël Pointier) (2002-02-06)
Re: Processor specific optimisations clc5q@cs.virginia.edu (Clark L. Coleman) (2002-02-06)
Re: Processor specific optimisations rickh@capaccess.org (2002-02-06)
| List of all articles for this month |
From: rickh@capaccess.org (Rick Hohensee)
Newsgroups: comp.compilers
Date: 28 Jan 2002 01:11:08 -0500
Organization: http://groups.google.com/
References: 02-01-077 02-01-126
Keywords: optimize
Posted-Date: 28 Jan 2002 01:11:08 EST

"R. L. Watkins" <RLWatkins@CompuServe.Com> wrote
> The short answer is "No".
>
> Too many of the hand-optimizations done by assembly language programmers
> (e.g. wraparound/overflow tricks) depend on information about the intent of
> the design of which the compiler itself is ignorant.
>
> An optimizing compiler will never accomplish such things until it can carry
> on a dialog with the programmer about these matters without inundating the
> programmer by rote with every possible question, at which point it will
> become not a compiler but an automated assembly language programmer.


Ah, nice. Speaking of the 6502 and deliberately falling off the edge
of the earth as a programming technique, has anyone ever used 6502
"pre-indexed indirect" addressing? I didn't find any occurance of it
in the C64 ROMs, 8k by Commodore and 8k by Microsoft.


Rick Hohensee


Post a followup to this message

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