Commit Graph

276 Commits

Author SHA1 Message Date
Jinyang He
3d2c96ebbf Add loongarch64 linux support to compiler 2023-02-05 19:18:48 +00:00
Jinyang He
12c4290ffe Add loongarch64 architecture support to compiler 2023-02-05 19:18:48 +00:00
florian
048385fd7f * compilation fixed 2023-01-28 11:42:52 +01:00
Sven/Sarah Barth
19cee9b841 + mark the def for a capturer class with a corresponding object option 2022-11-06 22:01:48 +01:00
Pierre Muller
ae12a79bf7 Avoid string truncation 2022-10-30 10:59:31 +01:00
Sven/Sarah Barth
6cbbf9c52a * $P/$OpenStrings is supposed to be a local switch, so change that accordingly
+ added tests
2022-10-08 13:52:32 +02:00
Jonas Maebe
403292a131 LLVM backend: address sanitizer support
Activate with -Clfsanitize=address. Only tested on Darwin/x86-64 for now.
2022-07-06 22:26:13 +02:00
florian
d2a1f9cb20 * get rid of cs_opt_none
* $O+ sets cs_opt_level2 instead of cs_opt_none which made no sense
2022-06-18 20:13:03 +02:00
florian
98ec81896e * do not throw messages on potentially uninitialized internal symbols, resolves #39744 2022-06-15 23:30:33 +02:00
florian
c13517634f * patch by Rika: Replace some instances of manual work with endianness with cryptic oneliners, resolves #39719 2022-06-08 22:59:39 +02:00
Nikolay Nikolov
bf41245549 * fixed compilation of ppudump 2022-05-28 01:26:17 +03:00
Sven/Sarah Barth
4dbdb4f0f1 + initial support for anonymous functions, for now as essentially nested functions
Based on work by Blaise.ru
2022-05-26 21:43:00 +02:00
Sven/Sarah Barth
4e4d268963 + add modeswitch for anonymous functions 2022-05-26 21:43:00 +02:00
Sven/Sarah Barth
f0748ad59b + add flag to denote that an objectdef is invokable, thus can be used like a function variable 2022-05-26 21:42:57 +02:00
Sven/Sarah Barth
b28495a423 + add flag to denote an object def as a function reference 2022-05-26 21:42:56 +02:00
Sven/Sarah Barth
2912e38e91 + add modeswitch for anonymous function and function references 2022-05-26 21:42:56 +02:00
Sven/Sarah Barth
6a6a17717a + add a new symoption for symbols created for nameless types during implicit function specialization so that they can be recognized 2022-05-26 21:42:52 +02:00
Sven/Sarah Barth
90844c2027 * fix #35261: apply slightly adjusted changes by Ryan Joseph to implement support for implicit generic function specializations
The main adjustments were as follows:
  - fixing coding style and identation
  - fixing some typos
  - using a better name for the property in tcallcandidates which holds the symbols created for anonymous parameter values
2022-04-20 18:59:31 +02:00
florian
e9e8013316 + some basic stuff for MIPS64 2022-02-05 23:25:31 +01:00
Robert Roland
53e5a4a03a Adding aaarch64-embedded target
This adds support for aarch64-embedded, specifically for the Raspberry Pi 3.

