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]

Scheduler patch: Don't ignore dependencies of asm insns


This is the second of the two scheduler patches I need to make a new
port work, which requires accurate schedules for correctness.

When we have an asm statement that depends on a load, we must not
schedule the asm before the load completes.  Currently, dep_cost_1 has a
test for recog_memoized < 0, which is intended to ignore USE and CLOBBER
insns, but also catches asm statements and makes us ignore the cost of
their dependencies.

Fixed with this patch.  Bootstrapped and regression tested on
i686-linux.  Ok?


Bernd

Attachment: h-asmdep.diff
Description: Text document


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