florian
e60a367f1b
+ project file for PowerPC64LE
...
git-svn-id: trunk@47694 -
2020-12-06 10:23:17 +00:00
svenbarth
deaff6f7fe
* fix for Mantis #38151 : when a Variant is passed by reference to a IDispatch property then invoke it using DISPATCH_PROPERTYPUTREF instead of DISPATCH_PROPERTYPUT
...
+ added test
git-svn-id: trunk@47687 -
2020-12-04 22:07:39 +00:00
svenbarth
69e6f3dcbb
* if a call inside a generic's code that involves generic type arguments can't be clearly determined then postpone it till specialization in the hope that the type will be clear then
...
+ added test
git-svn-id: trunk@47686 -
2020-12-04 22:07:34 +00:00
nickysn
aeafe42144
* synchronized with trunk
...
git-svn-id: branches/wasm@47653 -
2020-12-01 03:27:01 +00:00
svenbarth
3597696e98
* fix for Mantis #38145 : allow overloading of assignment operators that return ShortStrings with a specific size
...
+ added tests
The following rules for using these operator overloads as *implicit* overloads apply (Delphi compatible):
- if a found assignment operator returns a default ShortString then that is used
- if only one assignment operator to a String[x] is found then that is used
- otherwise the assignment is not possible
The explicit assignment checks for an exact match (and falls back for an implicit assignment). This is not entirely Delphi compatible as Delphi seems to favor the first found symbol in that case, but sometimes also not... :/
git-svn-id: trunk@47634 -
2020-11-29 15:47:52 +00:00
svenbarth
82957ec5a3
* Fix for Mantis #38122 : when a deref node is passed as a Self parameter for a type helper (which is a var parameter) we need to pass the non-derefentiated value so that the data it points to can be modified by the helper's method (this is Delphi compatible)
...
+ added tests
git-svn-id: trunk@47625 -
2020-11-28 18:32:24 +00:00
florian
7b88d1127f
* remove unused file
...
git-svn-id: trunk@47619 -
2020-11-28 13:41:44 +00:00
nickysn
f9daec43ef
* synchronized with trunk
...
git-svn-id: branches/wasm@47588 -
2020-11-25 21:59:19 +00:00
Tomas Hajny
74eb7b5050
+ added coloured compiler output support for OS/2 and DOS targets, platform-specific parts refactored to a standalone unit to remove the heap of ifdefs in unit comphook
...
git-svn-id: trunk@47566 -
2020-11-24 23:09:01 +00:00
florian
9dcf85a8ef
+ Xtensa: FMA support
...
git-svn-id: trunk@47563 -
2020-11-24 20:59:47 +00:00
nickysn
44b7a1df18
+ support reading .wav with an odd (uneven) fmt chunk size
...
git-svn-id: trunk@47545 -
2020-11-24 00:31:16 +00:00
Tomas Hajny
95394d7f98
+ added TZ variable based offset calculation
...
git-svn-id: trunk@47535 -
2020-11-23 01:08:39 +00:00
nickysn
59b465bbe7
* synchronized with trunk
...
git-svn-id: branches/wasm@47525 -
2020-11-22 04:01:56 +00:00
svenbarth
c20cbcc28f
+ add test to check whether ComObj correctly dispatches Ansi-, Unicode- and WideString arguments
...
git-svn-id: trunk@47519 -
2020-11-21 20:17:14 +00:00
nickysn
c895c8fa0a
* synchronized with trunk
...
git-svn-id: branches/wasm@47506 -
2020-11-20 23:21:42 +00:00
nickysn
94f8971e73
+ added tests with 32-bit and 64-bit IEEE floating point .wav files
...
git-svn-id: trunk@47466 -
2020-11-20 03:31:15 +00:00
nickysn
8862709fb1
* synchronized with trunk
...
git-svn-id: branches/wasm@47463 -
2020-11-20 00:00:53 +00:00
nickysn
46b35256bd
+ support reading .wav files that have extra data in the end of the 'fmt '
...
chunk. Added test case, which is a file, generated by the Euphoric emulator.
git-svn-id: trunk@47461 -
2020-11-19 23:05:25 +00:00
Károly Balogh
84e1be805c
qlunits: updated QDOS unit, added a QLfloat unit to convert longints and doubles to 48bit QLfloats, added a rotating cube example
...
git-svn-id: trunk@47456 -
2020-11-19 05:08:12 +00:00
nickysn
a552fc6d94
+ fcl_sound wav reader tests: added stereo .wav file tests
...
git-svn-id: trunk@47454 -
2020-11-19 03:26:37 +00:00
Károly Balogh
9d67adcbb6
* regenerated all Makefiles after Sinclair QL support was added
...
git-svn-id: trunk@47453 -
2020-11-19 02:58:27 +00:00
nickysn
188054d9b4
+ also check the actual PCM wave data in the fcl-sound wavreader test
...
git-svn-id: trunk@47452 -
2020-11-19 02:56:49 +00:00
nickysn
509821260e
* synchronized with trunk
...
git-svn-id: branches/wasm@47448 -
2020-11-19 01:12:38 +00:00
nickysn
bed8b8bfd3
+ created some tests for fcl-sound
...
git-svn-id: trunk@47447 -
2020-11-19 01:10:36 +00:00
florian
103b44cf2b
* made Compiler Options window large enough to show all CPUs
...
+ project file for IDE targetting arm
* write binary to bin/<full target>/fp
git-svn-id: trunk@47446 -
2020-11-18 21:19:14 +00:00
florian
6380df9b42
* correctly simplify tree transforms of (a+c1+c2) if a is a pointer, resolves #37671
...
git-svn-id: trunk@47437 -
2020-11-16 21:47:19 +00:00
florian
878f6d9ce4
* allow generic parameters as iterator variable in for in loops, resolves #38050
...
git-svn-id: trunk@47425 -
2020-11-15 19:10:34 +00:00
svenbarth
3d2ee097b5
* fix for Mantis #38083 : ensure that the sp_generic_dummy flag is set correctly on the new procsym when replacing a dummy sym
...
+ added test
git-svn-id: trunk@47424 -
2020-11-15 16:27:26 +00:00
florian
089e13396a
* ensure that changed compiler options do not cause values
...
ending up in registers which cannot be hold in registers
git-svn-id: trunk@47415 -
2020-11-14 18:40:58 +00:00
florian
bf7961a901
* fixes for nasm writer, resolves #38074
...
+ test
git-svn-id: trunk@47413 -
2020-11-13 21:39:16 +00:00
Károly Balogh
27125b760e
qlunits: package skeleton to support the Sinclair QL
...
git-svn-id: trunk@47385 -
2020-11-11 00:00:39 +00:00
nickysn
93ecf5f155
* synchronized with trunk
...
git-svn-id: branches/wasm@47357 -
2020-11-09 00:06:32 +00:00
Jonas Maebe
091b0fde0c
* fixed type of size parameter passed to fpc_getmem() when translating
...
new(pointer) (mantis #38054 )
git-svn-id: trunk@47355 -
2020-11-08 22:42:38 +00:00
svenbarth
c496b609d1
* fix for Mantis #38051 : make Chr() a real intrinsics so that it can be used in type declarations as well
...
+ added test
git-svn-id: trunk@47353 -
2020-11-08 22:23:02 +00:00
Károly Balogh
c8d18f5ac6
sinclairql: implemented some OS trap wrappers, to be used by the RTL
...
git-svn-id: trunk@47348 -
2020-11-08 20:43:01 +00:00
nickysn
d3d51d2f7e
* synchronized with trunk
...
git-svn-id: branches/wasm@47338 -
2020-11-07 22:40:43 +00:00
Jonas Maebe
49fbe53cf3
+ test for mantis #36381 (seems already fixed)
...
git-svn-id: trunk@47337 -
2020-11-07 16:09:51 +00:00
ondrej
691fb2c9fe
* add unix timezone test
...
git-svn-id: trunk@47322 -
2020-11-05 12:53:51 +00:00
Károly Balogh
18f364a497
+ RTL skeleton for the Sinclair QL
...
git-svn-id: trunk@47310 -
2020-11-04 15:59:50 +00:00
Károly Balogh
519701960c
m68k: initial commit to add the Sinclair QL as a compiler target
...
git-svn-id: trunk@47307 -
2020-11-04 14:20:28 +00:00
florian
0bf1af08c4
+ test for #38022
...
git-svn-id: trunk@47304 -
2020-11-03 21:44:57 +00:00
Jonas Maebe
38a059f039
* give an error when trying to define a macro/compiler variable with
...
an empty name
git-svn-id: trunk@47300 -
2020-11-03 21:34:19 +00:00
ondrej
9b5d2322b6
Fix tepoch1 test
...
git-svn-id: trunk@47297 -
2020-11-03 20:15:04 +00:00
florian
1266afc0d0
* in equal_genfunc_paradefs take care of the fact that typesym might not be assigned for open array parameters, resolves #38012
...
git-svn-id: trunk@47253 -
2020-10-29 21:00:03 +00:00
nickysn
48b81da877
* synchronized with trunk
...
git-svn-id: branches/wasm@47249 -
2020-10-29 10:49:36 +00:00
florian
dfaee4f04b
* patch by Jan Bruns to solve an issue with the new overloading selection code, resolves #37969
...
git-svn-id: trunk@47211 -
2020-10-26 20:58:24 +00:00
yury
438bba76b9
+ Added a test for: When {$mode delphi} and {$modeswitch nestedprocvars} it is allowed to assign a nested routine which does not use parentfp to a regular procvar. And then call this procvar without any side effects.
...
git-svn-id: trunk@47209 -
2020-10-26 17:53:40 +00:00
nickysn
6899e07cd7
* synchronized with trunk
...
git-svn-id: branches/wasm@47156 -
2020-10-23 00:41:20 +00:00
florian
4afa4a73c6
+ ISO mode: accept put/get without parameter, works on Input/Output respectively, resolves #37949
...
git-svn-id: trunk@47147 -
2020-10-20 21:03:51 +00:00
Jonas Maebe
099134b545
* fix try_make_mul32to64() if it's called with a constant node on the
...
left (mantis #37878 )
o can happen if use_generic_mul32to64 returns false
git-svn-id: trunk@47142 -
2020-10-19 19:10:16 +00:00
nickysn
578750a646
* synchronized with trunk
...
git-svn-id: branches/wasm@47135 -
2020-10-19 05:06:33 +00:00
florian
a19ec44b97
* patch by Bart Broersma: avoid unsigned wrap around in TDeque.Erase, resolves #37482
...
git-svn-id: trunk@47122 -
2020-10-17 20:35:20 +00:00
Jonas Maebe
9376f5a43a
* AArch64: added SIMD instructions (only plain ARMv8-A for now)
...
o added AArch64 regset parsing support in assembler reader, means that "{"
no longer starts comments there (like in the ARM assembler reader)
o added AArch64 indexed SIMD register support and removed old cg hacks
that worked around its absence
git-svn-id: trunk@47116 -
2020-10-15 20:29:36 +00:00
florian
15695b317c
* denormalized value floating point exception has to result in an rte 206, resolves part of #37926
...
git-svn-id: trunk@47114 -
2020-10-15 19:52:57 +00:00
nickysn
b4cdebeda3
* synchronized with trunk
...
git-svn-id: branches/wasm@47112 -
2020-10-14 22:30:41 +00:00
svenbarth
eb7158d250
* ensure that internal method names (namely operator overloads and class con-/destructors) result in different mangled names from ordinary methods even if they should be converted to lowercase (which happens for section names)
...
+ added tests
git-svn-id: trunk@47110 -
2020-10-14 09:11:44 +00:00
nickysn
8f059a6b8a
* synchronized with trunk
...
git-svn-id: branches/wasm@47106 -
2020-10-14 02:41:25 +00:00
svenbarth
e90cf131fe
* fix for Mantis #37844 : prefer to use the symtable determined in generate_specialization_phase1 for procdefs as that might a withsymtable that is needed to correctly load Self later on
...
+ added test
git-svn-id: trunk@47101 -
2020-10-12 16:55:14 +00:00
nickysn
b637a9652d
* synchronized with trunk
...
git-svn-id: branches/wasm@47071 -
2020-10-09 21:54:33 +00:00
michael
be371d901c
* test for new split option
...
git-svn-id: trunk@47069 -
2020-10-09 11:33:57 +00:00
nickysn
446d824ad6
* synchronized with trunk
...
git-svn-id: branches/wasm@47067 -
2020-10-08 21:29:04 +00:00
florian
73c041a854
* patch by J. Gareth Moreton: propagate exit use in nested try...except statements,
...
resolves #35841
git-svn-id: trunk@47066 -
2020-10-08 20:38:19 +00:00
michael
29b6e4d6de
* Start of write tests by Joe Care, case writing (bug id 0037834)
...
git-svn-id: trunk@47059 -
2020-10-06 21:08:09 +00:00
nickysn
22f082c18f
* synchronized with trunk
...
git-svn-id: branches/wasm@47026 -
2020-09-30 21:30:37 +00:00
pierre
d72170f9a3
Fix compilation for watcom RTL
...
git-svn-id: trunk@47015 -
2020-09-30 12:20:26 +00:00
nickysn
23c1ed57d2
* synchronized with trunk
...
git-svn-id: branches/wasm@47010 -
2020-09-29 21:12:28 +00:00
florian
e124b07e86
+ evaluate typeinfo(<type1>)=/<>typeinfo(<type2>) at compile time, resolves #30260
...
git-svn-id: trunk@47008 -
2020-09-29 20:14:27 +00:00
svenbarth
a624348692
* when removing a method from the synchronization queue using TThread.RemoveQueuedEvent then both the Code and the Data need to match (Delphi does the same)
...
+ added test
git-svn-id: trunk@47007 -
2020-09-29 17:34:26 +00:00
nickysn
697bd6d586
* synchronized with trunk
...
git-svn-id: branches/wasm@46993 -
2020-09-28 22:19:56 +00:00
florian
1a2b99bc09
* correctly reset fpu on x86_64-linux after a floating point exception, resolves second part of #37468
...
git-svn-id: trunk@46992 -
2020-09-28 20:50:25 +00:00
Jonas Maebe
f3e140fc50
* test for mantis #34543 (already fixed)
...
git-svn-id: trunk@46988 -
2020-09-28 14:01:55 +00:00
nickysn
38c4c93cee
* synchronized with trunk
...
git-svn-id: branches/wasm@46977 -
2020-09-27 22:18:36 +00:00
florian
e1536bdf26
* when implicit try...finallys are turned off, do not throw an error if a procedure
...
is left which would need but does not have an implicit try...finally block, resolves #37823
git-svn-id: trunk@46974 -
2020-09-27 16:53:59 +00:00
florian
a628c1c3dd
* if an array constructor is passed to a formaldef parameter, it is passed as a set (if the conversion is possible), resolves #37796
...
git-svn-id: trunk@46973 -
2020-09-27 16:37:20 +00:00
nickysn
ca239b4e21
* synchronized with trunk
...
git-svn-id: branches/wasm@46956 -
2020-09-25 21:55:20 +00:00
svenbarth
cce2dad1bf
* fix for Mantis #37806 : allow undefineddefs for Include() and Exclude()
...
+ added tests
git-svn-id: trunk@46953 -
2020-09-25 14:13:53 +00:00
Károly Balogh
882ab946ed
z80-zxspectrum: delete and remove the prt0.asm file. it's not used any more, as it doesn't contain the interrupt code required for stable operation of the target, and this removes sdasz80 dependency from the RTL build process, if another assembler is used by the compiler
...
git-svn-id: trunk@46950 -
2020-09-25 04:37:44 +00:00
nickysn
796eb69b1a
* synchronized with trunk
...
git-svn-id: branches/wasm@46948 -
2020-09-24 21:02:37 +00:00
Tomas Hajny
a71f87357d
* simplified version of SeekEof for improved TP/BP/Delphi compatibility by Andrey 'Croco' Stolyarov as fix for #37716 , plus a new test for testing the compatibility
...
git-svn-id: trunk@46946 -
2020-09-24 19:33:28 +00:00
svenbarth
e72f324f42
* according to ISO 10206 (Extended Pascal) 6.9.3.5 the "otherwise"-clause is supported for case-statements
...
+ added test
git-svn-id: trunk@46943 -
2020-09-24 11:41:43 +00:00
nickysn
47eeaa0b83
* synchronized with trunk
...
git-svn-id: branches/wasm@46920 -
2020-09-23 00:53:13 +00:00
svenbarth
ff4e1345ff
* fix for Mantis #37779 : use init RTTI instead of full RTTI when copying an array
...
+ added test
git-svn-id: trunk@46915 -
2020-09-21 20:17:55 +00:00
nickysn
af81128e66
* synchronized with trunk
...
git-svn-id: branches/wasm@46908 -
2020-09-21 00:23:47 +00:00
Jonas Maebe
aa75d39ab5
* don't perform "(x=y) or (z=u)" -> "(x xor y) or (z xor u)" optimization
...
if z or u may raise exceptions (mantis #37780 )
git-svn-id: trunk@46905 -
2020-09-20 12:43:45 +00:00
Jonas Maebe
9f42931eeb
* don't print range check warnings when evaluating inlined explicit typecasts
...
git-svn-id: trunk@46904 -
2020-09-20 10:29:51 +00:00
svenbarth
2c372071fd
* correctly handle static arrays with a lower index <> 0
...
+ added test
git-svn-id: trunk@46901 -
2020-09-19 21:20:07 +00:00
svenbarth
9d86fed95b
* avoid range check error when using SwapEndian with 16-bit constants
...
+ added test
git-svn-id: trunk@46897 -
2020-09-19 17:04:17 +00:00
nickysn
0967f0c371
* synchronized with trunk
...
git-svn-id: branches/wasm@46894 -
2020-09-18 21:31:05 +00:00
svenbarth
2ff18e48a0
* fix for Mantis #36909 : apply patch by Ryan Joseph so that array constructors can be used for static arrays as well.
...
+ added test
git-svn-id: trunk@46891 -
2020-09-18 15:00:15 +00:00
svenbarth
d3e18ccb5e
* fix for Mantis #37221 : apply adjusted patch by Ondrej Pokorny to allow the use of Copy() on open array parameters (the result will be a dynamic array)
...
+ added test
git-svn-id: trunk@46890 -
2020-09-18 15:00:10 +00:00
nickysn
e752df6a9d
* synchronized with trunk
...
git-svn-id: branches/wasm@46887 -
2020-09-17 21:06:06 +00:00
florian
60bd9c5ba0
* write a proper error message if types are read/written which are not supported in iso mode, resolves #37763
...
git-svn-id: trunk@46885 -
2020-09-17 19:58:55 +00:00
florian
f8c1df0852
* ISO mode: handle typed files as text files regarding naming/program parameters, resolves #37415
...
git-svn-id: trunk@46865 -
2020-09-14 20:16:08 +00:00
nickysn
d7559d7a38
* synchronized with trunk
...
git-svn-id: branches/wasm@46798 -
2020-09-07 21:56:01 +00:00
florian
cdf1f710e5
+ C objects for for xtensa-freertos with call0 abi, build with:
...
make create_c_objects TEST_CCOMPILER=xtensa-lx106-elf-gcc TEST_ABI=call0 TEST_FPC=fpc TEST_CPU_TARGET=xtensa TEST_OS_TARGET=freertos "TEST_CFLAGS=-O3 -mlongcalls"
using xtensa-lx106-elf-gcc (crosstool-NG crosstool-ng-1.22.0-100-ge567ec7) 5.2.0
git-svn-id: trunk@46790 -
2020-09-06 20:23:25 +00:00
nickysn
be16e3a347
* synchronized with trunk
...
git-svn-id: branches/wasm@46785 -
2020-09-06 01:54:50 +00:00
Jonas Maebe
97bf6d6677
* fix formatfloat for 0 in exponential format (based on patch by
...
Jamie Philbrook, mantis #37374 )
git-svn-id: trunk@46778 -
2020-09-05 18:44:57 +00:00
nickysn
13386e603d
* synchronized with trunk
...
git-svn-id: branches/wasm@46771 -
2020-09-04 22:35:45 +00:00
svenbarth
b2177fb50e
* fix for Mantis #37650 : apply adjusted patch by Ryan Joseph do not range check the length of ShortStrings if their length parameter is based on a generic constant
...
+ added test
git-svn-id: trunk@46766 -
2020-09-04 15:44:23 +00:00
florian
9a7e977167
* replace tcaldefs.inc by cpudefs.inc
...
git-svn-id: trunk@46765 -
2020-09-04 15:37:01 +00:00
florian
28e2fae09d
+ forgotten file
...
git-svn-id: trunk@46764 -
2020-09-04 15:33:29 +00:00
nickysn
d8a9bd4da0
* synchronized with trunk
...
git-svn-id: branches/wasm@46736 -
2020-08-30 23:47:35 +00:00
florian
55e6ffb428
+ common include file for tcal*.pp tests to define cpusmall
...
git-svn-id: trunk@46730 -
2020-08-29 20:24:30 +00:00
nickysn
851d23edba
* synchronized with trunk
...
git-svn-id: branches/wasm@46729 -
2020-08-29 01:56:54 +00:00
florian
f4e27dcfb6
+ created xtensa-freertos object files using gcc xtensa-esp32-elf-gcc (crosstool-NG esp-2019r2) 8.2.0 with:
...
make TEST_CCOMPILER=xtensa-esp32-elf-gcc create_c_objects TEST_FPC=fpc TEST_ABI=windowed TEST_OS_TARGET=freertos TEST_CPU_TARGET=xtensa TEST_SUBARCH=lx6 TEST_CFLAGS=-mlongcalls
git-svn-id: trunk@46725 -
2020-08-28 20:18:34 +00:00
nickysn
539fde196d
* rebase the llvm-mc asm writer on the GAS assembler writer - seems to be pretty
...
close in syntax
git-svn-id: branches/wasm@46668 -
2020-08-23 17:01:55 +00:00
nickysn
988a833836
* synchronized with trunk
...
git-svn-id: branches/wasm@46665 -
2020-08-23 15:31:53 +00:00
Jonas Maebe
d1d3d7cd08
* never create a regular temp for inline parameters that can be modified by
...
the caller (mantis #37465 )a
o in theory, the regular checks for doing so should never trigger, but due
to compiler-generated nodes (such as calls to fpc_ansistr_unique), they
could. Internal address nodes can deal with taking the address of the
function result in this case.
git-svn-id: trunk@46660 -
2020-08-23 11:27:59 +00:00
nickysn
05235a1066
* synchronized with trunk
...
git-svn-id: branches/wasm@46500 -
2020-08-19 21:23:36 +00:00
florian
120825d1d6
* do not throw an internal error on illegal assembler expressions, resolves #37439
...
git-svn-id: trunk@46499 -
2020-08-19 21:09:44 +00:00
nickysn
f04c43f58c
+ created unit (empty for now) for the llvm-mc assembler writer
...
git-svn-id: branches/wasm@46495 -
2020-08-19 16:02:45 +00:00
nickysn
78ad7b7dfa
* synchronized with trunk
...
git-svn-id: branches/wasm@46466 -
2020-08-16 23:43:13 +00:00
florian
18b8b9c566
* do not apply range test optimization if the variable is a string being compared against a char constants, resolves #37476
...
git-svn-id: trunk@46453 -
2020-08-15 18:29:26 +00:00
nickysn
93789508fb
* synchronized with trunk
...
git-svn-id: branches/wasm@46440 -
2020-08-15 00:44:32 +00:00
florian
1ba8255af0
* do not try to unroll a loop if previously an error was thrown, resolves #37475
...
git-svn-id: trunk@46435 -
2020-08-14 18:10:56 +00:00
nickysn
f0aca344dc
* synchronized with trunk
...
git-svn-id: branches/wasm@46418 -
2020-08-14 02:04:01 +00:00
svenbarth
fbb8e161fa
+ add test for already fixed Mantis #37286
...
git-svn-id: trunk@46408 -
2020-08-13 05:42:32 +00:00
nickysn
de29036512
* synchronized with trunk
...
git-svn-id: branches/wasm@46407 -
2020-08-12 22:20:37 +00:00
florian
cdd80c131d
+ forgotten test
...
git-svn-id: trunk@46405 -
2020-08-12 21:13:58 +00:00
svenbarth
aa95cfe0ae
* move FileInfo unit and the corresponding example from fcl-base to fcl-extra
...
git-svn-id: trunk@46392 -
2020-08-12 19:06:57 +00:00
svenbarth
108e78d441
* generate Makefile
...
git-svn-id: trunk@46389 -
2020-08-12 19:06:36 +00:00
svenbarth
cb98d97b78
* move lexlib and yacclib to their own package
...
git-svn-id: trunk@46388 -
2020-08-12 19:06:29 +00:00
svenbarth
b88adc8e64
fcl-res: move rcparser code to include file
...
- no need to recompile the grammar on process changes
- full codetools in Lazarus
Reintegrate fpcres-rc branch by Martok
git-svn-id: trunk@46381 -
2020-08-12 19:05:37 +00:00
svenbarth
7c12641d09
fcl-res: begin implementing rc reader (preprocessor)
...
Reintegrate fpcres-rc branch by Martok
git-svn-id: trunk@46372 -
2020-08-12 19:04:33 +00:00
michael
ddefc8a682
* Fix bug #37546 , improvement to pass log filename to server
...
git-svn-id: trunk@46369 -
2020-08-12 10:58:24 +00:00
nickysn
163794ca27
* synchronized with trunk
...
git-svn-id: branches/wasm@46366 -
2020-08-11 22:58:54 +00:00
florian
6dac888ae5
* 0 is a valid label in iso mode, resolves #37428
...
git-svn-id: trunk@46362 -
2020-08-11 12:05:13 +00:00
nickysn
0c6426f354
* synchronized with trunk
...
git-svn-id: branches/wasm@46336 -
2020-08-08 23:29:48 +00:00
Jonas Maebe
b3adeaaea9
* added test for bug that's already fixed (mantis #37423 )
...
git-svn-id: trunk@46334 -
2020-08-08 17:45:41 +00:00
nickysn
2a40acba19
* synchronized with trunk
...
git-svn-id: branches/wasm@46310 -
2020-08-07 22:10:49 +00:00
florian
d7ba09f543
* insert type casts when creating new unaryminus nodes during simplification, resolves #37508
...
git-svn-id: trunk@46309 -
2020-08-07 21:43:00 +00:00
nickysn
5e4ddd6969
* synchronized with trunk
...
git-svn-id: branches/wasm@46305 -
2020-08-06 22:41:56 +00:00
florian
af1e6fde5c
* setelementn cannot be the root node of a cse domain, resolves #37477
...
git-svn-id: trunk@46299 -
2020-08-06 20:49:07 +00:00
nickysn
b66aa056f1
* synchronized with trunk
...
git-svn-id: branches/wasm@46290 -
2020-08-06 14:34:20 +00:00
svenbarth
e4ec420bf5
* reject the default Create array constructor if used on a variable instead of a type
...
+ added test
git-svn-id: trunk@46279 -
2020-08-05 21:35:01 +00:00
florian
e14a3f17e6
* reverted r46220 as it is fixed now properly
...
git-svn-id: trunk@46276 -
2020-08-05 21:15:33 +00:00
nickysn
16aa4f0dfd
+ added the minimal system unit from the wasm demo
...
git-svn-id: branches/wasm@46260 -
2020-08-05 16:02:51 +00:00
nickysn
080aa1ca74
+ added target WASI, clone of the 'WASM' target
...
git-svn-id: branches/wasm@46259 -
2020-08-05 15:36:08 +00:00
nickysn
c9ee72b05a
* the compiler/wasm directory renamed compiler/wasm32
...
git-svn-id: branches/wasm@46251 -
2020-08-05 14:19:18 +00:00
nickysn
ed524467e9
* ppcwasm.lpi renamed ppcwasm32.lpi
...
git-svn-id: branches/wasm@46249 -
2020-08-05 14:10:18 +00:00
nickysn
c1312e47fe
* synchronized with trunk
...
git-svn-id: branches/wasm@46226 -
2020-08-04 13:37:27 +00:00
svenbarth
c17ad509e2
* fix for Mantis #36775 : apply patch by J. Gareth Moreton
...
+ added tests
git-svn-id: trunk@46220 -
2020-08-03 21:53:29 +00:00
svenbarth
055cfc1771
* added test for Mantis #36014 which is already fixed (also in 3.2.0)
...
git-svn-id: trunk@46219 -
2020-08-03 21:53:24 +00:00
svenbarth
8770af84bd
* fix for Mantis #37187 : inside generics the constant code in pexpr does not handle all cases and thus current_procinfo needs to be checked as well
...
+ added test
git-svn-id: trunk@46218 -
2020-08-03 21:53:14 +00:00
nickysn
035a946168
* wasm compilation fixed after sync with trunk
...
git-svn-id: branches/wasm@46217 -
2020-08-03 21:31:50 +00:00
nickysn
62cb7c2d12
* synchronized with trunk
...
git-svn-id: branches/wasm@46214 -
2020-08-03 21:15:39 +00:00
nickysn
67d5eba6fc
+ added wasmbin fpmake files
...
git-svn-id: branches/wasm@46194 -
2020-08-03 15:40:05 +00:00
nickysn
f6a15342c7
+ makefile for utils/wasmbin (but no fpmake.pp yet)
...
git-svn-id: branches/wasm@46187 -
2020-08-03 14:07:25 +00:00
nickysn
dbde36f012
[PATCH 180/188] starting wasa project to be the assembler
...
From 86e4726f85ee8aad811c9c4b6b6cfe63946a80fb Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <skalogryz.lists@gmail.com>
Date: Wed, 8 Apr 2020 12:56:59 -0400
git-svn-id: branches/wasm@46176 -
2020-08-03 13:02:11 +00:00
nickysn
1cd222ef30
[PATCH 152/188] splitting up normalization into a separate unit to
...
prevent overloading wasmmodule
From 586db93561858563bd0f1bba0de255282dd54c2f Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <skalogryz.lists@gmail.com>
Date: Thu, 26 Mar 2020 12:03:47 -0400
git-svn-id: branches/wasm@46148 -
2020-08-03 13:01:44 +00:00
nickysn
0dad8b4b3d
[PATCH 120/188] adding test call_indirect using index reference
...
From 774240f85f8bfaa9b94307a74a6771807963231d Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <skalogryz.lists@gmail.com>
Date: Mon, 23 Mar 2020 15:24:28 -0400
git-svn-id: branches/wasm@46116 -
2020-08-03 13:01:13 +00:00
nickysn
2dda2565f2
[PATCH 115/188] adding a test for if-instruction
...
From e9ebae2a690e25eeb71f950e11a0ba47883c0724 Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <skalogryz.lists@gmail.com>
Date: Wed, 18 Mar 2020 13:20:21 -0400
git-svn-id: branches/wasm@46111 -
2020-08-03 13:01:06 +00:00
nickysn
861f7c67a8
[PATCH 108/188] adding insturction test for unreachable
...
From c2f3ad4b949cd56f36264b1fbb6656f0e9d6a6b3 Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <skalogryz.lists@gmail.com>
Date: Tue, 17 Mar 2020 16:20:20 -0400
git-svn-id: branches/wasm@46104 -
2020-08-03 13:00:58 +00:00
nickysn
376856fe79
[PATCH 107/188] adding test for elements
...
From 4eef96813019fbb6b250c32d2630c4bd6a501389 Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <skalogryz.lists@gmail.com>
Date: Tue, 17 Mar 2020 16:08:04 -0400
git-svn-id: branches/wasm@46103 -
2020-08-03 13:00:56 +00:00
nickysn
1007ceaf59
[PATCH 096/188] adding call_indirect tests
...
From 822682fb22b772542c7435477137b6fc387fcb99 Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <skalogryz.lists@gmail.com>
Date: Mon, 16 Mar 2020 16:30:09 -0400
git-svn-id: branches/wasm@46092 -
2020-08-03 13:00:37 +00:00
nickysn
bce20892c9
[PATCH 091/188] hex scanning test
...
From 81fecdf150cccfe288a282badfeb8e235e0cf0d0 Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <skalogryz.lists@gmail.com>
Date: Tue, 10 Mar 2020 09:06:09 -0400
git-svn-id: branches/wasm@46087 -
2020-08-03 13:00:27 +00:00
nickysn
38cd70cae5
[PATCH 085/188] updating limit values for i64 test
...
From 49a8bd18761fbbae4edca67a50d7f2fcd21246e2 Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <skalogryz.lists@gmail.com>
Date: Mon, 9 Mar 2020 16:02:43 -0400
git-svn-id: branches/wasm@46081 -
2020-08-03 13:00:17 +00:00
nickysn
dc4ceed0bb
[PATCH 083/188] adding tests for constant instructions
...
From f6a5d3f6b438958811cad0c943bdde53ced2fe2e Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <skalogryz.lists@gmail.com>
Date: Mon, 9 Mar 2020 11:09:58 -0400
git-svn-id: branches/wasm@46079 -
2020-08-03 13:00:14 +00:00
nickysn
6ae197c62c
[PATCH 079/188] import scan test
...
From e6b87cbec8a14e0c081b0324c7e81c15d4febbde Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <skalogryz.lists@gmail.com>
Date: Mon, 9 Mar 2020 08:47:59 -0400
git-svn-id: branches/wasm@46075 -
2020-08-03 13:00:07 +00:00
nickysn
5c02ead33c
[PATCH 072/188] additional test
...
From 1fa603ea8252b02498eb206f5eec195e2ee64b6e Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <skalogryz.lists@gmail.com>
Date: Thu, 5 Mar 2020 09:53:04 -0500
git-svn-id: branches/wasm@46068 -
2020-08-03 13:00:00 +00:00
nickysn
72d5937c38
[PATCH 070/188] adding testscan folder
...
From 1253bae0dbed1078652e6d2378086d37f1d95ca9 Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <skalogryz.lists@gmail.com>
Date: Thu, 5 Mar 2020 09:41:21 -0500
git-svn-id: branches/wasm@46066 -
2020-08-03 12:59:57 +00:00
nickysn
56dff1f7cd
[PATCH 048/188] update writing binaries
...
From 8d0e9392be1cf2d2eaa226a9d8ce61baec09a384 Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <skalogryz.lists@gmail.com>
Date: Thu, 21 Nov 2019 13:58:27 -0500
git-svn-id: branches/wasm@46044 -
2020-08-03 12:59:36 +00:00
nickysn
9f15ee72a5
[PATCH 039/188] split scanner and parser into different modules
...
From ed2dc3f0517bcf00cef9a8c19290966200556fb9 Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <skalogryz.lists@gmail.com>
Date: Wed, 20 Nov 2019 11:46:49 -0500
git-svn-id: branches/wasm@46035 -
2020-08-03 12:59:26 +00:00
nickysn
1a6b0c521d
[PATCH 038/188] adding parse utils
...
From 6bfcf3e102dc6e2727b16ba84f8e4cc4f8d345bb Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <skalogryz.lists@gmail.com>
Date: Wed, 20 Nov 2019 00:33:16 -0500
git-svn-id: branches/wasm@46034 -
2020-08-03 12:59:25 +00:00
nickysn
03657fa9a7
[PATCH 037/188] adding wattest
...
From f06b8396f0412a30a07da5a449ee54924d9e586e Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <skalogryz.lists@gmail.com>
Date: Wed, 20 Nov 2019 00:32:46 -0500
git-svn-id: branches/wasm@46033 -
2020-08-03 12:59:23 +00:00
nickysn
4a7739cd9e
[PATCH 036/188] adding type declarations
...
From d956083913f0e790979b2e972dcef5377174306f Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <skalogryz.lists@gmail.com>
Date: Wed, 20 Nov 2019 00:31:55 -0500
git-svn-id: branches/wasm@46032 -
2020-08-03 12:59:22 +00:00
nickysn
a676023c7f
[PATCH 033/188] adding wasmtext to parse text files
...
From bec61439ee1b177d05f027ca2792a527c42f0368 Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <skalogryz.lists@gmail.com>
Date: Tue, 19 Nov 2019 23:25:48 -0500
git-svn-id: branches/wasm@46029 -
2020-08-03 12:59:18 +00:00
nickysn
0b1198c5ae
[PATCH 030/188] starting wat parser
...
From 9b22486d00dabb5ed690695f76aa73f3472a9a5f Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <skalogryz.lists@gmail.com>
Date: Tue, 19 Nov 2019 19:33:17 -0500
git-svn-id: branches/wasm@46026 -
2020-08-03 12:59:15 +00:00
nickysn
7e1968675c
[PATCH 020/188] adding utility for parsing bincode
...
From fa3b578e5e878d16eaacc42ec37503fc6a8fb9db Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <skalogryz.lists@gmail.com>
Date: Fri, 27 Sep 2019 00:46:16 -0400
git-svn-id: branches/wasm@46016 -
2020-08-03 12:59:05 +00:00
nickysn
d4f8da8112
[PATCH 010/188] starting wasmtool
...
From 8bc85f8323cf0fc24a838a0dcc8cde90b91dabee Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <skalogryz.lists@gmail.com>
Date: Thu, 26 Sep 2019 09:24:27 -0400
git-svn-id: branches/wasm@46006 -
2020-08-03 12:58:54 +00:00
nickysn
50df4ac869
[PATCH 008/188] adding processing of link sections
...
From 8f3c9e9f94e2d6ffa3efd08b6d8015a3608e17d4 Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <skalogryz.lists@gmail.com>
Date: Wed, 25 Sep 2019 17:03:45 -0400
git-svn-id: branches/wasm@46004 -
2020-08-03 12:58:51 +00:00
nickysn
64027a4527
[PATCH 003/188] starting on linking utils
...
From 533bcbb688ca6868da515bff3d266377e1b88eff Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <skalogryz.lists@gmail.com>
Date: Tue, 24 Sep 2019 12:34:37 -0400
git-svn-id: branches/wasm@45999 -
2020-08-03 12:58:44 +00:00
nickysn
93d6993296
[PATCH 002/188] the initial commit
...
From bce2a7ed20747f29b4c9d00834e9f4b9e3cef5a0 Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <skalogryz.lists@gmail.com>
Date: Thu, 5 Sep 2019 17:03:31 -0400
git-svn-id: branches/wasm@45998 -
2020-08-03 12:58:42 +00:00
nickysn
e173c688b0
[PATCH 001/188] Initial commit
...
From dc810a20c8733265e44db2285fd7d5aea8e05340 Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <skalogryz.lists@gmail.com>
Date: Thu, 5 Sep 2019 17:02:54 -0400
git-svn-id: branches/wasm@45997 -
2020-08-03 12:58:39 +00:00
florian
eac6675cba
* reset exception flags, resolves #37468 on x86_64
...
git-svn-id: trunk@45995 -
2020-08-02 21:23:29 +00:00
florian
f542ee7b92
* do not throw an internal error if an errorneous type is passed to str, resolves #37462
...
git-svn-id: trunk@45983 -
2020-08-01 21:11:35 +00:00
michael
eaeb21e6ae
* Add stub generator
...
git-svn-id: trunk@45976 -
2020-08-01 07:39:34 +00:00
florian
6f661e44d0
* do not throw an internal error later on in case of a recursive call, if the declaration of the function was faulty, resolves #37460
...
git-svn-id: trunk@45975 -
2020-07-31 21:03:35 +00:00
svenbarth
b412259c1c
* fix for Mantis #37355 : the method name and the named parameters need to be separated by a single #0
...
+ added test
git-svn-id: trunk@45974 -
2020-07-31 15:55:37 +00:00
svenbarth
b62045809d
* reject overloads if they only differ in the result types (as long as they aren't operator overloads)
...
+ added tests
git-svn-id: trunk@45973 -
2020-07-31 15:55:34 +00:00
florian
42f2e5f8ad
+ simplify "x mod -1", resolves #37449
...
git-svn-id: trunk@45969 -
2020-07-30 20:35:34 +00:00
nickysn
2be0f4718a
[PATCH 36/83] adding was constant to support inline float point constants
...
From 73f73ec7cf4873f0da1f873924ba9acb07bb85c5 Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <skalogryz.lists@gmail.com>
Date: Mon, 16 Sep 2019 15:44:53 -0400
git-svn-id: branches/wasm@45913 -
2020-07-29 17:37:30 +00:00
nickysn
933b3afcd7
[PATCH 27/83] adding support for math operation (based on jvm). the default div/mod implementation is causing InternalError for division operation
...
From 65a540f3b7deda48285df5cba7ee75d906d4997f Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <skalogryz.lists@gmail.com>
Date: Thu, 12 Sep 2019 13:33:41 -0400
git-svn-id: branches/wasm@45904 -
2020-07-29 17:10:42 +00:00
nickysn
92526c41a9
[PATCH 25/83] adding nwasmcal (copied over from njvmcal) in order to properly handle function results
...
From 7652ef7e443b90453d6e4559e5c1641add53daf2 Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <skalogryz.lists@gmail.com>
Date: Wed, 11 Sep 2019 22:57:08 -0400
git-svn-id: branches/wasm@45902 -
2020-07-29 17:07:58 +00:00
nickysn
f0f55f1b60
[PATCH 17/83] adding support for wasm if-else-block
...
From 3de374be5fcd29b9a57a43073ccc4f7fe8425805 Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <skalogryz.lists@gmail.com>
Date: Mon, 9 Sep 2019 11:22:56 -0400
git-svn-id: branches/wasm@45894 -
2020-07-29 16:48:23 +00:00
nickysn
6e7bb5927e
[PATCH 04/83] update for Wasm target. adapting Karoly's changes from webassembly branch
...
From 8acd7baf8d14236dc12781dd15bac188581ccecf Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <skalogryz.lists@gmail.com>
Date: Thu, 29 Aug 2019 15:09:58 -0400
git-svn-id: branches/wasm@45881 -
2020-07-29 16:28:18 +00:00
nickysn
184c559496
[PATCH 03/83] adding WASM specific files
...
From 3e72f04bc65f3da24efdf55a3102ef21479ff567 Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <skalogryz.lists@gmail.com>
Date: Wed, 28 Aug 2019 17:01:46 -0400
git-svn-id: branches/wasm@45880 -
2020-07-29 16:06:57 +00:00
nickysn
5daf992919
[PATCH 01/83] starting ppcwasm lazarus project
...
From f83c96be40af38a4b2b7175087b3811da2a35793 Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <skalogryz.lists@gmail.com>
Date: Wed, 28 Aug 2019 14:25:32 -0400
git-svn-id: branches/wasm@45878 -
2020-07-29 15:59:50 +00:00
florian
0b5c50ea41
* Aarch64: set register size correctly for AndStrb2Strb optimization, resolves #37427
...
git-svn-id: trunk@45872 -
2020-07-28 20:46:05 +00:00
Mattias Gaertner
091862cd88
pastojs: added include file and test specializations are created later
...
git-svn-id: trunk@45863 -
2020-07-26 12:05:23 +00:00
Mattias Gaertner
dc54c1297a
fcl-passrc: added include file and append specializations at end of declarations in front of unfinished elements
...
git-svn-id: trunk@45862 -
2020-07-26 12:01:37 +00:00
Mattias Gaertner
fad9fb738c
fcl-js: added include file
...
git-svn-id: trunk@45861 -
2020-07-26 11:59:00 +00:00
Mattias Gaertner
86ee4a57c3
fcl-json: added include file
...
git-svn-id: trunk@45860 -
2020-07-26 11:58:47 +00:00
florian
3db2794598
+ add test for #31714 which is already fixed
...
git-svn-id: trunk@45859 -
2020-07-25 21:08:58 +00:00
florian
ed158f1e52
* set register size correctly for popcnt(<byte>), resolves #37400
...
git-svn-id: trunk@45828 -
2020-07-22 20:47:12 +00:00
florian
5da913de0e
* float operations can have an exception as a side effect, resolves #37398
...
git-svn-id: trunk@45824 -
2020-07-21 20:09:39 +00:00
Jonas Maebe
dd6e6eb26a
* disable tail recursion optimisation if there is a copy-back parameter
...
* handle fparainit in tail recursion optimisation (mantis #37397 )
git-svn-id: trunk@45823 -
2020-07-21 17:57:50 +00:00
pierre
adf064cbb4
New: rtl/inc/genmathh.inc source file, to provide a unique position
...
for the interface definition of float64 and float32 records,
available to all systems if FPUNONE is not defined.
rtl/inc/genmath.inc: Remove float64/float32, as they are now in rtl/inc/genmathh.inc
rtl/inc/softfpu.pp: Use provided definitions of float32 and float64
if available (by checking presence of FPC_SYSTEM_HAS_floatXX macro)
rtl/inc/systemh.inc: include genmathh.inc if FPUNONE is not defined.
rtl/java/jsystemh_types.inc: Likewise.
git-svn-id: trunk@45821 -
2020-07-21 14:24:14 +00:00
florian
13cb57b2c3
+ Aarch64: trgcpu.get_spill_subreg: return MM sub register correctly, resolves #37393
...
git-svn-id: trunk@45814 -
2020-07-20 21:07:09 +00:00
Jonas Maebe
eb7ba1690e
* mark all external assemblers using an LLVM tool using af_llvm
...
+ added support for constructing target triplets
* pass "-target triplet" when using an LLVM assembler
o removed no longer needed $DARWINVERSION and $ARCH parameters
* consistently use as_clang_gas when clang is used to assembler GAS-style
assembly, and rename as_llcm_clang to as_clang_llvm (for consistency)
* support pipe assembling when using clang on *nix in all cases
git-svn-id: trunk@45807 -
2020-07-19 14:30:35 +00:00
Jonas Maebe
3fde3f23ce
* moved ios test object files to ios directory
...
+ added darwin/aarch64 test object files
git-svn-id: trunk@45803 -
2020-07-18 13:44:03 +00:00
florian
a57f3ba396
* patch by Sergey Larin to handle Native(U)Int conversions from/to variants, resolves #37339
...
git-svn-id: trunk@45797 -
2020-07-16 20:44:30 +00:00
florian
7337515137
+ patch by Christo Crause: ESP8266 controller unit for freertos, resolves #37336
...
git-svn-id: trunk@45784 -
2020-07-14 20:34:58 +00:00
florian
0cb21e8338
+ test for last commit
...
git-svn-id: trunk@45773 -
2020-07-11 20:31:00 +00:00
florian
f6f5cb45a3
+ strip leading zeros in numeric labels in iso/extended pascal mode also in label declarations, resolves #37323
...
git-svn-id: trunk@45764 -
2020-07-11 07:12:37 +00:00
florian
392d66a9ce
* variables can have the same name as the main program in iso mode, resolves #37322
...
git-svn-id: trunk@45757 -
2020-07-10 21:05:59 +00:00
florian
3caacc529a
* fix abs() intrinsic optimisation, resolves #37301
...
git-svn-id: trunk@45732 -
2020-07-05 09:19:14 +00:00
florian
ff295bf349
* delay setting of pd_body and pd_implement till the header of a generic
...
procedure is parsed, resolves #37261
git-svn-id: trunk@45717 -
2020-06-30 20:36:51 +00:00
florian
d41f4c7c4e
* correctly handle sign/zero extensions for optimization "var3", resolves #37254
...
git-svn-id: trunk@45713 -
2020-06-29 20:36:54 +00:00
Károly Balogh
cab80d1218
amiga-likes: add headers for timer.device/GetSysTime()
...
git-svn-id: trunk@45712 -
2020-06-28 22:23:36 +00:00
svenbarth
52678562e3
* correctly handle selection between Single and Double overloads for Currency
...
+ added test
git-svn-id: trunk@45707 -
2020-06-27 22:33:36 +00:00
svenbarth
eaa2a2006c
* fix for Mantis #37272 : also allow the empty set for dynamic array parameters; Delphi probably started to allow that together with array constructors.
...
+ added tests
git-svn-id: trunk@45706 -
2020-06-27 22:33:31 +00:00
svenbarth
d401639b24
* fix for Mantis #37251 : apply patches by Bi0T1N to implement the IsConstValue() intrinsic
...
+ added tests
git-svn-id: trunk@45695 -
2020-06-25 20:42:47 +00:00
florian
cb11e2568d
+ Xtensa: patch by Christo Crause to add optional MAC16 registers, resolves #37130
...
git-svn-id: trunk@45679 -
2020-06-22 19:05:13 +00:00
yury
e63c03125a
* Reworked tprocdef.is_implemented to fix a bug with the parentfp optimization. The bug was detected when using the llvm backend.
...
+ Added a test.
git-svn-id: trunk@45675 -
2020-06-21 19:52:14 +00:00
Jonas Maebe
3cb341eabc
* ensure that dispose(managed_ptr) does not result in multiple evaluations of
...
the managed_ptr expression
git-svn-id: trunk@45673 -
2020-06-21 15:10:38 +00:00
florian
a7c0fa0def
o patch for Xtensa by Christo Crause, resolves #37099
...
+ Added postfix parsing in tattreader.GetToken
- Removed all postfixed versions of OpCodes from the instruction list
+ Added all missing OpCodes from Xtensa ISA
* Changed branch OpCode to A_B, similar to ARM
+ Added missing branch condition flags BCI and BSI
* Updated existing compiler code that referred to the old postfixed instructions
+ Added prefix and postfix handling in TxtensaInstrWriter.WriteInstruction
* Updated TCPUAddNode.second_addfloat to specify .S postfix
* Updated tcpuunaryminusnode.second_float to specify .S postfix
+ Implemented prefix and postfix identification in txtensaattreader.is_asmopcode
* Adapted branch condition extraction to respect postfixes
* Changed itcpugas to call findreg_by_name_table from raatt.pas (same as issue #0037121 , difficult to test these changes without including a fix for the register name search problem)
git-svn-id: trunk@45672 -
2020-06-21 14:51:40 +00:00
florian
80111a0a60
* make local variables in assembler blocks working again after r44933
...
* test for #37218
git-svn-id: trunk@45667 -
2020-06-20 20:17:53 +00:00
yury
c15b6f4516
* Fixed the parentfp optimization for some cases when nested procvars are used.
...
git-svn-id: trunk@45664 -
2020-06-20 18:28:07 +00:00
florian
62c417c8bf
* temporarily fix #37034 by disabling the problematic optimization until the real cause is fixed
...
git-svn-id: trunk@45655 -
2020-06-15 19:57:39 +00:00
svenbarth
febeef03e4
* for adding procdefs to forwarddefs check for the specialization flag instead of whether it's a full specialization; fixes implicit finalization handlers on x86_64-win64 not being found
...
+ added tests
git-svn-id: trunk@45646 -
2020-06-13 18:42:31 +00:00
florian
50c48349d5
* check properly for i/o errors in the iso read helpers, resolves #37154
...
* CheckRead checks if reading caused an I/O error and returns false in this case
git-svn-id: trunk@45635 -
2020-06-10 20:47:58 +00:00
florian
9710b2cbb4
+ some basic stuff for mips64el
...
git-svn-id: trunk@45614 -
2020-06-07 20:04:17 +00:00
michael
816ff7966b
* Tests for Stack/Queue comparison with pas2js
...
git-svn-id: trunk@45610 -
2020-06-07 15:37:49 +00:00
svenbarth
95f94bebba
* forgot to commit the generated Makefile
...
git-svn-id: trunk@45609 -
2020-06-07 12:25:15 +00:00
svenbarth
ac5093274d
+ add support for port object on Z80 using the new IN/OUT intrinsics
...
git-svn-id: trunk@45608 -
2020-06-07 12:25:10 +00:00
svenbarth
c793f42271
+ add intrinsics for Z80 port IN/OUT
...
git-svn-id: trunk@45607 -
2020-06-07 12:24:59 +00:00
svenbarth
ac8552afc2
+ add initial RTL for MSX DOS. Simple programs are already working, but there are apparantly some code generation problems that lead to I/O as well as parameters not working correctly
...
git-svn-id: trunk@45600 -
2020-06-06 17:16:45 +00:00
svenbarth
921e73ab0c
+ add compiler support for the Z80 MSX-DOS target
...
git-svn-id: trunk@45596 -
2020-06-06 17:16:20 +00:00
svenbarth
bf96709e39
* with ihx2tzx now also supporting binary output it makes sense to rename it to something more generic
...
git-svn-id: trunk@45594 -
2020-06-06 17:16:08 +00:00
michael
700f3e6ec1
* Add dictionary tests for comparison with pas2js
...
git-svn-id: trunk@45538 -
2020-05-31 10:57:12 +00:00
michael
e0c5ac1682
* Add nullable (bug ID 0037128)
...
git-svn-id: trunk@45520 -
2020-05-28 09:39:35 +00:00
florian
8f88112bfe
* allow in iso mode constants selecting the branch to dispose of a variant record (no functional effect though), resolves #37085
...
git-svn-id: trunk@45519 -
2020-05-27 21:10:55 +00:00
florian
b4de0b2e9c
* insert fwait after fcompp, resolves #37136
...
git-svn-id: trunk@45500 -
2020-05-25 20:38:19 +00:00
svenbarth
1d4bbcef75
+ add additional overloads for FindResource and FindResourceEx so that mixtures of AnsiString and MAKEINTRESOURCE types as well as names can be used
...
+ added test for ReadComponentRes (which called the wrong FindResource before)
git-svn-id: trunk@45479 -
2020-05-23 21:24:01 +00:00
Károly Balogh
9f80b11c5d
tosunits: added another example which shows a DEGAS format picture
...
git-svn-id: trunk@45474 -
2020-05-23 14:26:41 +00:00
florian
51da470757
* constrained type parameters are not undefined defs, resolves #37107
...
git-svn-id: trunk@45457 -
2020-05-21 18:19:08 +00:00
Jonas Maebe
a88eee4080
* fixed unitdir directive for relative paths in case the current module's
...
path is not set, broken by r43312 (mantis #37095 )
git-svn-id: trunk@45410 -
2020-05-17 21:27:00 +00:00
svenbarth
6b548b9016
* fix for Mantis #37042 : apply patch and test (adjusted for Big Endian) by Bi0T1N to add support for TBitConverter
...
git-svn-id: trunk@45409 -
2020-05-17 20:59:57 +00:00
Jonas Maebe
f9672b53a2
- removed old float-to-string and string-to-float conversion code
...
git-svn-id: trunk@45401 -
2020-05-17 14:05:38 +00:00
michael
f432bd9307
* Patch from Noel Duffy to add TrySTrToHost* functions
...
git-svn-id: trunk@45376 -
2020-05-16 13:11:28 +00:00
svenbarth
f0e8d5dfa6
* fix for Mantis #37043 : apply patch by Bi0T1N (including test) to add additional overloads for IntToHex including a rerouting of the ordinal helpers' ToHexString to use these overloads
...
git-svn-id: trunk@45370 -
2020-05-15 15:14:19 +00:00
florian
7a60e044e3
* simplify constant expressions after re-ordering, resolves #37062
...
git-svn-id: trunk@45360 -
2020-05-13 20:26:04 +00:00
michael
71e322d058
* Patch from Noel Duffy to improve IPV6 address parsing (bug ID tw37013)
...
git-svn-id: trunk@45350 -
2020-05-13 07:19:03 +00:00
yury
a316229ef6
* Always use parentfp for forward-declared nested procedures.
...
git-svn-id: trunk@45320 -
2020-05-09 17:52:17 +00:00
Károly Balogh
bc9b8af04b
m68k: add the converted includes, based on m68kins.dat
...
git-svn-id: trunk@45311 -
2020-05-08 12:11:13 +00:00
Károly Balogh
d5874b0088
m68k: added a full instruction table (minus CF MAC/EMAC instructions for now), based on vasm, and the required tool to process it
...
git-svn-id: trunk@45310 -
2020-05-08 12:05:11 +00:00
florian
f8e7d0bc09
- remove unused files, resolves #37032
...
git-svn-id: trunk@45306 -
2020-05-07 20:36:09 +00:00
yury
c1d124d497
* x86: Fixed peephole optimization introduced in r44233. tb0219 and tb0548 tests have failed with -O2 since then.
...
* Added variants of the tb0219 and tb0548 tests with forced -O2.
git-svn-id: trunk@45291 -
2020-05-06 14:18:44 +00:00
svenbarth
3d2945726a
* handle generic parameters in Ord()
...
+ added test
git-svn-id: trunk@45232 -
2020-05-03 15:08:31 +00:00