Commit Graph

51227 Commits

Author SHA1 Message Date
florian
ca51bd56c4 + a_jmp_cond64
* generate 64 bit comparisons if needed

git-svn-id: trunk@36657 -
2017-07-06 18:02:24 +00:00
florian
16c9a2260d * check alignment properly in CompareDWord for 64 bit targets
git-svn-id: trunk@36656 -
2017-07-06 18:02:22 +00:00
florian
567dfef9a7 + object files for sparc64-linux to test linking with gcc
git-svn-id: trunk@36655 -
2017-07-06 18:02:20 +00:00
pierre
b6d2c7ee69 Fix fprt_sigreturn_stub for sparc64 cpu
git-svn-id: trunk@36654 -
2017-07-06 07:17:25 +00:00
pierre
963d109331 Add two word variables to store fpu control and status register in interrupt 0x10
git-svn-id: trunk@36653 -
2017-07-05 22:03:27 +00:00
pierre
56039f2fc6 Share SPARC signal constants with SPARC64 cpu
git-svn-id: trunk@36652 -
2017-07-05 21:23:11 +00:00
pierre
ece9547ea7 * Sparc64 CPU also uses Fprt_sigreturn for extra rt_sigaction syscall
git-svn-id: trunk@36651 -
2017-07-05 20:59:39 +00:00
Mattias Gaertner
5e409ff349 pastojs+pparser: fixed copying last line of asm..block with option po_asmwhole
git-svn-id: trunk@36650 -
2017-07-05 20:33:48 +00:00
Mattias Gaertner
8cd56fb9be pastojs: fixed tests
git-svn-id: trunk@36649 -
2017-07-05 19:58:16 +00:00
Mattias Gaertner
6d764dff98 fcl-pas: less hints
git-svn-id: trunk@36648 -
2017-07-05 19:57:56 +00:00
Mattias Gaertner
a9502f9d3d fcl-js: parse source map
git-svn-id: trunk@36647 -
2017-07-05 19:50:16 +00:00
pierre
e2beff754f Update 'lonely' (i.e. not regenerated by a fpcmake -r -Tall at fpcsrc level) Makefiles for sparc64-linux target
git-svn-id: trunk@36646 -
2017-07-05 12:17:54 +00:00
Károly Balogh
8a22807efa m68k: also add Debian's custom library path like on other CPUs
git-svn-id: trunk@36645 -
2017-07-04 22:51:08 +00:00
florian
109612b7e1 * correctly load 32 bit values on sparc64
git-svn-id: trunk@36644 -
2017-07-04 20:52:47 +00:00
marco
0eaa8c2a57 * preparation for 64-bit amiga support (:-))
git-svn-id: trunk@36643 -
2017-07-04 11:55:48 +00:00
marco
cb0f89c4a8 * change longint cast of pointer to ptrint #32096
git-svn-id: trunk@36642 -
2017-07-04 11:48:49 +00:00
maciej-izak
72a35844c5 fcl-passrc: pparser: Correct parent for first method on overloads list.
git-svn-id: trunk@36641 -
2017-07-03 22:30:44 +00:00
florian
0d296001a8 * argv is a longint in fpc
git-svn-id: trunk@36640 -
2017-07-03 20:49:08 +00:00
florian
57a137068b * integer registers must have the size R_SUBWHOLE for sparc, resolves issue #32065
git-svn-id: trunk@36639 -
2017-07-03 20:49:06 +00:00
florian
28cfa838b5 + support for the different flag registers of sparc
* fixing 64 bit cmp operations on sparc64

