Commit Graph

59499 Commits

Author SHA1 Message Date
florian
b3817f6d92 * slash and divn might have an exception as side effect
git-svn-id: trunk@45652 -
2020-06-14 14:56:48 +00:00
florian
33094d263f * Aarch: handle 0 in AndAnd2And and check if the resulting constant
is really a shifter constant, resolves #37203

git-svn-id: trunk@45651 -
2020-06-14 14:16:49 +00:00
Mattias Gaertner
8b84d925fb pas2js: search no namespace, cmd line namespaces, default prg namespace, issue #37206
git-svn-id: trunk@45650 -
2020-06-13 20:58:47 +00:00
florian
0feb495ab8 * fixes previously accidentitly commited (and commented out) statement to avoid warning
git-svn-id: trunk@45649 -
2020-06-13 19:28:52 +00:00
florian
86772eeafe * fix compilation of tests
git-svn-id: trunk@45648 -
2020-06-13 19:27:57 +00:00
florian
bc1b7960ec * patch by Bi0T1N: fix result type of InterlockedCompareExchange64 for QWord, resolves #37186
git-svn-id: trunk@45647 -
2020-06-13 19:14:20 +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
svenbarth
4da6465d05 * correctly set the generic related defoptions for an outlined procdef
git-svn-id: trunk@45645 -
2020-06-13 18:42:26 +00:00
svenbarth
c45c543faa * fix typo (no code changes)
git-svn-id: trunk@45644 -
2020-06-13 18:42:21 +00:00
svenbarth
4ec76072b4 * ensure that the BSS section for MSX-DOS is correctly initialized to 0
git-svn-id: trunk@45642 -
2020-06-13 09:36:18 +00:00
florian
58eca57feb * patch by Christo Crause: embedded heap manager: free small blocks, resolves #37204
git-svn-id: trunk@45641 -
2020-06-12 20:50:45 +00:00
Mattias Gaertner
f26afe4a6a pas2js: started delayed specialize
git-svn-id: trunk@45640 -
2020-06-12 19:54:55 +00:00
Mattias Gaertner
da9a2f59b0 fcl-passrc: type description of specialization: with paths
git-svn-id: trunk@45639 -
2020-06-12 19:53:32 +00:00
florian
dbd14206c9 * compilation on targets without fpu fixed
git-svn-id: trunk@45638 -
2020-06-11 17:30:12 +00:00
florian
b2ed667a86 * swap fpu stack correctly when moving data into xmm registers
git-svn-id: trunk@45637 -
2020-06-11 17:19:56 +00:00
florian
20f6514d97 * fix compilation for non 64 Bit targets
git-svn-id: trunk@45636 -
2020-06-10 21:05:18 +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
Mattias Gaertner
810ec836dd pas2js: started aliasglobals external types
git-svn-id: trunk@45634 -
2020-06-10 19:45:44 +00:00
florian
6698f6c56b * patch by Christo Crause: FreeRTOS: heap manager doesn't free small blocks, resolves #37195
git-svn-id: trunk@45633 -
2020-06-10 18:53:06 +00:00
michael
e9b0b02fea * Fix bug ID #37197: add version numbers of CentOS
git-svn-id: trunk@45631 -
2020-06-10 07:54:23 +00:00
florian
5f118da600 * optimize a/a and a-a if fast math is on
git-svn-id: trunk@45630 -
2020-06-09 20:50:47 +00:00
michael
8a54e8a773 * Fix bug ID #0037189, backwards search
git-svn-id: trunk@45629 -
2020-06-09 14:19:47 +00:00
michael
fcc4f587ff * Fix 0037159 (again)
git-svn-id: trunk@45628 -
2020-06-08 21:41:39 +00:00
florian
aafc22bd74 + optimize real operations with 0 and 1 if fast math is turned on
git-svn-id: trunk@45627 -
2020-06-08 20:33:27 +00:00
Mattias Gaertner
8a9178f00a pas2js: aliasglobals: local var for module
git-svn-id: trunk@45626 -
2020-06-08 18:00:59 +00:00
Mattias Gaertner
bac9437d73 pas2js: allocate local vars considering parent functions local vars
git-svn-id: trunk@45625 -
2020-06-08 13:07:18 +00:00
nickysn
de08108b27 + clear the .bss section on startup in the ZX Spectrum RTL
git-svn-id: trunk@45624 -
2020-06-07 23:28:03 +00:00
nickysn
4a78b7e073 * fixed stack initialization in the ZX Spectrum startup code
git-svn-id: trunk@45623 -
2020-06-07 23:22:57 +00:00
nickysn
5816a4a940 * fixed a bug in the Z80 internal linker when reading symbol offsets from .rel files
git-svn-id: trunk@45622 -
2020-06-07 23:21:42 +00:00
nickysn
a0e2cd3638 * use qword instead of aword for bsssize to avoid 8-bit truncation on Z80
git-svn-id: trunk@45621 -
2020-06-07 23:07:39 +00:00
nickysn
47ba80a545 * the len parameter of TObjData.writebytes changed to TObjSectionOfs to avoid 8-bit truncation on Z80
git-svn-id: trunk@45620 -
2020-06-07 23:05:13 +00:00
nickysn
dfa736bdca + add the _BSSEND section after the _BSS section
git-svn-id: trunk@45619 -
2020-06-07 22:17:47 +00:00
nickysn
09bd361b48 + support the OFFSET directive in the Z80 inline assembler reader
git-svn-id: trunk@45618 -
2020-06-07 22:17:10 +00:00
nickysn
c90f78488c + added the 'AREA' directive support to the Z80 inline assembler, that allows
you to define custom sections

git-svn-id: trunk@45617 -
2020-06-07 20:47:37 +00:00
nickysn
3c9a5ff758 * update revision.inc
git-svn-id: trunk@45616 -
2020-06-07 20:46:37 +00:00
Mattias Gaertner
f642f6b609 pas2js: transformmodulename: use local var
git-svn-id: trunk@45615 -
2020-06-07 20:25:51 +00:00
florian
9710b2cbb4 + some basic stuff for mips64el
git-svn-id: trunk@45614 -
2020-06-07 20:04:17 +00:00
svenbarth
eb6f503bad * fix O_LARGEFILE for Aarch64, RISC-V 32-bit and RISC-V 64-bit
git-svn-id: trunk@45613 -
2020-06-07 19:09:08 +00:00
svenbarth
d1cb341cfa * include the Z80 specific intrinsic values
git-svn-id: trunk@45612 -
2020-06-07 18:22:26 +00:00
Mattias Gaertner
469993a0cc pas2js: started aliasglobals
git-svn-id: trunk@45611 -
2020-06-07 18:17:22 +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
nickysn
5678baf887 * update revision.inc
git-svn-id: trunk@45606 -
2020-06-07 04:12:09 +00:00
florian
5f67d830e7 * better rules if a 3 op mul operation is tried
git-svn-id: trunk@45605 -
2020-06-06 19:21:04 +00:00
svenbarth
2c053b4f9c * regenerate msg{txt,idx}.inc after adding MSX-DOS to help text
git-svn-id: trunk@45604 -
2020-06-06 18:28:44 +00:00
svenbarth
3d4ad5b694 + add MSX-DOS to help text for -T
git-svn-id: trunk@45603 -
2020-06-06 18:28:39 +00:00
svenbarth
85149ab9a4 * change exe extension for MSX-DOS from exe to com
git-svn-id: trunk@45602 -
2020-06-06 18:20:40 +00:00
svenbarth
b3ddd4e786 * regenerate Makefiles
git-svn-id: trunk@45601 -
2020-06-06 17:18:48 +00:00