This is the mail archive of the gcc-patches@gcc.gnu.org mailing 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]

Re: Add machine_dependent_reorg2


law@redhat.com writes:
> In message <20030625213533.GB4249@redhat.com>, Richard Henderson writes:
>  >On Wed, Jun 25, 2003 at 01:34:49PM -0600, law@redhat.com wrote:
>  >> I haven't followed this discussion closely, but what was the original
>  >> motivation behind wanting more machine dependent hooks?
>  >
>  >Wanting to add the required nops to the mips insn stream after dbr.
> And we can't do this like every other port during assembly output because?

"Every other port"? ;)  I thought nop-inserting assemblers were
the exception rather than the rule.

But the motivation in this case is to get a better idea about
instruction alignment.  There are targets for which it is more
efficient to align branch insns.  And there are targets that
can only dual issue insns when the first one is 8-byte aligned.

If we knew what alignment instructions had, we could do
something like align_align_insns().

The patch that used reorg2 was this one:

    http://gcc.gnu.org/ml/gcc-patches/2003-06/msg02529.html

Richard


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