Commit Graph

40094 Commits

Author SHA1 Message Date
florian
f3b7f6197b * arm thumb: generate proper code for rol
git-svn-id: trunk@24414 -
2013-05-03 20:53:58 +00:00
florian
cec28ef512 * when inserting pc relative data blocks on arm thumb, avoid negative pc offsets, if needed, the data is copied
a short test with the rtl shows that this happens exactly once in the rtl, so it is feasible to do so

git-svn-id: trunk@24413 -
2013-05-03 20:45:26 +00:00
florian
1f8192b6da * indention fixes
* detabbed

git-svn-id: trunk@24412 -
2013-05-03 20:41:55 +00:00
yury
15b3695a0e * ppudump: Proper tag for a source file in XML.
git-svn-id: trunk@24411 -
2013-05-03 15:13:28 +00:00
yury
eb26ccfbe7 * ppudump: Proper output of Unicode string constants.
git-svn-id: trunk@24410 -
2013-05-03 15:04:50 +00:00
yury
906cd9d365 + ppudump: XML output.
git-svn-id: trunk@24409 -
2013-05-03 14:27:17 +00:00
yury
65d832420e * ppudump:
- Check PPU version to be the same as the current PPU version of the compiler. It prevents reading errors if a unit has wrong PPU version. The version check can be turned off using -S switch.
  - User WriteError() in appropriate places in the code.
  

git-svn-id: trunk@24408 -
2013-05-03 13:03:22 +00:00
yury
ad8f42cd29 * ppudump: JSON output of float, string, file, variant, undefined, formal definitions.
git-svn-id: trunk@24407 -
2013-05-03 12:28:19 +00:00
yury
44a0b61224 * ppudump: Write errors to StdErr and write warnings to StdErr when output to JSON.
git-svn-id: trunk@24406 -
2013-05-03 11:12:15 +00:00
yury
3a8ed11e23 * ppudump: JSON output of pointers and ordinal definitions.
git-svn-id: trunk@24405 -
2013-05-03 11:04:18 +00:00
nickysn
4527fe8fa2 + added 8086 workaround for the 'imul reg,const' 186+ instruction. The compiler can now generate strict 8086/8088 code.
git-svn-id: trunk@24404 -
2013-05-01 19:18:12 +00:00
svenbarth
3ad0de732e Added a test for a bug that was fixed in Delphi in (maybe XE4) to make sure that a similar bug will not be introduced in FPC.
Source: http://www.deltics.co.nz/blog/?p=1397

git-svn-id: trunk@24403 -
2013-05-01 19:13:18 +00:00
nickysn
fe275c4f47 * set nasm cpu type according to the current cpu level set by -Cp
git-svn-id: trunk@24402 -
2013-05-01 15:47:23 +00:00
nickysn
4c95592e08 * don't use 'fnstsw ax' if the current cpu level is below 286
git-svn-id: trunk@24401 -
2013-05-01 15:42:02 +00:00
florian
19c8abac0b + enable jump optimizer for i8086
git-svn-id: trunk@24400 -
2013-05-01 13:54:13 +00:00
lacak
992ae091b5 fcl-db: sqlite: map MONEY to ftCurrency (extend compatibilty with f.e. PostgreSQL or MS SQL)
git-svn-id: trunk@24399 -
2013-05-01 08:58:35 +00:00
sergei
8c91cddfc8 * Win64 SEH: Fixed handling control flow statements also in 'except' and 'on' parts of try..except statements.
git-svn-id: trunk@24398 -
2013-05-01 01:47:01 +00:00
marco
bbc7d0c96b * vista+ gettickcount64
git-svn-id: trunk@24397 -
2013-04-30 19:12:20 +00:00
florian
5e0585c0d0 + introduce tf_no_objectfiles_when_smartlinking so object file generation on i8086-msdos can be turned off
* object file generation on i8086-msdos can be turned off if smartlinking is enabled

git-svn-id: trunk@24396 -
2013-04-30 19:11:55 +00:00
reiniero
c577f630d9 fcl-db/dbase:
+ support for stream-backed memo file which satisfies TTestSpecificTDBF.TestMemoClose test
* fix default record size 64 for (V)FP memo files

