home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Exec 5 / CD_Magazyn_EXEC_nr_5.iso / Programy / Programowanie / vbcc07e.lzx / vbcc / doc / vsc.doc < prev   
Encoding:
Text File  |  2001-02-12  |  1.4 KB  |  53 lines

  1. vsc - scheduler for vbcc (c) in 1997-99 by Volker Barthelmann
  2.  
  3.  
  4. INTRODUCTION
  5.  
  6.     vsc is an instruction-scheduler which reorders the assembly output of
  7.     vbcc and tries to improve performance of the generated code by avoiding
  8.     pipeline stalls etc.
  9.  
  10.     Like the compiler vbcc it is split into a target independant and a
  11.     target dependant part. However there may be code-generators for vbcc
  12.     which do not have a corresponding scheduler.
  13.  
  14.     This document only deals with the target independant parts of vsc.
  15.     Be sure to read all the documents for your machine.
  16.  
  17.  
  18. LEGAL
  19.  
  20.     vsc is (c) in 1997-99 by Volker Barthelmann.
  21.     This is a development snapshot which must not be distributed.
  22.     Also, commercial usage is forbidden.
  23.  
  24.  
  25. USAGE
  26.  
  27.     Usually vsc will be called by a frontend. However if you call it
  28.     directly, it has to be done like this:
  29.  
  30.     vsc [options] input-file output-file
  31.  
  32.     The following options are supported:
  33.  
  34.     -quiet      Do not print the copyright notice.
  35.  
  36.     -debug=<n>  Set debug-level to <n>.
  37.  
  38.  
  39.     Note that depending on the target vbcc may insert hints into the
  40.     generated code to tell vsc what CPU to schedule for. Code
  41.     scheduled for a certain CPU may run much slower on slightly different
  42.     CPUs. Therefore it is especially important to specify the correct
  43.     target-CPU when compiling.
  44.  
  45.  
  46. KNOWN PROBLEMS
  47.  
  48.     - works only on basic-blocks
  49.  
  50.  
  51. Volker Barthelmann                                      vb@compilers.de
  52.  
  53.