Uses UART0 at 115200 baud 8N1 for console IO.
2022-01-05 12:29:00 +00:00
florian
2a93e65511 * seperator => separator 2022-01-02 13:12:33 +01:00
florian
d2447026de + modeswitch UNDERSCOREISSEPERATOR, active by default in delphi modes:
support _ as seperator in numbers, it is ignored while reading them, resolves #39504
2022-01-01 23:28:36 +01:00
Florian Klämpfl
a47f153dae * avoid to create a stack frame on aarch64 if possible 2021-11-02 22:23:24 +01:00
florian
dcb1fcd9b8 + support $lgeacyifend directive, resolves #37676 2021-11-01 23:24:42 +01:00
Nikolay Nikolov
9a85ac204c + fixed compilation of ppudump 2021-10-04 00:29:27 +03:00
Nikolay Nikolov
21fd8cd5d3 * updated ppudump with the new asm symbol types and binding types 2021-09-28 03:01:09 +03:00
Nikolay Nikolov
cd244cbf7d * fixed compilation of ppudump 2021-09-16 21:48:28 +03:00
florian
1e072aef31 + for loop optimizations can be controller by a switch (-Oo(no)forloop) 2021-09-12 10:54:46 +02:00
florian
468975aa30 + move often used floating point constants into registers 2021-09-05 18:19:58 +02:00
Jonas Maebe
d8021a1102 + FreeBSD/AArch64 support (patch by Mikaël Urankar, mantis #38441)
git-svn-id: trunk@49157 -
2021-04-10 07:57:28 +00:00
nickysn
9fa61a6c9f - removed the discardresult proc directive
git-svn-id: trunk@49017 -
2021-03-20 01:22:43 +00:00
nickysn
940738a3a1 * synchronized with trunk
git-svn-id: branches/wasm@48846 -
2021-03-01 13:21:24 +00:00
florian
34f7c3e6d4 + array defs. of open arrays are now marked by ado_OpenArray, so (internally!) zero sized array can be declared with 0..-1
git-svn-id: trunk@48758 -
2021-02-21 18:45:58 +00:00
nickysn
64bb0359d2 * synchronized with trunk
git-svn-id: branches/wasm@48412 -
2021-01-24 23:38:35 +00:00
pierre
268f7bfb5c Add cs_generate_uf2 entry into ppudump
git-svn-id: trunk@48398 -
2021-01-24 14:45:25 +00:00
nickysn
811b27ade5 * fixed compilation of ppudump
git-svn-id: branches/wasm@48367 -
2021-01-24 01:53:48 +00:00
nickysn
ed26d54e3b * synchronized with trunk
git-svn-id: branches/wasm@48102 -
2021-01-07 07:21:01 +00:00
svenbarth
6160abe37e * have the generic dummy symbols for procsyms keep track of their overloaded generic procsyms so that they can be easily found (will be needed for implicit specializations)
git-svn-id: trunk@48096 -
2021-01-06 12:57:59 +00:00
nickysn
aeafe42144 * synchronized with trunk
git-svn-id: branches/wasm@47653 -
2020-12-01 03:27:01 +00:00
florian
792b629aa6 + -Xa option: generate code which allows to use more than 2 GB of static data on 64 Bit targets
+ implemented support for x86-64
  * more than 2 GB static data requires to use the --no-relax option on linux

git-svn-id: trunk@47651 -
2020-11-30 22:07:34 +00:00
nickysn
c895c8fa0a * synchronized with trunk
git-svn-id: branches/wasm@47506 -
2020-11-20 23:21:42 +00:00
pierre
c06a931d5b Add separate cs_assemble_on_target tglobalswitch entry
git-svn-id: trunk@47486 -
2020-11-20 14:14:46 +00:00
nickysn
d3d51d2f7e * synchronized with trunk
git-svn-id: branches/wasm@47338 -
2020-11-07 22:40:43 +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
Jonas Maebe
312f1436b1 * changed TIDString and tsymentry.realname to TSymStr
o for TIDString: prevents shortstring -> ansistring conversions with
     -dsymansistr when looking up symbols
   o for realname: consistency with name

git-svn-id: trunk@47301 -
2020-11-03 21:34:22 +00:00
nickysn
84f5c15928 * synchronized with trunk
git-svn-id: branches/wasm@46476 -
2020-08-17 21:54:29 +00:00
yury
15d1d00c34 * fixed a typo.
git-svn-id: trunk@46473 -
2020-08-17 14:23:27 +00:00
nickysn
4d3fbfba8b * fixed compilation of ppudump
git-svn-id: branches/wasm@46291 -
2020-08-06 14:44:15 +00:00
nickysn
92f6840721 * more wasm -> wasm32 renames
git-svn-id: branches/wasm@46257 -
2020-08-05 14:44:34 +00:00
Károly Balogh
d7122c6338 z80: preserve system ID and linker ID for the Amstrad CPC
git-svn-id: trunk@45831 -
2020-07-23 11:57:20 +00:00