AminetAminet
Search:
82820 packages online
About
Recent
Browse
Search
Upload
Setup
Services

dev/asm/popt.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:A powerfull assembly source optimizer - v1.0b
Author:devulder at info.unicaen.fr (Samuel DEVULDER)
Uploader:devulder info unicaen fr (Samuel DEVULDER)
Type:dev/asm
Date:1996-03-08
Download:http://aminet.net/dev/asm/popt.lha - View contents
Readme:http://aminet.net/dev/asm/popt.readme
Downloads:411
                                   Popt
                                   ----
Architecture: m68k-amigaos

        Popt is an  optimizer  of  assembly  sourcefile.  It  does  various
    standard peephole optimizations by pattern-matching. It ranges  from  1
    intruction lookahead to 3 and many more ! It makes more job than  usual
    bluid-in assembler optimizer and uses data-flow analysis to find  which
    register are used or not. With those  informations  it  is  capable  of
    deleting intructions that are of no use and re-assigning  registers  to
    produce a code of better quality/looking. It is specialy  powerfull  on
    code produced by C-compilers (even those that optimize their code !).

	See popt.doc for further explanations.

	If you're a fan of benchmarks,  here is what Popt is  able to do to
    the  well-known   "DHRYSTONE" Benchmark Program   (Reinhold P. Weicker,  
    CACM Vol 27,  No 10, 10/84  pg. 1013) compiled with the  non-registered 
    dcc version of DICE, by Matt DILLON:

    +=====================================================================+
    |                      GVP A530 (68EC030 at 40Mhz)                       |
    +=====================================================================+
    |                                   | Dhrystones/sec | speed increase |
    +-----------------------------------+----------------+----------------+
    | no opt.             (dhr.a)       |      6846      |      ---       |
    | opt. for 68000      (dhr000.a)    |      7899      |     +15.4%     |
    | opt. for 68020/30   (dhr020.a)    |      8015      |     +17.1%     |
    | opt. for 68020/30   (dhr020i.a) * |      8062      |     +17.8%     |
    | opt. for 68040      (dhr040.a)    |      7830      |     +14.4%     |
    | opt. for 68040      (dhr040i.a) * |      7837      |     +14.5%     |
    +=====================================================================+
    |                      Stock A500 (68000 at 7Mhz)                        |
    +=====================================================================+
    |                                   | Dhrystones/sec | speed increase |
    +-----------------------------------+----------------+----------------+
    | no opt.             (dhr.a)       |      775       |      ---       |
    | opt. for 68000      (dhr000.a)    |      912       |     +17.7%     |
    | opt. for 68020/30   (dhr020.a)    |      912       |     +17.7%     |
    | opt. for 68040      (dhr040.a)    |      883       |     +13.9%     |
    +-----------------------------------+----------------+----------------+
 
	You can find the source code of those programs  (dhr.a, dh0?0.a) to
    have a look to the quality of the optimisation. The source is dhr.a and
    the destinations are dhr0?0.a.

	This version is a beta version. Little testing has been done. It is
    rather experimantal.  Use it at your own risks.  Please  feel  free  to 
    report any bugs or comments to me.

        Happy optimizations !
 
                Sam.

_________________
* The star indicates that the code uses special 68020+ instructions or
  addressing modes.


Contents of dev/asm/popt.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
drwxr-xr-x   754/50          0       0 ****** -lhd- 0000 Feb 14  1996 popt/
-rwxrwxrwx   754/50       2906   11693  24.9% -lh5- e05f Feb 13  1996 popt/dhr.a
-rwxrwxrwx   754/50       3937   23939  16.4% -lh5- d91e Feb 13  1996 popt/dhr000.a
-rwxrwxrwx   754/50       4019   24779  16.2% -lh5- aa18 Feb 13  1996 popt/dhr020.a
-rwxrwxrwx   754/50       3935   23786  16.5% -lh5- f1ba Feb 13  1996 popt/dhr020i.a
-rwxrwxrwx   754/50       4117   25997  15.8% -lh5- 6e0b Feb 13  1996 popt/dhr040.a
-rwxrwxrwx   754/50       4092   25560  16.0% -lh5- 129f Feb 13  1996 popt/dhr040i.a
-rwxrwxrwx   754/50       8022   56041  14.3% -lh5- 8431 Jan  8  1996 popt/peephole.doc
-rwxrwxrwx   754/50      44726   95080  47.0% -lh5- 0866 Feb 13  1996 popt/popt
-rwxrwxrwx   754/50      72175  173836  41.5% -lh5- f7f3 Feb 13  1996 popt/popt.apurify
-rwxrwxrwx   754/50       7237   17070  42.4% -lh5- f5d4 Feb 14  1996 popt/popt.doc
-rwxrwxrwx   754/50       1163    3315  35.1% -lh5- 7237 Feb 14  1996 popt/popt.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        12 files  156329  481096  32.5%            Mar  8  1996

Aminet © 1992-2019 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>