git-svn-id: trunk@24395 -
2013-04-30 16:26:25 +00:00
yury
679a8d9dd6 * ppudump: JSON output of sets and set constants.
git-svn-id: trunk@24394 -
2013-04-30 15:09:05 +00:00
yury
026200d75a * ppudump: JSON output of enums.
git-svn-id: trunk@24393 -
2013-04-30 14:09:37 +00:00
reiniero
d8f2f9ccaa fcl-db/dbase: cosmetic
git-svn-id: trunk@24392 -
2013-04-30 13:20:04 +00:00
lacak
91509eb30f fcl-db: odbc: fix NULL numeric parameter handling for MS SQL Server
git-svn-id: trunk@24391 -
2013-04-30 13:19:41 +00:00
reiniero
823ed70c46 * fcl/dbase: cosmetic: Dataset.txt language/layout fixes
git-svn-id: trunk@24390 -
2013-04-30 12:47:10 +00:00
lacak
2d352b0204 fcl-db: odbc: increase max. allowed string field length. Fix for existing tests TTestFieldTypes.TestStringLargerThen8192 and TestInsertLargeStrFields. (similar like rev.23141, 23198)
git-svn-id: trunk@24389 -
2013-04-30 10:45:12 +00:00
lacak
9168f1cbd3 fcl-db: formatting (unification char-case)
git-svn-id: trunk@24388 -
2013-04-30 09:59:31 +00:00
lacak
e280a8d97e fcl-db: base: TBinaryField.AsVariant should return variant Null when Field.IsNull
git-svn-id: trunk@24387 -
2013-04-30 08:59:55 +00:00
reiniero
3d74c089d2 * fcl-db/dbase: test data remains in memo memory storage after closing and opening
git-svn-id: trunk@24386 -
2013-04-30 06:56:43 +00:00
sergei
c7937f6736 * Win64 exception handling: don't reset fc_unwind control flow flag at the beginning of try..except blocks. Resolves #24342.
git-svn-id: trunk@24385 -
2013-04-30 03:56:58 +00:00
nickysn
8fddb1361b * got rid of push const also in tcg8086.a_loadaddr_ref_cgpara
git-svn-id: trunk@24384 -
2013-04-29 23:13:09 +00:00
nickysn
cfc3c6ec5d - cleanup tcg8086.a_loadaddr_ref_cgpara from unused code left over from i386
git-svn-id: trunk@24383 -
2013-04-29 23:08:12 +00:00
nickysn
e4f3dd1264 * do not emit shl/shr with a const different than 1 on 8086
git-svn-id: trunk@24382 -
2013-04-29 23:02:09 +00:00
nickysn
76e3dd5cef * do not generate push const on the i8086, go through a register instead, unless it's 186+
git-svn-id: trunk@24381 -
2013-04-29 22:29:26 +00:00
nickysn
06f1b6a4e8 * moved the i8086 'push const' instructions to a new method, so they can be abstracted on pre-186 processors
git-svn-id: trunk@24380 -
2013-04-29 21:53:55 +00:00
florian
0e9b8adb7a patch by Michael Ring:
+ support of several armv6m MCUs for arm-embedded
* renamed lpc1343 unit to lpc13xx
+ more lpc13xx MCUs added

git-svn-id: trunk@24379 -
2013-04-29 19:57:08 +00:00
nickysn
7c0679efdb * use the 'leave' instruction on 80186+
git-svn-id: trunk@24378 -
2013-04-29 19:45:39 +00:00
florian
d4c7afbfe8 + generate thumb_func directives for thumb as well
git-svn-id: trunk@24377 -
2013-04-29 18:23:01 +00:00
pierre
846f566085 Regenerate all Makefiles with an up-to-date fpcmake binary
git-svn-id: trunk@24376 -
2013-04-29 12:49:50 +00:00
pierre
a86ae3efee Regenerate all Makefiles with an up-to-date fpcmake binary
git-svn-id: trunk@24375 -
2013-04-29 12:49:25 +00:00
pierre
58497ff016 Regenerate all Makefiles with an up-to-date fpcmake binary
git-svn-id: trunk@24374 -
2013-04-29 12:48:51 +00:00
pierre
6d3121078d Regenerate all Makefiles with an up-to-date fpcmake binary
git-svn-id: trunk@24373 -
2013-04-29 12:48:11 +00:00
pierre
4226f08565 Regenerate with up-to-date fpcmake binary
git-svn-id: trunk@24372 -
2013-04-29 12:45:11 +00:00
pierre
d1d0ed3c16 Regenerate all Makefiles with an up-to-date fpcmake binary
git-svn-id: trunk@24371 -
2013-04-29 12:40:50 +00:00
pierre
114d8e4507 Regenerate all Makefiles with an up-to-date fpcmake binary
git-svn-id: trunk@24370 -
2013-04-29 12:39:52 +00:00
pierre
c460adf8e8 Regenerate all Makefiles with an up-to-date fpcmake binary
git-svn-id: trunk@24369 -
2013-04-29 12:38:48 +00:00
pierre
5fe15ff08d Regenerate all Makefiles with an up-to-date fpcmake binary
git-svn-id: trunk@24368 -
2013-04-29 12:37:46 +00:00
pierre
78a7043352 Regenerate all Makefiles with an up-to-date fpcmake binary (dummy commit)
git-svn-id: trunk@24367 -
2013-04-29 12:30:54 +00:00
pierre
5c9de9a68b Regenerate all Makefiles with an up-to-date fpcmake binary
git-svn-id: trunk@24366 -
2013-04-29 12:29:03 +00:00
pierre
884918a4c4 Regenerate all Makefiles with an up-to-date fpcmake binary
git-svn-id: trunk@24365 -
2013-04-29 12:27:42 +00:00