Commit Graph

2175 Commits

Author SHA1 Message Date
svenbarth
a29a6abc55 + add support for Delphi's dynamic array constant syntax ("[...]") in Delphi modes
git-svn-id: trunk@39042 -
2018-05-20 11:50:19 +00:00
svenbarth
08dd4e5445 + add support for dynamic array constants
+ added test

git-svn-id: trunk@39041 -
2018-05-20 11:50:16 +00:00
pierre
8a60f39a14 Disable checking of default code page for cross-compilation configurations
git-svn-id: trunk@38978 -
2018-05-11 16:11:27 +00:00
pierre
f28ab34f06 unicodeducet must appear before fpwidestring to set current_collation at startup
git-svn-id: trunk@38962 -
2018-05-09 23:11:48 +00:00
svenbarth
11f673a991 * also allow a ";"-separated list of namespaces for -FN
+ added test

git-svn-id: trunk@38939 -
2018-05-06 21:16:51 +00:00
svenbarth
79aab18b13 + add tests for default namespaces
git-svn-id: trunk@38921 -
2018-05-05 17:21:31 +00:00
nickysn
8a32d7c663 + also support constants like 'dd [5]' in the intel syntax inline asm (for BP7
compatibility)

git-svn-id: trunk@38855 -
2018-04-27 11:21:51 +00:00
nickysn
16e0172021 + partial support for BP7 reference-like inline asm constants
git-svn-id: trunk@38850 -
2018-04-26 14:31:13 +00:00
pierre
dbc0dd81fd Modify the test to reflect the fact the compiler prefers conversion of ansiString to RawByteString over to UTF8String
git-svn-id: trunk@38781 -
2018-04-18 10:21:26 +00:00
pierre
49caa8fcef Disable UNC tests for go32v2 without LFNSupport (like dosbox on Linux)
git-svn-id: trunk@38779 -
2018-04-16 13:16:05 +00:00
michael
e495d73239 * Fix tests conforming to new behaviour wrt empty string
git-svn-id: trunk@38778 -
2018-04-16 09:45:50 +00:00
pierre
5d2a627572 Skip test/packages/webtbs/tw11570.pp for msdos and go32v2 targets
git-svn-id: trunk@38776 -
2018-04-15 21:27:02 +00:00
pierre
9faf12b42d Skip all fcl-sb tests for msdos and go32v2 targets
git-svn-id: trunk@38775 -
2018-04-15 21:24:12 +00:00
pierre
bb2433c591 skipped targets must be separated by ,
git-svn-id: trunk@38774 -
2018-04-15 21:23:29 +00:00
pierre
1e1603425d Remove explicit far modifier to fix msdos compilation
git-svn-id: trunk@38765 -
2018-04-13 22:19:34 +00:00
pierre
ab7fb33d67 Restore removed ifdef UNIX around iosxwstr/cwstring unit loading
git-svn-id: trunk@38763 -
2018-04-13 06:22:21 +00:00
pierre
30fb24f06a Fix more compilation errors
git-svn-id: trunk@38761 -
2018-04-12 21:54:53 +00:00
pierre
1405110f33 Add cthreads unit for unix targets
git-svn-id: trunk@38760 -
2018-04-12 21:42:02 +00:00
pierre
5ae4724a5b Use USE_INTERNAL_UNICODE to be able to test fpwidestrings on different targets
git-svn-id: trunk@38758 -
2018-04-12 20:51:13 +00:00
nickysn
bbc364b245 * inline asm fix for accessing record variables when using the unitname (e.g.
'mov ax, unitname.varname.fieldname')

git-svn-id: trunk@38755 -
2018-04-12 16:35:21 +00:00
pierre
823bb7bd07 Add units required for wide strings support for go32v2 target
git-svn-id: trunk@38743 -
2018-04-12 14:37:16 +00:00
pierre
f9069b1ec6 Add units required for wide strings support for go32v2 target
git-svn-id: trunk@38739 -
2018-04-12 12:07:28 +00:00
pierre
e742588f8a Add fpwidestring and unicodeducet in uses clause for go32v2 target
git-svn-id: trunk@38738 -
2018-04-12 10:18:55 +00:00
pierre
1b91d17684 Skip this test for msdos and go32v2
git-svn-id: trunk@38737 -
2018-04-12 10:18:24 +00:00
pierre
d9c8d478b2 Restrict test to i8086 cpu
git-svn-id: trunk@38693 -
2018-04-06 07:40:21 +00:00
nickysn
e1d0e7572e * i8086 TP7 compatibility fixes, related to obtaining procedure addresses:
o The @ and Addr() operators in TP or Delphi mode can now be applied to both
    near and far procedures and they always produce a CodePointer, regardless of
    the call model of the procedure.
  o Ofs() and Seg() can now also be applied to both near and far procedures.
  o The @ and Addr() operators in non-TP/Delphi modes, as well as the procedure
    name itself in TP/Delphi modes now can be applied to both near and far
    procedures and produce a near or a far procvar.

