Roman Zippel - Re: [m68k 12/13] properly align within code (original) (raw)
This is the mail archive of the gcc-patches@gcc.gnu.orgmailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
- From: Roman Zippel
- To: Jeffrey Law
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 7 Feb 2007 22:09:36 +0100 (CET)
- 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>
Hi,
On Mon, 5 Feb 2007, Jeffrey Law wrote:
If using some of -falign options with a larger alignment, no proper nop instruction is inserted. The patch uses "move.l %a4,%a4" as nop (the real nop has synchronizing properties).
2007-01-30 Roman Zippel zippel@linux-m68k.org
* config/m68k/m68k.h (ASM_OUTPUT_ALIGN_WITH_NOP): New, use "move.l %a4,%a4" to produce nops.
My m68k is rusty -- presumably move.l ,addrreg doesn't muck the status bits, right?
Indeed.
Assuming that's the case my only concern would be whether or not the .balign pseudo-op is accepted by the various m68k assemblers.
Currently gas is the only assembler left and it's only generated if one uses one of -falign options.
bye, Roman
- Follow-Ups:
- Re: [m68k 12/13] properly align within code
* From: Jeffrey Law
- Re: [m68k 12/13] properly align within code
- References:
- Re: [m68k 12/13] properly align within code
* From: Jeffrey Law
- Re: [m68k 12/13] properly align within code
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |