Commit Graph

22841 Commits

Author SHA1 Message Date
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
florian
d1bbfe4cf7 + Xtensa: implemented tcputypeconvnode.second_int_to_bool
git-svn-id: trunk@44384 -
2020-03-28 15:47:46 +00:00
florian
8fd53df3cd * Xtensa: system_xtensa_embedded is an embedded system
git-svn-id: trunk@44383 -
2020-03-28 15:47:45 +00:00
florian
f51a893d1d * Xtensa: align literals properly
git-svn-id: trunk@44382 -
2020-03-28 15:47:45 +00:00
florian
db71a9428a * Xtensa: proper code generation for unit initialization
git-svn-id: trunk@44381 -
2020-03-28 15:47:44 +00:00
pierre
41e554067a Fix handling of parameters with size below the size of a full register
git-svn-id: trunk@44380 -
2020-03-28 13:13:04 +00:00
florian
17298086ca * Xtensa: improved handling of calling conventions
git-svn-id: trunk@44379 -
2020-03-27 22:14:18 +00:00
florian
0290f364cc * Xtensa: parameter passing for the windowed abi
git-svn-id: trunk@44378 -
2020-03-27 22:14:18 +00:00
florian
e858343c38 * Xtensa: no scheduler yet but loops can be unrolled
git-svn-id: trunk@44377 -
2020-03-27 22:14:17 +00:00
florian
28154cebd1 * Xtensa: fix txtensanodeutils.insert_init_final_table for the windowed abi
git-svn-id: trunk@44376 -
2020-03-27 22:14:17 +00:00
Jonas Maebe
523ebb42cf * fix LLVM backend compilation (mantis #36833)
git-svn-id: trunk@44374 -
2020-03-27 21:26:39 +00:00
florian
c239ae9414 * Xtensa: generate long calls
git-svn-id: trunk@44371 -
2020-03-26 21:54:41 +00:00
florian
d7126bd42c + Xtensa: initial support of the windowed abi
git-svn-id: trunk@44370 -
2020-03-26 21:54:41 +00:00
florian
7e4ee79e65 * Xtensa: more fixes for load_reg/ref_reg/ref
git-svn-id: trunk@44369 -
2020-03-26 21:54:40 +00:00
florian
47f6af4416 * Xtensa: improve tcgcpu.fixref
git-svn-id: trunk@44368 -
2020-03-26 21:54:40 +00:00
florian
5631acc401 * Xtensa: fix load_reg/ref_reg/ref
git-svn-id: trunk@44367 -
2020-03-26 21:54:39 +00:00
florian
f976083e7f * Xtensa: set correct frame pointer register
git-svn-id: trunk@44366 -
2020-03-26 21:54:38 +00:00
florian
639f1c476f + Xtensa: tcpuinlinenode.second_abs_long
git-svn-id: trunk@44364 -
2020-03-25 21:17:05 +00:00
florian
2a957e77bf + Xtensa: initial implementation of tcgcpu.g_proc_entry
git-svn-id: trunk@44363 -
2020-03-25 21:17:04 +00:00
florian
705218fef1 + Xtensa: tcg64fxtensa.a_op64_const_reg
git-svn-id: trunk@44362 -
2020-03-25 21:17:04 +00:00