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]

Puzzle about mips pipeline description


Hi All:
  In gcc internal, section 16.19.8, there is a rule about
"define_insn_reservation" like:
"`condition` defines what RTL insns are described by this
construction. You should re-
member that you will be in trouble if `condition` for two or more
different `define_insn_
reservation` constructors if TRUE for an insn".

  While in mips.md, pipeline description for each processor are
included along with
generic.md, which providing a fallback for processor without specific
pipeline description.

  Here is the PUZZLE: Won't `define_insn_reservation` constructors
from both specific
processor's and the generic md file break the rule mentioned before?
For example, It seems
conditions for the r3k_load(from 3000.md) and generic_load(from
generic.md) are both TRUE
for lw insn.

Further more,
In those md files for specific processors, It is said that these
description are supposed to
override parts of generic md file, but i don't know how it works
without reading codes in
genautomata.c.

Please help me out, Thanks very much.

-- 
Best Regards.


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