This is the mail archive of the gcc@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: DFA scheduling for inline assembly.


   From: Dan Towner <dant@picochip.com>
   Date: Wed, 03 Jul 2002 16:56:16 +0100
   
   The processor uses VLIW and can execute one or more communications in
   parallel with conventional ALU/MEM/BRANCH instructions. I am using the
   DFA scheduler to generate VLIW'd code, but the inline assembly is never
   combined with other instructions. Is there any way that I can detect the
   inline assembly instructions so that I can tag them with the EU's they
   use so that I can then schedule them alongside other instructions?

One way is to make GCC builtins for the special instructions and the
user uses these builtins instead of inline asm.  In this way the
compiler can schedule them just like any other insn.


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