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]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]