Commit Graph

62262 Commits

Author SHA1 Message Date
Jonas Maebe
7b5e58382b * regenerated
git-svn-id: trunk@49141 -
2021-04-08 19:50:37 +00:00
Jonas Maebe
0eb9dd3879 * Darwin support for printing line info for backtraces when using Dwarf,
based on patches by Colin Western, mantis #38483)
   o requires that the program/library is compiled with -Xg (or that
     dsymutil is run on it after compiling), and that the .dSYM bundle
     is in the same directory as the program/library
   o always use the "dl" unit in exeinfo for Darwin, as that's needed for
     dynamic library support, and this does not cause an extra dependency
     since on Darwin we always use libc
   o cleaned up the exeinfo unit for Darwin, and sped it up by using mmap
     instead of small reads
   o fixed unit dependencies for exeinfo, lineinfo and lnfodwarf in Darwin
     RTL Makefile
  * use the process address info from the original exe even when reading
    the debug information from an external file
  - removed outdated ifdef'd darwin code from dl.pp (no longer needed now
    that processaddress gets set correctly in exeinfo for that platform)

git-svn-id: trunk@49140 -
2021-04-08 19:50:34 +00:00
Jonas Maebe
4166e8c464 * Darwin/BSD: fixed StackBottom calculation
git-svn-id: trunk@49139 -
2021-04-08 19:50:30 +00:00
Jonas Maebe
ca399f3c71 * don't generate high-level CFI statements when the selected assembler
does not support them, even if the target normally uses them
   o fixes assembling with -Aas-darwin for i386/arm/x86-64 (on OS
     versions that used those)

git-svn-id: trunk@49138 -
2021-04-08 19:50:27 +00:00
Jonas Maebe
1b34fe90a3 * don't override specified assembler on the command line when leaving
assembler files in case that specified assembler is already an
    external one

git-svn-id: trunk@49137 -
2021-04-08 19:50:24 +00:00
Jonas Maebe
4c40e7f9d6 * Darwin: fixed calling dsymutil when _not_ skipping the linking step
git-svn-id: trunk@49136 -
2021-04-08 19:50:21 +00:00
florian
c90616944d + Aarch64: create better code for not(<byte>)
git-svn-id: trunk@49135 -
2021-04-08 17:21:59 +00:00
pierre
44e39f454a Add basic support for setting argc and argv for sinclairql OS
git-svn-id: trunk@49134 -
2021-04-07 15:58:42 +00:00
pierre
3ac0522f70 Add sinclairql to NO_NATIVE_COMPILER_OS_LIST
git-svn-id: trunk@49133 -
2021-04-07 15:49:31 +00:00
florian
9a39124118 * Xtensa: fix crash in TCpuAsmOptimizer.RegLoadedWithNewValue
git-svn-id: trunk@49132 -
2021-04-07 13:54:58 +00:00
pierre
103599ede0 Delete existing files before overwriting them for Darwin OS to avoid codesign issues
git-svn-id: trunk@49131 -
2021-04-06 22:43:21 +00:00
pierre
432cd5bdd3 Update after commit 49123
git-svn-id: trunk@49130 -
2021-04-06 21:14:42 +00:00
florian
9ec85f940e * do not remove register deallocations/allocation pairs if the register is written
git-svn-id: trunk@49129 -
2021-04-06 19:16:17 +00:00
florian
503fc85dff * patch by J. Gareth Moreton: handle register allocations correctly in MovMov2Mov 3, resolves #38703
git-svn-id: trunk@49128 -
2021-04-06 15:50:28 +00:00
florian
05cf47f995 * AVR: fixed TCpuAsmOptimizer.RegLoadedWithNewValue
git-svn-id: trunk@49126 -
2021-04-06 11:49:48 +00:00
marco
aead0528cf * attempt to fix mantis #28321. Use path of project file as base of chm.
git-svn-id: trunk@49125 -
2021-04-05 19:29:19 +00:00
florian
e4cc8af8fc * Makefiles regenerated
git-svn-id: trunk@49124 -
2021-04-05 15:39:07 +00:00
florian
fe06cddbbf * pass suitable sysroot to aarch64-darwin compiler, if none is supplied by SYSROOTPATH
git-svn-id: trunk@49123 -
2021-04-05 15:38:37 +00:00
Mattias Gaertner
204f2a3bc1 pastojs: fixed multi add element position
git-svn-id: trunk@49122 -
2021-04-05 10:28:52 +00:00
Mattias Gaertner
d28cf7c393 fcl-passrc: comment
git-svn-id: trunk@49121 -
2021-04-05 10:27:58 +00:00
Mattias Gaertner
c28ab0a8b8 fcl-passrc: fixed resolve multi add
git-svn-id: trunk@49120 -
2021-04-05 10:19:14 +00:00
florian
755c574a87 + lazarus project
git-svn-id: trunk@49119 -
2021-04-04 14:54:56 +00:00
florian
87a67a3222 * typo fixed
git-svn-id: trunk@49118 -
2021-04-03 22:01:47 +00:00
florian
08817f1aed * fixes to deadstore optimization
git-svn-id: trunk@49117 -
2021-04-03 21:28:09 +00:00
marco
1edc9cd01b * patch from mantis 37205, add OS X sysctl constants
git-svn-id: trunk@49115 -
2021-04-03 19:42:11 +00:00
Jeppe Johansen
d12dd1bdae * CortexM4: Add some missing system registers
git-svn-id: trunk@49114 -
2021-04-03 18:13:51 +00:00
florian
e6f01065ec + Aarch64: use LSE if available for atomic intrinsics
git-svn-id: trunk@49113 -
2021-04-03 11:59:36 +00:00
florian
f3d8efc8ec * Aarch64: support LSE instructions
git-svn-id: trunk@49112 -
2021-04-03 11:30:23 +00:00
florian
f879d76491 * forgotten " added
git-svn-id: trunk@49109 -
2021-04-02 21:41:31 +00:00
florian
f38f9ff930 * Aarch64: cpu capabilites defines properly named
* Aarch64: enable defining cpu capabilites

