Commit Graph

40195 Commits

Author SHA1 Message Date
pierre
cc8708c3c9 Improve test to allow easier understanding of errors
git-svn-id: trunk@24516 -
2013-05-16 22:05:10 +00:00
yury
4a696dbf00 * pas2jni: fixed error during records processing.
git-svn-id: trunk@24514 -
2013-05-15 15:58:27 +00:00
yury
8bc8363c77 * pas2jni: added fcl-json dependency.
git-svn-id: trunk@24513 -
2013-05-15 15:45:09 +00:00
yury
94197aade9 * pas2jni: fixed processing of int64 and boolean constants. Also fixes to correctly process whole System unit.
git-svn-id: trunk@24512 -
2013-05-15 15:34:10 +00:00
yury
10c1b11d15 * ppudump: Output "RetType" attribute for procedures and destructors.
git-svn-id: trunk@24511 -
2013-05-15 14:18:38 +00:00
yury
45895f26e0 * pas2jni: use stable JSON output from ppudump.
git-svn-id: trunk@24510 -
2013-05-15 14:17:34 +00:00
reiniero
6211de8b87 * fcl-db/dbase: add support and test for IndexStream so dbf,memo, and index can work without file backing if streams are used
git-svn-id: trunk@24509 -
2013-05-15 12:42:11 +00:00
sergei
300289dd89 * MIPS: reworked 64-bit code generation, implemented overflow checking and optimized operations with constants.
git-svn-id: trunk@24508 -
2013-05-15 10:02:08 +00:00
sergei
bfd7401541 * MIPS: overflow checking added in r24445 works only when source and destination of operation are different registers. Fixed cases of operations on same register.
git-svn-id: trunk@24507 -
2013-05-15 09:55:47 +00:00
yury
2ec85e9705 * ppudump: Output "Size" attribute for objects and records.
git-svn-id: trunk@24506 -
2013-05-15 09:13:12 +00:00
nickysn
512ca83f33 - don't allocate/deallocate the fpu registers in tcg.[de]allocallcpuregisters on the i8086
git-svn-id: trunk@24505 -
2013-05-15 08:24:07 +00:00
yury
ec6ff22588 * ppudump: Output "MethodPtr" attribute for procedural types.
git-svn-id: trunk@24504 -
2013-05-15 08:15:23 +00:00
nickysn
9f0c23bd4c * fixed round() on i8086 after r24502
git-svn-id: trunk@24503 -
2013-05-15 00:45:08 +00:00
nickysn
3665ed4b03 + enabled returning int64 in ax:bx:cx:dx for the i8086
git-svn-id: trunk@24502 -
2013-05-14 22:45:57 +00:00
nickysn
d433408a7d -rm BX from i8086's saved_stadard_registers array, as it interferes with returning int64 in ax:bx:cx:dx and it shouldn't be saved anyway
git-svn-id: trunk@24501 -
2013-05-14 22:32:02 +00:00
nickysn
8fea00d8f5 - rm NR_PIC_OFFSET_REG from i8086/cpubase.inc, because it isn't used (and shouldn't be used) on the i8086
git-svn-id: trunk@24500 -
2013-05-14 22:22:24 +00:00
nickysn
2557382815 - rm tcg8086.g_maybe_got_init as it's of no use for the i8086
git-svn-id: trunk@24499 -
2013-05-14 22:20:04 +00:00
nickysn
6b2f59c3e0 + preparations for returning int64 in ax:bx:cx:dx on i8086
git-svn-id: trunk@24498 -
2013-05-14 22:19:17 +00:00
nickysn
0b09c50138 * updated ppudump because of the ppu changes in r24491
git-svn-id: trunk@24497 -
2013-05-14 19:22:54 +00:00
nickysn
80e76534a5 * incremented CurrentPPUVersion after r24491, because it changes the ppu structure on at least one platform (ppcjvm)
git-svn-id: trunk@24496 -
2013-05-14 14:42:01 +00:00
Jonas Maebe
11d5d4f79d * check range of enums and booleans in typed constant expressions when
using the asmlist generator (mantis #24428)

git-svn-id: trunk@24495 -
2013-05-14 12:05:00 +00:00
yury
f174c4df83 * pas2jni: Removed debug stuff.
git-svn-id: trunk@24494 -
2013-05-14 11:47:23 +00:00
nickysn
e2cd2813ce + stop with an internal error if GetNextReg is called with a non-imaginary register
git-svn-id: trunk@24493 -
2013-05-13 22:34:13 +00:00
joost
2555885541 * Added fpmake.pp files for pas2fpm, pas2jni and pas2ut
git-svn-id: trunk@24492 -
2013-05-13 19:56:36 +00:00
nickysn
ae74cd17d2 * tarraydef.ppuload/ppuwrite: use ppufile.getasizeint/putasizeint for reading/writing lowrange and highrange as they're asizeint type, not aint
git-svn-id: trunk@24491 -
2013-05-13 12:37:11 +00:00
reiniero
ec720322bc * fcl-db/fpdbfexport: fix automatic export field name truncation for DBase files
git-svn-id: trunk@24490 -
2013-05-13 09:51:11 +00:00
paul
a65cb866d1 rtl: add unicodenumtable to install units
git-svn-id: trunk@24489 -
2013-05-13 02:19:46 +00:00
joost
555ea23209 * Added fpmake.pp for unicode utils
git-svn-id: trunk@24488 -
2013-05-12 20:13:35 +00:00
joost
534e8e2a0c * Scripts to generate Makefiles which call fpmake
git-svn-id: trunk@24487 -
2013-05-12 19:30:19 +00:00
michael
27fc72b4b3 * Fixed bug #24419
git-svn-id: trunk@24486 -
2013-05-12 13:46:39 +00:00
nickysn
3109d0a58c + enabled compilation of the dos unit for msdos-i8086
git-svn-id: trunk@24485 -
2013-05-11 22:11:55 +00:00
nickysn
0d58fd6cd0 * fixed tppufile.getaint for 8/16-bit CPUs
git-svn-id: trunk@24484 -
2013-05-11 22:04:56 +00:00
joost
478243254e * Removed double addition of ptop
* Added fpcreslipo compilation to fpmake

git-svn-id: trunk@24483 -
2013-05-11 12:07:12 +00:00
joost
2b413c3075 * Fixed path-issues in fpmake.pp file
git-svn-id: trunk@24482 -
2013-05-11 09:33:45 +00:00
joost
436d0bbdae * Added some bin2obj rules to the fpmake.pp file
git-svn-id: trunk@24481 -
2013-05-11 09:03:24 +00:00
paul
8b98a38b56 rtl: add a helper method to get TProcedureSignature parameter by index
git-svn-id: trunk@24480 -
2013-05-10 12:41:37 +00:00
joost
756ca5f318 * On a zipdistinstall, call fpmake zipinstall with examples enabled
* Pass the zipprefix as used in the install/makepack script to fpmake
   Both changes are only done in packages/Makefile.fpc for now. The
   changes are not applied to all packages individually because in
   practice those aren''t used for doing a zipinstall anymore. These
   changes can be done later if the packages/*/Makefile.fpc's are
   re-generated.

git-svn-id: trunk@24479 -
2013-05-09 21:10:40 +00:00
joost
9e37374186 * Added ability to supply prefix for the archive-name (zipprefix)
git-svn-id: trunk@24478 -
2013-05-09 20:57:55 +00:00
nickysn
92afd7cccd + R_SUBH support added in x86/aasmcpu.spilling_create_load and spilling_create_store
git-svn-id: trunk@24477 -
2013-05-09 14:10:45 +00:00
nickysn
2a9d38d878 + proper spilling support for R_SUBH (i.e. AH,BH,CH,DH) x86 registers in trgx86.do_spill_replace
git-svn-id: trunk@24476 -
2013-05-09 11:57:00 +00:00
Jonas Maebe
1358618c36 * only display and allow ABIs that are actually supported by the current
compiler binary

git-svn-id: trunk@24475 -
2013-05-08 14:30:38 +00:00
nickysn
c4dd85a0eb + implemented tcg8086.a_op_reg_ref
git-svn-id: trunk@24474 -
2013-05-08 11:49:39 +00:00
nickysn
85b98671bd + implemented tcg8086.a_op_const_ref for op_add/and/or/sub/xor/move/none; this fixes inc(longint) among other things
git-svn-id: trunk@24473 -
2013-05-08 08:23:46 +00:00
paul
72fd58d62e rtl: fix possible division by zero
git-svn-id: trunk@24472 -
2013-05-08 06:00:44 +00:00
paul
980bc634b4 compiler:
- add write_rtti_reference method, 
  - minor refactoring, 
  - always write nil as RTTI reference for objc types and void types

git-svn-id: trunk@24471 -
2013-05-08 05:47:48 +00:00
paul
fceb6c3cc5 compiler: skip objc types in ProcVar rtti arguments and result type
git-svn-id: trunk@24470 -
2013-05-08 03:40:01 +00:00
paul
cd8690c197 rtl: typo
git-svn-id: trunk@24469 -
2013-05-08 03:10:03 +00:00
paul
bc973e538d compiler: write extended RTTI for tkProcVar (tkProcedure in Delphi)
rtl: add appropriate types for tkProcVar RTTI (based on Delphi help)
+ test

git-svn-id: trunk@24468 -
2013-05-08 02:52:13 +00:00
nickysn
2d67a3169d * i8086 fixes in tcg8086.g_copyvaluepara_openarray
git-svn-id: trunk@24467 -
2013-05-07 22:34:26 +00:00
nickysn
502c2ffb94 * fixed tcg8086.a_load_reg_reg when doing an unsigned extension in the same superregister; this fixes the taddbool test
git-svn-id: trunk@24466 -
2013-05-07 21:20:40 +00:00