Commit Graph

1691 Commits

Author SHA1 Message Date
peter
cb8aeb3fd6 * V_Fatal=1, all other V_ are also increased
* Check for local procedure when assigning procvar
  * fixed comment parsing because directives
  * oldtp mode directives better supported
  * added some messages to errore.msg
1999-08-05 16:52:53 +00:00
michael
5baa7ca467 * Added ait_frame, ait_ent 1999-08-05 15:51:01 +00:00
michael
de05bb1a56 * more changes 1999-08-05 15:50:31 +00:00
Jonas Maebe
aff06b2d4e * "add/sub const,%esp;sub $2,%esp" wasn't always optimized 1999-08-05 15:02:48 +00:00
Jonas Maebe
13bffb711a * fix in -darithopt code (sometimes crashed on 8/16bit regs) 1999-08-05 15:01:52 +00:00
florian
fdc1e9792c * some fixes for the floating point registers
* more things for the new code generator
1999-08-05 14:58:03 +00:00
florian
d66fdc645a * now every available fpu register is used for
fpu register variables
1999-08-04 14:21:07 +00:00
florian
ab66749e27 * new(...)^. is now allowed 1999-08-04 13:49:45 +00:00
florian
e53aceb9be + floating point register variables !!
* pairegalloc is now generated for register variables
1999-08-04 13:45:17 +00:00
Jonas Maebe
ace7ff6983 * all tokens now start with an underscore
* PowerPC compiles!!
1999-08-04 13:02:40 +00:00
Jonas Maebe
4a9d0a58d1 * all tokes now start with an underscore
* PowerPC compiles!!
1999-08-04 12:59:22 +00:00
florian
be3155fdde + initial revision 1999-08-04 11:13:38 +00:00
michael
b6cf3b2d68 + Added ait_frame 1999-08-04 00:39:56 +00:00
florian
defd66af97 - removed i386asm.pas and i386base.pas 1999-08-04 00:25:12 +00:00
florian
ca53eee67e * renamed i386asm and i386base to cpuasm and cpubase 1999-08-04 00:22:34 +00:00
Jonas Maebe
89b7d18f54 + initial implementation for PowerPC based on the Alpha stuff 1999-08-03 23:37:52 +00:00
florian
3bce2e5c20 * initial revision 1999-08-03 22:39:46 +00:00
peter
ed8eb13d59 * moved bitmask constants to sets
* some other type/const renamings
1999-08-03 22:02:29 +00:00
florian
53000e181d * reduced memory usage by factor 2-3 (it
improved also the speed) by reducing the
    growsize of the symbol tables