git-svn-id: trunk@49108 -
2021-04-02 20:57:12 +00:00
florian
9e7d80a8bd * Aarch64: the M1 is an ARM v8.4-a CPU
git-svn-id: trunk@49107 -
2021-04-02 19:52:00 +00:00
florian
3999d037e3 + write controller unit wiht -ix as well
git-svn-id: trunk@49106 -
2021-04-02 17:13:11 +00:00
florian
bf65bad5c5 + Aarch64: cpu_capabilities support
git-svn-id: trunk@49105 -
2021-04-02 17:08:34 +00:00
florian
f0023a3b04 * Aarch64: patch by J. Gareth Moreton: fix constant writing, resolves #38695
+ test

git-svn-id: trunk@49104 -
2021-04-02 16:44:43 +00:00
svenbarth
e53d18d876 * Windows on ARM64 adheres to the usual Aarch64 ABI, thus references need to be copied on the caller side as well
git-svn-id: trunk@49103 -
2021-04-02 15:25:05 +00:00
svenbarth
2885d3ab56 * fix for Mantis #37426: don't allow an instance function of a type helper to be used on the type instead of a concrete value
+ added test

git-svn-id: trunk@49102 -
2021-04-02 15:25:01 +00:00
marco
787798e96f * split propsheetheader in -A and -W variants.
git-svn-id: trunk@49101 -
2021-04-02 14:54:40 +00:00
Jeppe Johansen
d712c64236 * thumb2: Optimize fillchar a bit more with a wider inner loop chunk size
git-svn-id: trunk@49100 -
2021-04-01 20:55:21 +00:00
florian
682e29c4ff + enable colored output on darwin, resolves #38693
git-svn-id: trunk@49099 -
2021-04-01 16:32:52 +00:00
Jeppe Johansen
8b779975aa * thumb2: Make fillchar smaller, faster and more reliable. Some gas versions remove the "mov r0,r0" making the calculated branch break
git-svn-id: trunk@49098 -
2021-04-01 12:36:06 +00:00
florian
7811b915a9 * x86-64: we can spill replace 32 bit operations if the operation does not modify a register
git-svn-id: trunk@49097 -
2021-03-31 21:23:22 +00:00
pierre
8ea95e9b95 Use value $00000F00 instead of $F0000000 for IF_FPMASK, and adapt all floating point constants, to avoid IF_VFPv4 having the same value as IF_PASS2
git-svn-id: trunk@49096 -
2021-03-31 21:03:50 +00:00
florian
cc64d9eb4e * do not swap left/right code generation for assignment nodes if
conditional expressions are involved, resolves #38129

git-svn-id: trunk@49095 -
2021-03-31 20:53:18 +00:00
pierre
c8c6e647be Avoid keeping optimized out node in callcleanupblock.statements or callinitblock.statements
git-svn-id: trunk@49094 -
2021-03-31 20:53:08 +00:00
Mattias Gaertner
b5a8164233 pastojs: specialzie anonymous function
git-svn-id: trunk@49093 -
2021-03-31 20:50:37 +00:00
florian
07a8e6c1d6 + some more change information entries added
git-svn-id: trunk@49092 -
2021-03-31 18:53:31 +00:00
michael
a8df728548 * Apparently, taking code from freeclx is not OK
git-svn-id: trunk@49091 -
2021-03-30 22:11:26 +00:00
florian
bc4a22e24d + Xtensa: tcpuinlinenode.second_prefetch
git-svn-id: trunk@49090 -
2021-03-30 21:43:20 +00:00
florian
aa1a68000b * prefetch instructions read only the operand
git-svn-id: trunk@49089 -
2021-03-30 21:24:00 +00:00
florian
47557e0ad2 * cpubase.cgsize2subreg should handle all valid sizes, resolves #38557
git-svn-id: trunk@49087 -
2021-03-30 16:44:19 +00:00