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]

Register Allocation Pref. in 3.3.3


Hi,

For anyone who still remembers what went on with 3.3.3, in global.c,
set_preference, why is there a bias to set preference for operand 0 of
src?
It is not intuitive and I there's no comment regarding this so I guess
there is some 'assumption' gcc makes regarding the order of operands.

Two generic questions regarding this version:
- Does the order in which define_insn and define_expand rules show up
in the .md file bias the compiler to choose a rule in one way or the
other?
- If two define_insn patterns match the same insn, which one will be used?

Cheers,

-- 
PMatos


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