This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Autoincrement examples
- To: Joern Rennecke <amylaar at cygnus dot co dot uk>
- Subject: Re: Autoincrement examples
- From: Michael Hayes <m dot hayes at elec dot canterbury dot ac dot nz>
- Date: Sun, 21 Nov 1999 11:47:49 +1300 (NZDT)
- Cc: m dot hayes at elec dot canterbury dot ac dot nz (Michael Hayes), law at cygnus dot com,gcc at gcc dot gnu dot org, amylaar at cygnus dot com
- References: <14390.31570.64315.731520@ongaonga.elec.canterbury.ac.nz><199911201701.RAA26688@phal.cygnus.co.uk>
Joern Rennecke writes:
> Oh. So you are not actually talking about dead loads, but loads that could
> be combined into thev instruction that uses the loaded value.
Yes.
> This optimization opportunity seems to be due to a peculiarity of your
> target architecture - not being a true load-store one, but allowing different
> sets of addressing modes in different instructions.
This is typical of digital signal processor architectures where you
want to perform the kernel of a dot-product with a single instruction;
usually a MAC with a pair of autoincrement memory references.
Michael.