Commit Graph

6053 Commits

Author SHA1 Message Date
Jonas Maebe
8f33050b86 * darwin only supports .align, no .balign 2004-01-04 21:08:59 +00:00
Jonas Maebe
7f911c2f4a * Never generate a "main" symbol for PASCALMAIN for Darwin and classic
Mac OS, they use a C-main in their system unit
2004-01-04 21:08:09 +00:00
Jonas Maebe
2d40a5008b + support exported procedures for linuxppc
* refuse to compile systems/t_linux.pas if processor-specific  support
    for exported procedures is absent
  + generate .type and .size info for all currently defined linux-variants
    in aggas.pas
2004-01-03 13:51:05 +00:00
michael
d2594024c0 + Changed version to 1.9.2 2004-01-03 12:31:44 +00:00
marco
c032cd36e8 * errorhandling fixed 2004-01-03 09:20:45 +00:00
marco
64e776098a * unix does ansistring exec 2004-01-03 09:12:23 +00:00
Jonas Maebe
2af569745c * if currency = int64, FPC_CURRENCY_IS_INT64 is defined
+ round and trunc for currency and comp if FPC_CURRENCY_IS_INT64 is
    defined
  * if currency = orddef, prefer currency -> int64/qword conversion over
    currency -> float conversions
  * optimized currency/currency if currency = orddef
  * TODO: write FPC_DIV_CURRENCY and FPC_MUL_CURRENCY routines to prevent
      precision loss if currency=int64 and bestreal = double
2004-01-02 17:19:04 +00:00
Jonas Maebe
c094978054 + SetFPUExceptionMask implementation for PPC 2004-01-02 16:50:24 +00:00
Jonas Maebe
c2efd86268 + integer division-by-zero detection support for ppc
+ compilerproc FPC_DIVBYZERO
2004-01-01 17:58:16 +00:00
florian
03efd6e74b * fixed wrong temp. usage in generic exception handling 2004-01-01 17:23:16 +00:00
Jonas Maebe
e90bd0332a * default linker name for non-i386 and non-m68k 2004-01-01 15:34:50 +00:00
Jonas Maebe
be0397b1d1 * fixed currency bugs. Int64 currency handling still needs to be
rewritten so that it doesn't include conversions to real anymore
    though
2003-12-31 22:30:39 +00:00
Jonas Maebe
a75ef67bfd * properly fixed assigned() mess (by handling it separately in ncginl)
-> all assigned()-related tests in the test suite work again
2003-12-31 20:47:02 +00:00
Jonas Maebe
8be1033511 * (64 bit int) shl/shr (value > 63) := 0 2003-12-31 18:12:23 +00:00
Jonas Maebe
4aba5c80f1 * fixed C record max alignment 2003-12-31 17:28:19 +00:00
Jonas Maebe
3ff00d31b3 * fixed previous commit for tp and delphi modes 2003-12-30 16:30:50 +00:00
Jonas Maebe
f587f35457 * fixed methodpointer comparing in a generic way (typecast both left and
right explicitly to voidpointer), instead of relying on strange
    behvaiour or n386addnode.pass_2 (if size of def = 8, only use the first
    4 bytes instead of internalerror-ing or so)
2003-12-29 22:33:08 +00:00
florian
a3cd612259 * fixed error message, if a resource file can't be written 2003-12-29 19:31:20 +00:00
Jonas Maebe
b46b7ff792 * integrated hack from 1.0.x so we can parse low(int64) as int64 instead
of as double (in 1.0.x, it was necessary for low(longint))
2003-12-29 17:19:35 +00:00
Jonas Maebe
92f038ebec * fixed saving/restoring of volatile fpu registers under sysv
+ better provisions for abi differences regarding fpu registers that have
    to be saved
2003-12-29 14:17:50 +00:00
Jonas Maebe
980efd582d + support for currency typed constants if currency=int64. Warning: does
not work properly for extreme values if bestreal <= double
2003-12-29 12:48:39 +00:00
Jonas Maebe
7de6463c43 * hopefully fixed bug tb0454 (merged from nppcadd) 2003-12-29 11:37:52 +00:00
Jonas Maebe
da6a3d28c8 * hopefully fixed tb0454 2003-12-29 11:35:19 +00:00
Jonas Maebe
83323b4955 * fixed tb0350 (support loading address of reference containing the
address 0)
2003-12-29 11:13:53 +00:00
Jonas Maebe
8953ed5494 * fixed tnotnode for < 32 bit quantities 2003-12-28 23:49:30 +00:00
florian
2028eb6b96 + except handling related nodes now include pi_do_call if necessary 2003-12-28 22:51:18 +00:00
florian
d38abc3a3f + setting of bit 6 of cr for c var args on ppc implemented 2003-12-28 22:09:12 +00:00
Jonas Maebe
85e84512fb * fixed procedures declared as "interrupt" for non-x86 2003-12-28 21:57:43 +00:00
florian
218beb5b32 * handling of open array value parameters fixed 2003-12-28 19:22:27 +00:00
Jonas Maebe
da74a9fea6 - removed unused methods from old generic spilling code 2003-12-28 16:20:09 +00:00
Jonas Maebe
6bab64590e * hopefully fixed varargs (both Pascal- and C-style) 2003-12-28 15:33:06 +00:00
Jonas Maebe
ffa51d27c3 * hopefully fixed interfaces (untested) 2003-12-28 15:14:14 +00:00
peter
ae6be6bc0e * support type convs for write typed 2003-12-27 22:27:55 +00:00
peter
3677577d9f * check with fileexists() before opening a file 2003-12-27 22:27:24 +00:00
florian
c72e3a8eea * updated instruction includes from new instruction table 2003-12-26 20:24:03 +00:00
peter
1c7e6fc380 * sparc updates
* use registertype in spill_register
2003-12-26 14:02:30 +00:00
florian
466744d413 * rtl and compiler compile with -Cfsse2 2003-12-26 13:47:41 +00:00
florian
ace2d682b0 * rtl and compiler compile with -Cfsse2 2003-12-26 13:19:16 +00:00
florian
3d8e1ab1fb + fpu<->mm register conversion 2003-12-26 00:32:21 +00:00
florian
dd2bb53aa5 + possible sse2 unit usage for double calculations
* some sse2 assembler issues fixed
2003-12-25 12:01:35 +00:00
peter
e380119e8c * sparc assembler reader updates 2003-12-25 01:25:43 +00:00
florian
06442fa677 + $fputype directive support
+ single data type operations with sse unit
  * fixed more x86-64 stuff
2003-12-25 01:07:09 +00:00
peter
6b3c925f64 * don't lowercase enumnames 2003-12-24 20:51:11 +00:00
florian
6d3d97e845 * first fixes to compile the x86-64 system unit 2003-12-24 01:47:22 +00:00
florian
f84979f02d * x86-64 compilation fixed 2003-12-24 00:33:10 +00:00
florian
7887af7c75 * rg unified for i386/x86-64 2003-12-24 00:12:57 +00:00
florian
9c476ba5f1 - delete parameter in cg64 methods removed 2003-12-24 00:10:02 +00:00
peter
12aade4e16 * register calling is now default for i386 2003-12-23 23:22:35 +00:00
peter
3afcfd7f86 * extnumber failure is $ffff instead of -1
* fix non-vmt call for register calling on i386
2003-12-23 23:12:44 +00:00
peter
29cae38f12 * overlfow support in second_mul 2003-12-23 22:13:41 +00:00