git-svn-id: trunk@38691 -
2018-04-05 15:09:12 +00:00
florian
6c9d7e5c07 - remove ret check to make it more stable
git-svn-id: trunk@38580 -
2018-03-20 21:58:56 +00:00
florian
b55f9fda01 * fix size
git-svn-id: trunk@38556 -
2018-03-17 21:55:48 +00:00
florian
aa4af19027 * set localalignmin to 4 on x86_64-win64, there is no reason to leave it at 8 (same as linux)
* adapt tasm23b

git-svn-id: trunk@38554 -
2018-03-17 21:30:49 +00:00
pierre
4cf1ac209a Add %skiptarget=$nothread to tests using threads
git-svn-id: trunk@38528 -
2018-03-15 09:05:26 +00:00
pierre
cc22913a4c Modify DoMem parameter type to SizeUInt and adapt tests using this function, to avoid run time errors with range check
git-svn-id: trunk@38521 -
2018-03-13 21:59:58 +00:00
nickysn
602dd31a45 + added a warning for using cs/ds/es/ss segment overrides in inline assembly on
the x86_64 target

git-svn-id: trunk@38517 -
2018-03-13 14:41:21 +00:00
nickysn
8ecc41186d + added an x86_64 version of the tasm23.pp test
git-svn-id: trunk@38505 -
2018-03-12 16:07:39 +00:00
nickysn
79477f04b0 + added test tasm23a.pp - an i386 version of tasm23.pp
git-svn-id: trunk@38504 -
2018-03-12 15:14:03 +00:00
pierre
640f7fbf94 Add test for small records for 1 to 8 bytes in size passing to procedures
git-svn-id: trunk@38503 -
2018-03-11 22:06:29 +00:00
nickysn
5a47ccc585 * updated test tasm23.pp, so that it checks the generated code
git-svn-id: trunk@38476 -
2018-03-09 15:45:41 +00:00
nickysn
9b093ac375 + extended test tasm23 with 'mov ax, word cs:5[localvar]'
git-svn-id: trunk@38474 -
2018-03-09 14:22:23 +00:00
nickysn
68be282507 + support adding an OPR_REFERENCE to a OPR_LOCAL in the x86 intel syntax asm
reader; this fixes stuff like 'mov ax,cs:localvar[5]'

git-svn-id: trunk@38457 -
2018-03-08 14:32:31 +00:00
nickysn
6e79c8ba86 + support adding an OPR_LOCAL to a OPR_REFERENCE in
tx86intreader.AddReferences(); this allows things like mov ax,[cs:[local]] to
  work

git-svn-id: trunk@38444 -
2018-03-07 17:31:25 +00:00
pierre
593794c0fd Add $PIC OFF directive for FPC compilation and change Data field type to int64 to avoid size errors
git-svn-id: trunk@38432 -
2018-03-06 11:08:03 +00:00
pierre
7e98f58c8a Add $PIC OFF directive for FPC compilation
git-svn-id: trunk@38431 -
2018-03-06 11:07:13 +00:00
florian
09e205b7b0 * test is i386 only
git-svn-id: trunk@38396 -
2018-03-02 21:57:44 +00:00
nickysn
6f8abde786 + support [const+[ref]] in the x86 intel syntax asm reader
git-svn-id: trunk@38383 -
2018-02-28 16:24:45 +00:00
nickysn
8ffde52974 + also support [expr1]+[expr2] for adding references in the x86 intel syntax asm reader
git-svn-id: trunk@38381 -
2018-02-28 15:48:48 +00:00
svenbarth
332b078c22 * small extension of the test for completeness sake
git-svn-id: trunk@38369 -
2018-02-27 21:45:50 +00:00
florian
8c5606b41d + support mmx shifting
git-svn-id: trunk@38367 -
2018-02-27 21:40:12 +00:00
nickysn
9c814e42c9 + support segment overrides inside references (e.g. [es:bx]) in the x86 intel
syntax inline asm reader

git-svn-id: trunk@38365 -
2018-02-27 17:29:46 +00:00
nickysn
c4f66a2492 * fixed comment in test
git-svn-id: trunk@38356 -
2018-02-26 17:38:42 +00:00
nickysn
45fdd7655d + support concatenation of references in x86 intel syntax inline asm:
[expr1][expr2] = [expr1+expr2]
  [expr1[expr2]] = [expr1+expr2]
  This is compatible with TP7's inline asm, and perhaps also with tasm/masm/delphi.

git-svn-id: trunk@38352 -
2018-02-26 17:17:47 +00:00
nickysn
506d5fe30e + support bracketless references in the x86 intel syntax; ugly, but TP7 (and
perhaps also Delphi, TASM and MASM)-compatible

git-svn-id: trunk@38296 -
2018-02-20 17:18:09 +00:00