Commit Graph

22860 Commits

Author SHA1 Message Date
florian
b7374401fd * fix taicpu.is_same_reg_move
git-svn-id: trunk@44647 -
2020-04-08 20:42:40 +00:00
florian
1dd914ffc8 + initial xtensa-linux rtl
git-svn-id: trunk@44636 -
2020-04-07 21:01:07 +00:00
florian
f99fbafabc + initial thlcgxtensa.g_intf_wrapper
git-svn-id: trunk@44622 -
2020-04-06 20:44:33 +00:00
florian
759803f268 * improve assembler reader
git-svn-id: trunk@44621 -
2020-04-06 20:44:32 +00:00
florian
2e23e2b0fd + optimize SUB for small constants using ADDI
git-svn-id: trunk@44620 -
2020-04-06 20:44:32 +00:00
florian
04f3784af5 * better setting of expectloc
git-svn-id: trunk@44619 -
2020-04-06 20:44:31 +00:00
pierre
9dd0a1f3b5 Fix ppudump after addition of system_xtensa_linux target
git-svn-id: trunk@44617 -
2020-04-06 06:43:05 +00:00
florian
79f74bf8cb + xtensa-linux added to systems_linux
git-svn-id: trunk@44614 -
2020-04-05 21:12:15 +00:00
florian
4836ff29bd + more instructions
git-svn-id: trunk@44613 -
2020-04-05 21:12:14 +00:00
florian
e8fabb752a + basic xtensa-linux support in the compiler
git-svn-id: trunk@44611 -
2020-04-05 21:12:12 +00:00
florian
0f06a7205b * do not create full copies of objects when object checking is on, resolves #36863
git-svn-id: trunk@44598 -
2020-04-05 16:26:10 +00:00
Károly Balogh
3509d277d0 amiga: use -mtype vlink argument instead of -sc -sd when doing section gc. this prevents merging the bss section into the data section and is more compatible with pre-v2.0 OS versions. needs vlink 0.16b or newer
git-svn-id: trunk@44559 -
2020-04-04 11:08:45 +00:00
florian
96a368fdf9 * building on non-x86/non-xtensa fixed
git-svn-id: trunk@44551 -
2020-04-03 20:40:36 +00:00
florian
3705f95b92 * compilation fixed
git-svn-id: trunk@44545 -
2020-04-03 20:15:27 +00:00
florian
af8202be3d * compilation for non-Xtensa targets fixed
git-svn-id: trunk@44543 -
2020-04-03 20:15:26 +00:00
florian
fc98a0db4f * cosmetics
git-svn-id: trunk@44542 -
2020-04-03 20:15:25 +00:00
florian
c1c201f93c * Xtensa: fix passing of floating point parameters
git-svn-id: trunk@44541 -
2020-04-03 20:15:24 +00:00
florian
66cbee5e31 * factor out first_addfloat_soft
git-svn-id: trunk@44540 -
2020-04-03 20:15:24 +00:00
florian
fa4cbc89a5 + Xtensa: hard float support, i.e. make use of floating point extension if available
git-svn-id: trunk@44539 -
2020-04-03 20:15:23 +00:00
florian
ba3de67f3b + Xtensa: the boolean extension is used as flags
git-svn-id: trunk@44538 -
2020-04-03 20:15:22 +00:00
Jonas Maebe
d5de84c6c5 * use typenames in more cases in the generated LLVM IR (results in smaller
IR in textual form)

git-svn-id: trunk@44518 -
2020-04-02 21:21:44 +00:00
Jonas Maebe
afd0ae44ee * use tprocvardef.getreusableprocaddr also for non-address-only copies of
proc(var)defs

git-svn-id: trunk@44517 -
2020-04-02 21:21:40 +00:00
Jonas Maebe
4ba19f5418 * add support for creating non-address-only procvars to
cprocvar.getreusableprocaddr()

