This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Instruction bundling on IA64 and the Intel Assembler
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: zack at codesourcery dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 15 Dec 03 17:00:22 EST
- Subject: Re: Instruction bundling on IA64 and the Intel Assembler
Always print "{.whatever" in the bundle_selector output template;
then, whenever bundling() goes to emit a bundle_selector, have it also
look three insns ahead and emit an "}" insn. I think this will always
be right, not interfere with labels and directives, and shouldn't
require you to comprehend this problem function.
It still requires *some* comprehension because it's not completely clear
when those three insns are written out (consider nops).
However, that still doesn't address part of Geert's comment, which is that
there is little or no documentation in that function and certainly no
overview comments saying what's going on. Even if there is some simple
way to deal with this issue, that documentation still needs to be provided.