Jonas Maebe
a0d796e98d
* synchronised with trunk till r41159
...
git-svn-id: branches/debug_eh@41160 -
2019-02-01 17:01:54 +00:00
Károly Balogh
6c87b89e45
atari: fpc now searches for the compiler with .ttp extension, as that's the default on Atari
...
git-svn-id: trunk@41141 -
2019-01-30 10:48:27 +00:00
florian
2b6076a719
* compilation fixed
...
git-svn-id: trunk@41139 -
2019-01-29 22:06:32 +00:00
Jonas Maebe
e52cf555ab
* fix loading of constants in registers in the LLVM CG if the constant
...
does not fit in ptrsinttype
git-svn-id: trunk@41138 -
2019-01-29 21:39:26 +00:00
Jonas Maebe
2d01fe76f6
* initialse the cgpara for the C-style varargs on ARM (needed for LLVM)
...
git-svn-id: trunk@41137 -
2019-01-29 21:39:23 +00:00
Jonas Maebe
9c3e9e80a3
* fixed type correctness of and simplified the threadvar loading size
...
optimisation
git-svn-id: trunk@41135 -
2019-01-29 21:39:16 +00:00
Jonas Maebe
4869d0ace9
* perform extension of parameters to 32 bit for Darwin in the paraloc instead
...
of in the cgpara (cgpara should always correspond to the real parameter)
git-svn-id: trunk@41134 -
2019-01-29 21:39:12 +00:00
Jonas Maebe
04d295f186
* first step towards supporting 32 bit targets with the LLVM code generator:
...
use the generic code in more cases when cpuhighleveltarget is defined
git-svn-id: trunk@41133 -
2019-01-29 21:39:09 +00:00
florian
2f40f81890
+ sanity check
...
git-svn-id: trunk@41131 -
2019-01-29 20:40:41 +00:00
florian
afd4599d26
* correctly handle LDRD in TAoptBaseCpu.RegModifiedByInstruction
...
git-svn-id: trunk@41130 -
2019-01-29 20:40:40 +00:00
florian
acbf7d15c4
* do not load always the references into a register in g_concatcopy
...
git-svn-id: trunk@41129 -
2019-01-29 20:40:39 +00:00
florian
4db5478acc
+ support msr regf,reg32 on arm in the internal assembler
...
git-svn-id: trunk@41128 -
2019-01-29 20:38:51 +00:00
florian
a186f48442
* cosmetics
...
git-svn-id: trunk@41127 -
2019-01-29 20:17:47 +00:00
florian
6c88894999
* do not call the internal assembler if -s is passed
...
git-svn-id: trunk@41126 -
2019-01-29 20:16:12 +00:00
Károly Balogh
d1878fe5b2
morphos: support section GC with GNU LD as well
...
git-svn-id: trunk@41105 -
2019-01-29 05:02:18 +00:00
pierre
7817e48e9a
-Xr is also supported for systems_android
...
git-svn-id: trunk@41104 -
2019-01-28 17:43:15 +00:00
florian
597a23d278
+ tls support for x86_64-linux (not yet enabled by default)
...
git-svn-id: trunk@41081 -
2019-01-27 09:37:25 +00:00
pierre
29bcef2825
Fix compilation (with -st option) of compiler for macos OS target
...
git-svn-id: trunk@41065 -
2019-01-25 08:00:58 +00:00
florian
c7bb028d35
* factored out OptPass1FLD, used bx x86-64 now as well
...
- removed unused function
git-svn-id: trunk@41061 -
2019-01-24 20:10:29 +00:00
florian
6cb6517411
* better recognization of procedure exit code
...
git-svn-id: trunk@41060 -
2019-01-24 19:53:51 +00:00
florian
24f6cc0da5
* factored out OptPass1FSTP, used by x86-64 now as well
...
git-svn-id: trunk@41059 -
2019-01-24 19:38:32 +00:00
florian
cfd0790f89
* avoid assembler errors for the MovOpMov2MovOp optimziation in case the size of the instruction
...
gets changed and the first one contains a constant, resolves #34933
git-svn-id: trunk@41021 -
2019-01-23 21:02:14 +00:00
florian
8d3d5276d7
* open arrays and arrays of consts might be only stack tainting if they are passed by value
...
git-svn-id: trunk@41008 -
2019-01-22 21:58:05 +00:00
florian
4fb7b5d3ff
* fix MovOpMov2MovOp optimization if no -Cpcoreavx2 is used
...
git-svn-id: trunk@40979 -
2019-01-21 21:57:07 +00:00
florian
4f0da5fcc3
+ patch by Marģers to support the x86 assembler instructions blsi, blsr, blsmsk, adcx, adox, movbe, pclmulqdq, resolves #34815 and #34799
...
+ avxopcodes tests also movbe and pclmulqdq
git-svn-id: trunk@40951 -
2019-01-20 18:50:12 +00:00
Jonas Maebe
b3a8543a56
* synchronised with trunk till r40942
...
git-svn-id: branches/debug_eh@40943 -
2019-01-20 17:37:07 +00:00
florian
75a89d2115
* fix and enable MovOpMov2MovOp optimization on x86-64
...
git-svn-id: trunk@40941 -
2019-01-20 17:00:43 +00:00
florian
94d7a02fae
* modified patch by Gareth Moreton to pool TmpUsedRegs in the assembler optimizers, resolves #34679
...
git-svn-id: trunk@40938 -
2019-01-20 14:16:38 +00:00
florian
e24449bcfd
* if sub nodes of a commutative node contain conditionally executed nodes, these sub nodes might not be swapped
...
as this might result in some nodes not being executed, like temp. create nodes with init. code, see e.g. issue #34653 , resolves #34653
git-svn-id: trunk@40934 -
2019-01-20 12:55:20 +00:00
florian
925531b99c
* constrained generics are also compatible with formaldefs, resolves #34893
...
git-svn-id: trunk@40921 -
2019-01-19 21:23:36 +00:00
florian
6c82b2d1da
* -tls-dialect is not a as option, removed it, resolves #34901
...
git-svn-id: trunk@40920 -
2019-01-19 19:37:48 +00:00
pierre
bbede67175
Also add /usr/lib/CPU-linux-gnu to link directory list for mips and mipsel
...
git-svn-id: trunk@40905 -
2019-01-19 16:06:04 +00:00
florian
644c47e121
* when deciding about the case code generation in case of size optimization, the number of labels is relevant, not the covered range, resolves #34818
...
git-svn-id: trunk@40851 -
2019-01-13 10:32:00 +00:00
florian
b223d1c304
* modified patch by Gareth Moreton to make ie unique, resolves #34849
...
git-svn-id: trunk@40849 -
2019-01-12 14:44:54 +00:00
florian
8fceba4493
* properly allocate parameter registers for constants on avr, resolves #33932
...
git-svn-id: trunk@40848 -
2019-01-12 13:28:09 +00:00
pierre
1b16ff3629
Change default debugging format for x86_64-haiku to dwarf-2, as stabs is normally disabled on 64-bit systems
...
git-svn-id: trunk@40835 -
2019-01-10 14:40:05 +00:00
pierre
3e2b102a44
Add missing support for -PriscvXX and -Psparc64
...
git-svn-id: trunk@40833 -
2019-01-10 12:18:22 +00:00
pierre
22ea2bd624
Avoid warnings with -O4 option
...
git-svn-id: trunk@40821 -
2019-01-09 22:48:08 +00:00
Jonas Maebe
2b3fb18327
* fixed thlcg2ll.location_force_mmregscalar() after r40633
...
git-svn-id: trunk@40810 -
2019-01-08 19:23:20 +00:00
Károly Balogh
9ce876e2ae
haiku: move i386 also to internal sysinit
...
git-svn-id: trunk@40791 -
2019-01-07 12:58:02 +00:00
Jonas Maebe
51e68eb302
* fixed several places where the interface crc could change:
...
o unsetting po_inline while parsing the implementation for various reasons
(interprocedural goto/label, accessing a local in a parent frame,
having nested procedures)
o instead handle this via the pio_inline_not_possible flag
o noreturn can no longer be specified only in the implementation
git-svn-id: trunk@40789 -
2019-01-06 20:35:56 +00:00
Jonas Maebe
b2b34338e5
* give an error when trying to call an object instance method via a type node
...
(mantis #34821 )
git-svn-id: trunk@40785 -
2019-01-06 15:21:36 +00:00
Jonas Maebe
170ec00348
- removed withnode (was no longer used since a very long time)
...
git-svn-id: trunk@40777 -
2019-01-05 22:28:37 +00:00
Jonas Maebe
51b58f342f
* synchronised with trunk till r40775
...
git-svn-id: branches/debug_eh@40776 -
2019-01-05 22:12:28 +00:00
Jonas Maebe
91d5457b38
* moved around/replaced the following procedures to stop nflw from depending
...
on pdecsub (node units should not depend on parser units):
o maybe_add_public_default_java_constructor()
o handle_calling_convention()
o create_finalizer_procdef() (replaced with create_outline_procdef())
o insert_record_hidden_paras()
o handle_calling_convention()
o proc_add_definition()
o build_parentfpstruct()
o maybe_guarantee_record_typesym()
o get_first_proc_str()
* factored out the creation of a procinfo for a nested procdef based on a
subnodetree of the current procdef into tprocinfo.create_for_outlining()
git-svn-id: trunk@40773 -
2019-01-05 16:26:33 +00:00
Jonas Maebe
28df55fe08
* moved handle_calling_convention() to pparautl
...
git-svn-id: trunk@40772 -
2019-01-05 16:26:29 +00:00
Károly Balogh
5182dc37af
haiku-x86_64: regenerated all Makefiles, take 2
...
git-svn-id: trunk@40758 -
2019-01-04 03:18:42 +00:00
Károly Balogh
0d8ef46195
haiku: linker support code for internal sysinit and make the x86_64 port use it
...
git-svn-id: trunk@40756 -
2019-01-04 03:00:03 +00:00
Károly Balogh
2f7fe0e737
haiku-x86_64: add target to the compiler and ppudump, enable it in fpmake and fpcmake
...
git-svn-id: trunk@40753 -
2019-01-04 02:16:24 +00:00
Károly Balogh
1d7486748a
tabs to spaces cleanup. no functional change
...
git-svn-id: trunk@40752 -
2019-01-04 01:35:36 +00:00