Article View: comp.lang.pascal.borland
Article #295Re: Patching the compiler - Part 2.1
From: Robert AH Prins
Date: Tue, 25 May 1999 00:00
Date: Tue, 25 May 1999 00:00
47 lines
2867 bytes
2867 bytes
In article <7idjht$cj4$1@nnrp1.deja.com>, Robert AH Prins <prinsra@williscorroon.com> wrote: > This morning I wrote a quick and simple program that, in it's current > state generates a byte-4-byte equivalent of the opcode table in TP6, > and although I don't have it installed, BP7. (I'm pretty sure that it > uses the same table - CAN ANYONE CONFIRM THIS?) > > Obviously I need to translate the program into Pascal (I wrote it in > PL/I on the MF), but it will allow me, with certain restrictions, to > modify the builtin assembler hash table. Once it's ready, I will make > it available by email - sorry, don't have a web site. (Franz G, feel > free to add it to your site!) > > As I mentioned in an earlier email about this, I will mercilessly chop > the five obsolete FPU instructions (F(N)DISI/F(N)ENI/FSETPM) but what > else would be useful to throw out? > > ENTER/LEAVE, FNOP? Some of the synonyms for conditionals & repeat > prefixes, (REP=REPE=REPZ, REPNE=REPNZ, LOOPE=LOOPZ, LOOPNE=LOOPNZ) and > some Jcc's have three variants (anyone ever uses JNAE instead of JB?) > > And what would be useful to add? > > MOVSD/STOSD, CDQ/CWDE, SEGFS/GS, an added $66 to PUSHA/POPA, RDTSC > without sacrificing stand-alone AAM. Of course, with the program you > would be able to tailor the table yourself, but I would like to > provide at least one tried and tested example, so give me your > suggestions. As a follow-up, if you use TPC.EXE, (TP V6.00, 69214 bytes, 10/23/90), I now have a patch to create a version that can directly use SEGFS, SEGGS, CDQ, CWDE, MOVSD, STOSD & RDTSC. (But no longer supports ENTER, LEAVE, SAL, FNOP, FSETPM, F(N)DISI or F(N)ENI!) Email me for a 2706 byte patch file. BTW, the program used to generate the patches is still MF based, but if you want the PL/I source, I can send it. Robert -- Robert AH Prins prinsra@williscorroon.com --== Sent via Deja.com http://www.deja.com/ ==-- ---Share what you know. Learn what you don't.---
Technical Details
Message-ID:
<7ievut$cv8$1@nnrp1.deja.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7idjht$cj4$1@nnrp1.deja.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1006de,fa51991f67440da2,start X-Google-Attributes: gid1006de,public X-Google-Thread: 111659,8609118548d8622d X-Google-Attributes: gid111659,public X-Google-Thread: 108ebd,8609118548d8622d X-Google-Attributes: gid108ebd,public From: Robert AH Prins <prinsra@williscorroon.com> Subject: Re: Patching the compiler - Part 2.1 Date: 1999/05/25 Message-ID: <7ievut$cv8$1@nnrp1.deja.com> X-Deja-AN: 482003158 References: <7idjht$cj4$1@nnrp1.deja.com> X-Http-Proxy: 1.0 x24.deja.com:80 (Squid/1.1.22) for client 193.130.234.1 Organization: Deja.com - Share what you know. Learn what you don't. X-Article-Creation-Date: Tue May 25 20:07:59 1999 GMT Newsgroups: comp.lang.pascal.borland,borland.public.turbopascal,de.comp.lang.pascal.misc X-Http-User-Agent: Mozilla/4.05 [en] (WinNT; I)