COMPRESS.EXE ! ! Note: The following patches replace inline calls to LIB$INSV and LIB$EXTZV ! with the actual single instructions that is contained in these ! routines. The offsets were derived by compiling COMPRESS.C and ! ARGPROC.C with the VAX C Compiler Version 3.1, and linking with the ! standard sharable VAXCRTL.EXE supplied with VMS V5.3. The effect of ! these patches on the execution of the compress program was about 5% ! less CPU time. Some might not consider this extra benefit worth it, ! I've done all the work, so if the patch applies (i.e. the correct ! instructions are at the right spots in the image, then it's worth ! using. ! REPLACE/INS 86A54+4A ! This is output + 4a 'PUSHL R2' 'PUSHAL B^0F4(FP)' 'PUSHAL B^0F8(FP)' 'PUSHAL B^04(AP)' 'CALLS #04,@L^88524' EXIT 'INSV B^4(AP),B^0F8(FP),B^0F4(FP),(R2)' EXIT REPLACE/INS 86F00+1DA ! This is getcode + 1DA 'PUSHL (SP)' 'PUSHAL B^0F4(FP)' 'PUSHAL W^0FFF8(FP)' 'CALLS #3,@L^88520' EXIT 'MOVL (SP),R0' 'EXTZV B^0F8(FP),B^0F4(FP),(R0),R0' EXIT UPDATE