public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* MS_SCHED macros and pentium..
@ 1998-10-12  9:14 Jan Hubicka
  1998-10-26 20:11 ` Jeffrey A Law
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Hubicka @ 1998-10-12  9:14 UTC (permalink / raw)
  To: egcs

Hi
I've made first attempt to describe pentium scheduling with MD_SCHED macros,
but I've run into two problems, I am unable to solve.
First problem is, that pentium don't swap instructions when necessary,
so if you have instruction just for first pipe, it must be first in the
assembly output, but I didn't found any way to change order of insns
at output in one group.
Other problem is multiply. I have two integer pipelines and multiply
blocks both of them, wich is impossible to set in md file.
So I've decided to change macros to not accept any instruction
when mul is in progress, but this is impossible to handle. Quite nice
solution is to set mul as one cycle instruction, where I can accept
just one. It is quite exact except that FP code should overlap with
multiply, so some extra dependencies are done. 
But this is quite rare.

Any ideas?
Honza
-- 
------------------------------------------------------------------------------
                   Have you browsed my www pages? Look at:
                       http://www.paru.cas.cz/~hubicka
      Koules-the game for Svgalib,X11 and OS/2,  Xonix-the game for X11
      czech documentation for linux index, original 2D computer art and
              funny 100 years old photos and articles are there!

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: MS_SCHED macros and pentium..
  1998-10-12  9:14 MS_SCHED macros and pentium Jan Hubicka
@ 1998-10-26 20:11 ` Jeffrey A Law
  0 siblings, 0 replies; 2+ messages in thread
From: Jeffrey A Law @ 1998-10-26 20:11 UTC (permalink / raw)
  To: Jan Hubicka; +Cc: egcs

  In message < 19981012171100.59739@horac.ta.jcu.cz >you write:
  > First problem is, that pentium don't swap instructions when necessary,
  > so if you have instruction just for first pipe, it must be first in the
  > assembly output, but I didn't found any way to change order of insns
  > at output in one group.
Use the code to reorder the ready queue. 

  > Other problem is multiply. I have two integer pipelines and multiply
  > blocks both of them, wich is impossible to set in md file.
Why can't you describe this in the MD file?  You need to give a little more
detail on this problem.

jeff

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-10-26 20:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-10-12  9:14 MS_SCHED macros and pentium Jan Hubicka
1998-10-26 20:11 ` Jeffrey A Law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).