1999-08-03 17:51:45 +00:00
Jonas Maebe
6e07359718 * fix for sar/shr-shl optimization 1999-08-03 17:13:28 +00:00
florian
1cf1665d73 * the alpha compiler can be compiled now 1999-08-03 17:09:34 +00:00
michael
c474f11a46 * Additional changes 1999-08-03 15:52:40 +00:00
michael
d8e93dd9fd * changed shortname for linux alpha 1999-08-03 15:52:00 +00:00
michael
eba7f7c4ed + Changes for alpha 1999-08-03 13:50:16 +00:00
michael
12cac201d5 + Initial implementation 1999-08-03 13:48:50 +00:00
florian
efa5031010 * initial revision for the alpha 1999-08-03 13:20:53 +00:00
michael
d941eee5f6 + Added varregs 1999-08-03 00:35:54 +00:00
michael
d14de4009e + Added cpuasm for alpha 1999-08-03 00:33:23 +00:00
florian
13dd5edfc6 * reg_vars and reg_pushes is now in tgobj 1999-08-03 00:32:13 +00:00
florian
fabcb5b105 * again a fix for the alpha 1999-08-03 00:30:36 +00:00
florian
90c3d92173 - removed the stuff of the last commit :) 1999-08-03 00:28:24 +00:00
florian
0316203723 * some updates to compile for the alpha 1999-08-03 00:28:03 +00:00
florian
3a6062e7a6 * added reg var stuff 1999-08-03 00:25:28 +00:00
michael
382edb8cb4 + Initial implementation 1999-08-03 00:24:01 +00:00
florian
4c6bd565bf * initial revision 1999-08-03 00:07:16 +00:00
florian
92a8f2af97 * added bestrealdef for alpha and powerpc 1999-08-03 00:03:24 +00:00
michael
20e0eaf145 + Added alpha cpu and linux for alpha os 1999-08-02 23:56:51 +00:00
michael
010544014c Initial implementation 1999-08-02 23:19:53 +00:00
florian
cb114f1453 * more changes to compile for the Alpha 1999-08-02 23:13:19 +00:00
florian
eac806034d * the main branch psub.pas is now used for
newcg compiler
1999-08-02 21:28:56 +00:00
michael
4f74c54c09 * Moved toperand type back =( 1999-08-02 21:01:41 +00:00
michael
19b97ee4a4 * Alpha aware switch detection 1999-08-02 20:46:57 +00:00
michael
16afc140e9 * Moved toperand type to aasm 1999-08-02 20:45:47 +00:00
michael
9419ee8611 + Completed descriptions 1999-08-02 17:53:15 +00:00
florian
ab5461ac75 * initial revision 1999-08-02 17:23:23 +00:00
florian
2b7f36e255 * small changes for the new code generator 1999-08-02 17:17:09 +00:00
michael
d8ad003a09 + Changes for alpha 1999-08-02 17:16:41 +00:00
florian
98ad42cb87 + dummy implementation 1999-08-02 17:15:43 +00:00
florian
55c10a0343 * dummy implementation 1999-08-02 17:15:05 +00:00
michael
d87f99e54b + CPU check better 1999-08-02 17:15:03 +00:00
florian
a1fd4ac628 + changed the temp. generator to an object 1999-08-02 17:14:07 +00:00
Jonas Maebe
e2302d38bc * bugfix in DestroyRefs 1999-08-02 14:35:21 +00:00
Jonas Maebe
77fef43fda * also add arithmetic operations to instruction sequences contained in registers
(compile with -darithopt, very nice!)
1999-08-02 12:12:53 +00:00
michael
1d346206a9 * alpha has no index 1999-08-02 00:34:06 +00:00
michael
198b3b5050 * Moved taitempalloc 1999-08-01 23:55:53 +00:00
florian
9fd7385c65 * some changes to compile the new code generator 1999-08-01 23:36:38 +00:00
michael
9dfff6d0fc * Alpha changes 1999-08-01 23:35:06 +00:00
florian
c13c6e8b74 + make a new makefile using the old compiler makefile 1999-08-01 23:19:58 +00:00
michael
f16acaf9b5 + Fixes for new code generator 1999-08-01 23:18:36 +00:00
florian
ac698386c5 + renamed ot tp cgcpu.pas 1999-08-01 23:11:24 +00:00
michael
09eaa20eb5 * procbase -> cpubase 1999-08-01 23:09:26 +00:00
michael
59f5168068 + Procbase- -> cpubase 1999-08-01 23:07:13 +00:00
florian
e311c0ddbf * changes to compile with FPC 1999-08-01 23:05:55 +00:00
michael
44fd09b5ec + Changes for Alpha 1999-08-01 23:04:48 +00:00
florian
b6c97cd733 * reorganisation of directory structure 1999-08-01 22:08:25 +00:00
florian
7e74642b02 * modifications for the new code generator 1999-08-01 18:28:09 +00:00
florian
8e9d97e1fe * made it again compilable 1999-08-01 18:22:31 +00:00
florian
36c8c81845 * more fixes for inittable call 1999-08-01 17:32:31 +00:00
florian
e7623db6df * tried to fix a bug with init table 1999-08-01 17:17:37 +00:00
michael
9600a0718a * Fix of initialization information generation 1999-07-31 22:37:17 +00:00
peter
ab7c74f60a * fixed smartlinking 1999-07-31 12:33:11 +00:00
peter
73151c592c * fixed placing of dynamiclinker in link.res (should be the last after
all other libraries)
1999-07-30 23:19:45 +00:00
Jonas Maebe
8dcdd36b13 * small bugfix in instructionsequal
* small bugfix in reginsequence
  * made regininstruction a bit more logical
1999-07-30 18:18:51 +00:00
Jonas Maebe
19e34088fa * fix so (,reg) gets optimized to (reg) 1999-07-30 18:17:55 +00:00
peter
538e677425 * fixed crash with unknown id and colon parameter in write 1999-07-30 12:28:40 +00:00
peter
a0e2991b6a * array is_equal disabled for tp,delphi mode 1999-07-30 12:26:42 +00:00
peter
4d419ef8d4 * write .size only for linux 1999-07-30 12:26:07 +00:00
peter
674e0cc879 * write .size also 1999-07-29 20:53:55 +00:00
peter
771996a9db * always output preprocstack when unexpected eof is found
* fixed tp7/delphi skipuntildirective parsing
1999-07-29 11:43:15 +00:00
peter
571c8d89bc * array is_equal extended 1999-07-29 11:41:51 +00:00
peter
9dda467212 * fixed shared library linking for glibc2 systems 1999-07-29 01:31:39 +00:00
peter
30be2bf063 * indirect type referencing is now allowed 1999-07-27 23:42:10 +00:00
peter
bdd61f119c * open array checks also for s32bitdef, because u32bit also has a
high range of -1
1999-07-27 23:39:15 +00:00
peter
0e0711e7a1 * try to determine the fpu type needed in assignment 1999-07-27 23:36:36 +00:00
peter
d119287aa6 * glibc 2.1.2 support 1999-07-27 11:05:51 +00:00
florian
929290a3c9 * $mode gives now a warning if an unknown mode keyword follows 1999-07-26 14:55:36 +00:00
florian
bf6bed1bf7 * exit in try..finally blocks needed a second fix
* a raise in a try..finally lead into a endless loop, fixed
1999-07-26 12:13:45 +00:00
florian
9cbaac5beb * bugs 494-496 fixed 1999-07-26 09:41:59 +00:00
michael
725246c6c5 + Fixed hash computing, now compatible with gnu .mo file 1999-07-25 19:27:15 +00:00
michael
5d101ee4f5 * Forgot to add unitname to resourcestring data 1999-07-24 18:35:41 +00:00
michael
f7284c4549 + Improved resourcestring handling 1999-07-24 16:22:10 +00:00
michael
d1e6915de3 changes for resourcestrings 1999-07-24 15:12:56 +00:00
michael
916859ebd7 * Fixed resourcestring writing to units 1999-07-24 13:36:23 +00:00
peter
382d5bd835 * directives are allowed in (* *)
* fixed parsing of (* between conditional code
1999-07-24 11:20:59 +00:00
peter
b84eb33013 * suffix parsing for at&t fixed for things like movsbl
* string constants are now handle correctly and also allowed in
    constant expressions
1999-07-24 11:17:12 +00:00
peter
4807c96d29 * also number units for program 1999-07-24 00:13:25 +00:00
peter
6dac94ac96 * resourcestring fix 1999-07-23 23:09:06 +00:00
peter
b09c315030 * fixed stabs for record which still used savesize 1999-07-23 23:07:03 +00:00
michael
f8643a3070 + Added HasResourceStrings define 1999-07-23 22:56:27 +00:00
peter
62273909ca * fixed crash with resourcestring 1999-07-23 21:31:42 +00:00
peter
6c00bfc702 * more C packing fixes 1999-07-23 20:59:23 +00:00
peter
07bb58295b * alignment is now saved in the symtable
* C alignment added for records
  * PPU version increased to solve .12 <-> .13 probs
1999-07-23 16:05:18 +00:00
peter
ca1ccd9221 * fixed crash in previous commit 1999-07-23 12:02:20 +00:00
peter
f380e3bd68 * error for illegal type reference, instead of 10998 1999-07-23 11:37:46 +00:00
peter
f9c4d1b3a7 * removed oldppu from propertysym 1999-07-23 11:33:23 +00:00
michael
d21b73460a + Added computehashvalue 1999-07-22 20:04:58 +00:00
peter
ca4715fee8 * merged 1999-07-22 16:12:28 +00:00
florian
35f636dea1 + resourcestring implemented
+ start of longstring support
1999-07-22 09:37:28 +00:00
florian
8929222311 + initial revision 1999-07-22 09:34:04 +00:00
florian
774df6096e * bug #487 fixed, (inc(<property>) isn't allowed)
* more fixes to compile with Delphi
1999-07-18 14:47:19 +00:00
florian
bba137b4e6 * handling of integer and shortint in case was wrong, if a case
label was negative and a jump table was generated
1999-07-18 14:01:16 +00:00
florian
a873f5a4a5 * fix of my previous commit nevertheless it doesn't work completly 1999-07-18 10:41:59 +00:00
florian
046acfb84b * made it compilable with Dlephi 4 again
+ fixed problem with large stack allocations on win32
1999-07-18 10:19:38 +00:00
peter
45bf051885 * merged 1999-07-16 10:04:32 +00:00
michael
d12b467d95 + Removed TV stuff from brwosercol 1999-07-15 08:42:22 +00:00
florian
b2c99ecb9d + implemented a better error message if a PPU file isn't found as suggested
by Lee John
1999-07-14 21:19:01 +00:00
michael
5b62a2b45c + Defaultreplacemens now more logical 1999-07-13 19:14:44 +00:00
michael
084c8a2aa8 Changed fpcman to fpc 1999-07-13 12:25:07 +00:00
peter
cd6dac1a03 * merged 1999-07-12 15:03:04 +00:00
michael
e77400a181 + Fixed integer message table 1999-07-11 21:24:31 +00:00
peter
f2818d7908 * merged 1999-07-11 20:10:23 +00:00
peter
02576a8279 * merged 1999-07-10 10:26:18 +00:00
peter
1730312b75 * reinserted 1999-07-10 10:19:43 +00:00
peter
b867e4f6de * assembler smartlink message 1999-07-10 10:12:03 +00:00
peter
e646fcda07 * merged 1999-07-08 10:40:37 +00:00
michael
3903aa44a3 + Added last message 1999-07-07 22:36:22 +00:00
michael
f75725ddf3 + Added last message 1999-07-07 22:25:02 +00:00
peter
0dd9b0b7de * warning instead of error when switching to static linking 1999-07-07 20:33:53 +00:00
florian
42f09e54ae * another fix for TP/Delphi styled procedure variables 1999-07-06 22:38:11 +00:00
florian
62cb5453d3 * a lot bug fixes:
- po_external isn't any longer necessary for procedure compatibility
     - m_tp_procvar is in -Sd now available
     - error messages of procedure variables improved
     - return values with init./finalization fixed
     - data types with init./finalization aren't any longer allowed in variant
       record
1999-07-06 21:48:09 +00:00
peter
52799c40cc * merged 1999-07-06 00:53:48 +00:00
peter
b4a852e74b * merged 1999-07-05 20:22:08 +00:00
peter
248826aa81 * removed temp defines 1999-07-05 20:13:06 +00:00
peter
83d04caf8b * merged 1999-07-05 16:24:17 +00:00
peter
0d38c66ff0 * fixed linking for units without linking necessary 1999-07-05 16:21:26 +00:00
florian
72e21acee1 * property reading from PPU fixed (new PPU format), it uses now writesym... 1999-07-05 12:13:22 +00:00
Jonas Maebe
af1334174b * merged 1999-07-05 11:56:55 +00:00
Jonas Maebe
aede14847e * merged 1999-07-04 21:59:30 +00:00
florian
f011b3bdca + qword/int64 -> floating point type cast 1999-07-04 16:37:08 +00:00
florian
3eae7ee6fb + start of val(int64/qword)
* longbool, wordbool constants weren't written, fixed
1999-07-03 14:14:27 +00:00
peter
58cbc3e795 * new link writing to the ppu, one .ppu is needed for all link types,
static (.o) is now always created also when smartlinking is used
1999-07-03 00:29:45 +00:00
peter
1e75d2d672 * better smartlinking support 1999-07-03 00:27:02 +00:00
peter
176f1d4cd8 * ag386bin doesn't destroy the aasmoutput lists anymore 1999-07-03 00:26:01 +00:00
peter
f959158854 * merged 1999-07-02 13:02:24 +00:00
Jonas Maebe
9c262d21fc * released setconstnot (changed to {$ifndef nosetconstnot})
* released shlmul (changed to {$ifndef no shlmul})
1999-07-02 12:18:46 +00:00
peter
1b39843793 * 0.99.13 instead of 0.99.13a 1999-07-01 21:35:02 +00:00
peter
e303022851 * merged 1999-07-01 21:33:57 +00:00
Jonas Maebe
8c52e10620 * removed unused AsmL parameter from FindLoHiLabels 1999-07-01 18:21:21 +00:00
Jonas Maebe
ab9734f7d5 * enabled "mov reg1,reg2;mov (reg2,..), reg2" also if the second mov is
a movzx or movsx
1999-07-01 18:12:16 +00:00
florian
c615fcdbbb * int64/qword type release
+ lo/hi for int64/qword
1999-07-01 15:49:09 +00:00