This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [m68k 12/13] properly align within code
- From: Rask Ingemann Lambertsen <rask at sygehus dot dk>
- To: Jeffrey Law <law at redhat dot com>
- Cc: zippel at linux-m68k dot org, gcc-patches at gcc dot gnu dot org
- Date: Mon, 5 Feb 2007 22:58:24 +0100
- Subject: Re: [m68k 12/13] properly align within code
- References: <20070130112615.782382000@linux-m68k.org> <20070130114608.438023000@linux-m68k.org> <1170695058.4061.119.camel@sweet.slc.redhat.com>
On Mon, Feb 05, 2007 at 10:04:18AM -0700, Jeffrey Law wrote:
> My m68k is rusty -- presumably move.l <ea>,addrreg doesn't muck
> the status bits, right?
It doesn't. Instructions with an address register destination don't alter
status bits. The Motorola docs use mnemonics suffixed with 'a' (movea, adda,
...) to make it clearer. Note that cmpa does set the status bits.
--
Rask Ingemann Lambertsen