git-svn-id: trunk@36638 -
2017-07-03 20:49:05 +00:00
florian
4b30e5ee11 + TSparcmoddivnode.pass_generate_code for SPARC64
git-svn-id: trunk@36637 -
2017-07-03 20:49:03 +00:00
florian
5bc9890727 + more sparc64 instructions
git-svn-id: trunk@36636 -
2017-07-03 20:49:01 +00:00
florian
5b91fd7065 + taicpu.op_reg_sym for sparc
git-svn-id: trunk@36635 -
2017-07-03 20:49:00 +00:00
florian
26b43e65c9 * fix longjmp/setjmp for sparc64
git-svn-id: trunk@36634 -
2017-07-03 20:48:58 +00:00
florian
65c9e6c32e + fccX registers
git-svn-id: trunk@36633 -
2017-07-03 20:48:56 +00:00
florian
94c3ac027b * fixed spelling: fpc_mode -> gpc_mode
git-svn-id: trunk@36632 -
2017-07-03 20:48:53 +00:00
Károly Balogh
17e85c4a09 m68k: rewritten FillChar from scratch. does aligned word and dword writes on large block fills. depending on the host CPU it's up to 5x faster on medium and large block fills
git-svn-id: trunk@36631 -
2017-07-03 19:22:51 +00:00
pierre
91995c004c Fix compilation of graph unit for msdos OS target
git-svn-id: trunk@36630 -
2017-07-03 17:07:42 +00:00
pierre
4882b802ae Fix compilation of RTL classes unit for msdos OS target
git-svn-id: trunk@36629 -
2017-07-03 16:21:15 +00:00
maciej-izak
f5b8825662 fcl-passrc: new GlobalDirectivesSection (section between unit and interface) to allow writing $IFDEFS and global directives from paswrite.pp by TPasImplCommand/TPasImplCommands
git-svn-id: trunk@36628 -
2017-07-03 13:58:42 +00:00
maciej-izak
bbc2ef6ac0 fcl-passrc: paswrite: write initialization and finalization sections for module
git-svn-id: trunk@36627 -
2017-07-02 20:57:41 +00:00
Károly Balogh
13d2ae8166 m68k: disabled obsolete test which tested between FPU_NONE and FPU_SOFT defaults...
git-svn-id: trunk@36626 -
2017-07-01 21:29:00 +00:00
maciej-izak
184157c9d7 fcl-passrc: paswrite: allow writing "out" and "constref" modifiers
git-svn-id: trunk@36625 -
2017-07-01 18:31:28 +00:00
maciej-izak
f475ba39ba fcl-passrc: pastree: Don't create TPasUnresolvedTypeRef for empty AUnresolvedTypeName in TPasProcedureType.CreateArgument (parameter can be declared without type with additional modifiers)
git-svn-id: trunk@36624 -
2017-07-01 17:06:13 +00:00
maciej-izak
c5941e109f fcl-passrc: paswrite: omit useless calling DecIdent and IncIdent in WriteImplElement method
git-svn-id: trunk@36623 -
2017-07-01 12:53:00 +00:00
maciej-izak
8225588722 fcl-passrc: pastree: Move option SemicolonAtEOL to new more generic class TPasImplCommandBase
git-svn-id: trunk@36622 -
2017-06-30 22:55:55 +00:00
maciej-izak
99f7c010a8 fcl-passrc: similar to r36619. New option SemicolonAtEOL for better control of TPasImplCommand (previously, semicolon was implicitly added for command for generated pascal code by paswrite.pp module for TPasImplCommand)
git-svn-id: trunk@36621 -
2017-06-30 22:47:18 +00:00
svenbarth
ad65ff5600 * insert symbol only once
git-svn-id: trunk@36620 -
2017-06-30 15:59:33 +00:00
maciej-izak
aaf7f5137e fcl-passrc: new option SemicolonAtEOL for better control of TPasImplCommands (previously, semicolon was implicitly added for each line for generated pascal code by paswrite.pp module for TPasImplCommands)
git-svn-id: trunk@36619 -
2017-06-30 13:35:24 +00:00
Károly Balogh
2d8313165d m68k: support FFU exception settings, also reworked FPU initalization
git-svn-id: trunk@36618 -
2017-06-30 02:38:14 +00:00
svenbarth
a301bf75ea * ngenutil.tnodeutils.sym_maybe_initialize: don't use "is" operator, but corresponding is_* functions
git-svn-id: trunk@36617 -
2017-06-29 18:51:35 +00:00
maciej-izak
6006c6a8bd fcl-passrc: paswrite: allow write TPasImplCommand and TPasImplCommands directly in TPasWriter.WriteElement. Useful way to build pascal code by using predfined code blocks.
git-svn-id: trunk@36616 -
2017-06-29 13:24:42 +00:00
maciej-izak
584ef096a0 fcl-passrc: paswrite: write interfaces GUID
git-svn-id: trunk@36615 -
2017-06-29 12:39:46 +00:00
Károly Balogh
4001435454 fixed typo in previous commit
git-svn-id: trunk@36614 -
2017-06-29 01:21:35 +00:00
Károly Balogh
a12111e1bd m68k: define safecall_is_cdecl on m68k too in tcalvar6 and tcalst6
git-svn-id: trunk@36613 -
2017-06-29 00:33:55 +00:00
Károly Balogh
358f8eb85d m68k: do not internalerror on localsize < 0. this condition is handled elsewhere in the compiler properly, so we just let it through
git-svn-id: trunk@36612 -
2017-06-29 00:11:19 +00:00
Károly Balogh
ad89a972e5 m68k: also have tf_safecall_clearstack flag defined for Linux
git-svn-id: trunk@36611 -
2017-06-28 23:55:17 +00:00
maciej-izak
3fd4e52345 fcl-passrc: paswrite: handled calling conventions for procedure declaration
git-svn-id: trunk@36610 -
2017-06-28 13:54:47 +00:00
Károly Balogh
0370d52f20 m68k: support longword to double conversions with the FPU, without a helper, better code for some other cases
git-svn-id: trunk@36609 -
2017-06-28 01:27:02 +00:00
maciej-izak
bcacbe1cba fcl-passrc: paswrite: proper write for properties (previously WriteProperty was not executed)
git-svn-id: trunk@36608 -
2017-06-27 12:52:58 +00:00