git-svn-id: trunk@44516 -
2020-04-02 21:21:36 +00:00
florian
b033ccbddb * cleanup
git-svn-id: trunk@44515 -
2020-04-02 20:04:03 +00:00
florian
44d9498eff * cosmetics
git-svn-id: trunk@44514 -
2020-04-02 20:04:02 +00:00
florian
ba9e930556 * Xtensa: set fpu type dependending on the controller
git-svn-id: trunk@44495 -
2020-04-01 20:08:23 +00:00
florian
c2cf21d176 + Xtensa: boolean registers * Xtensa: register numbers of floating point registers corrected
git-svn-id: trunk@44494 -
2020-04-01 20:08:22 +00:00
florian
1e0640c9e9 * Xtensa: FreeRTOS uses windowed calling convention
git-svn-id: trunk@44493 -
2020-04-01 20:08:21 +00:00
florian
b41c8342c8 * Xtensa: reduce stack usage
git-svn-id: trunk@44492 -
2020-04-01 20:08:20 +00:00
florian
a96a43d0d8 * Xtensa: spilling for bigger offsets fixed
git-svn-id: trunk@44464 -
2020-03-31 19:33:12 +00:00
florian
5ef1ede0a4 * xtensa-freertos: enable softfloat for now
git-svn-id: trunk@44463 -
2020-03-31 19:33:11 +00:00
florian
e147e191ca * ESP32: set flash size to a resonable value (assumes external flash for now)
git-svn-id: trunk@44462 -
2020-03-31 19:33:11 +00:00
florian
aab0884182 + Xtensa: generate all helper files to fpc can successfully compile a single program
git-svn-id: trunk@44461 -
2020-03-31 19:33:10 +00:00
Károly Balogh
84e36cce0f * fix morphos info unit name after r44454
git-svn-id: trunk@44456 -
2020-03-31 05:12:59 +00:00
Károly Balogh
8bdcf4273d * darwin: remove some leftover resource-spec structures from i_bsd, clean up some related darwin specific int/ext resource handling in options
git-svn-id: trunk@44455 -
2020-03-31 04:57:08 +00:00
Károly Balogh
69fb20784a * fix source info for darwin (and some other systems), this fixes darwin hosted cross builds after r44407
git-svn-id: trunk@44454 -
2020-03-31 04:53:38 +00:00
florian
8e929b2879 * make TLinkerInfo fields ansistrings as xtensa-freertos needs long command lines
git-svn-id: trunk@44440 -
2020-03-30 20:42:56 +00:00
florian
3135effee3 * Xtensa: returning of 32 Bit values fixes
git-svn-id: trunk@44439 -
2020-03-30 20:42:55 +00:00
florian
26db93d78c * Xtensa: shift operations fixed
git-svn-id: trunk@44438 -
2020-03-30 20:42:55 +00:00
Jonas Maebe
79974a9671 + -XlS<x> option to specify a suffix for externally called LLVM utilities,
e.g. -XlS-7 to call clang-7 instead of clang)
  * IMPORTANT: changed the -CL llvm code generation options to -Cl, for
    consistency with the new -Xl option (-XL was already taken)

git-svn-id: trunk@44436 -
2020-03-30 19:58:49 +00:00
Jonas Maebe
10b15628ab * split i/t_darwin from i/t_bsd, as they don't have that much in common
any more

git-svn-id: trunk@44407 -
2020-03-29 18:27:27 +00:00
florian
1f00875f8c * fix ppudump after addition of freertos-xtensa
git-svn-id: trunk@44405 -
2020-03-29 17:13:48 +00:00
florian
0d41d86dd2 * Xtensa: use generic tcpuparamanager.getcgtempparaloc
git-svn-id: trunk@44404 -
2020-03-29 17:13:47 +00:00
florian
b51f3d6e53 * Xtensa: fix TCPUAddNode.second_cmp
git-svn-id: trunk@44403 -
2020-03-29 17:13:47 +00:00
florian
0a40d927cb * Xtensa: fix tcgcpu.a_cmp_reg_reg_label
git-svn-id: trunk@44402 -
2020-03-29 17:13:46 +00:00
florian
b787efb7fd * Xtensa: tcgcpu.g_concatcopy fixed: keep registers alive
git-svn-id: trunk@44401 -
2020-03-29 17:13:46 +00:00
florian
391512546e + initial FreeRTOS RTL support, largely based on the Embedded target, limited to Xtensa so far
git-svn-id: trunk@44400 -
2020-03-29 17:13:45 +00:00
Jonas Maebe
429b3744c4 * fpc: don't search for compiler binary in current directory when paramstr(0)
does not contain a path (unless the current directory is also in the PATH)

git-svn-id: trunk@44395 -
2020-03-29 14:52:45 +00:00
Jonas Maebe
3b8979210d * check target system instead of using an ifdef
git-svn-id: trunk@44394 -
2020-03-29 14:52:41 +00:00
florian
a9a85711d5 * Xtensa: fix tcpunotnode.second_boolean
git-svn-id: trunk@44385 -
2020-03-28 15:47:47 +00:00