Commit Graph

8567 Commits

Author SHA1 Message Date
Sebastien Bourdeauducq e0ac1193c6 compiler/ir: support function calls in expressions 2014-07-06 21:06:01 +02:00
Sebastien Bourdeauducq 2aa63ba57d examples/coredev_test: print prime numbers 2014-07-06 18:29:02 +02:00
Sebastien Bourdeauducq 2f334589f0 examples/coredev_test: use CoreCom as a context manager 2014-07-05 22:53:48 +02:00
Sebastien Bourdeauducq b152ecca1f examples: core device LED test 2014-07-05 22:48:27 +02:00
Sebastien Bourdeauducq 61c0b65323 devices/runtime: machine code emission 2014-07-05 22:48:14 +02:00
Sebastien Bourdeauducq 1aac985f10 devices/core: compile to machine code and run on hardware 2014-07-05 22:47:54 +02:00
Sebastien Bourdeauducq 5570d45acb runtime: run kernel just once 2014-07-05 22:47:23 +02:00
Sebastien Bourdeauducq 301b7d51fa add gpio_out syscall 2014-07-05 22:46:43 +02:00
Sebastien Bourdeauducq 37cd4e7e86 devices: add simple GPIO out 2014-07-05 22:45:08 +02:00
Sebastien Bourdeauducq a8ef4d8b91 compiler/ir: create machine code from kernel statements 2014-07-05 22:44:54 +02:00
Sebastien Bourdeauducq d804f1199e soc: add LED 2014-07-05 22:44:20 +02:00
Sebastien Bourdeauducq a08c6d4410 runtime: support regular function calls from the kernel 2014-07-05 19:39:49 +02:00
Sebastien Bourdeauducq de238503d2 devices/runtime: use regular function call instead of syscall 2014-07-05 19:39:05 +02:00
Sebastien Bourdeauducq 99c99484ae compiler/ir: load into device 2014-07-05 19:38:45 +02:00
Sebastien Bourdeauducq 0c2c355088 gitignore: add runtime binaries 2014-07-05 19:38:26 +02:00
Sebastien Bourdeauducq 711be75c35 compiler/ir: pass arguments to syscall 2014-07-05 19:13:05 +02:00
Sebastien Bourdeauducq 6b8ac5ae7b devices: add basic core device serial comms driver 2014-07-05 19:12:21 +02:00
Sebastien Bourdeauducq 29bd6e377d core_dds -> dds_core 2014-07-04 17:57:53 +02:00
Sebastien Bourdeauducq 10db450098 Minor cleanup 2014-07-04 17:50:35 +02:00
Sebastien Bourdeauducq 6072f0c42f Basic SoC and runtime design 2014-07-04 17:49:08 +02:00
Sebastien Bourdeauducq 71323fb7cd compiler: system calls 2014-07-04 17:17:01 +02:00
Sebastien Bourdeauducq c4f49e7dff llvm_or1k_setup.txt: we are still using llvm 3.3 opcode numbers 2014-06-24 17:45:44 +02:00
Sebastien Bourdeauducq 74cdafdde5 compiler: interleave transform 2014-06-22 18:52:37 +02:00
Sebastien Bourdeauducq 6ea0430cec compiler/ir: simplify type dictionaries 2014-06-22 00:04:46 +02:00
Sebastien Bourdeauducq b28fdf5fb0 compiler: add unroll_loops transform 2014-06-21 15:06:15 +02:00
Sebastien Bourdeauducq 5a8074a12f compiler: propagate AST node location info 2014-06-21 14:53:09 +02:00
Sebastien Bourdeauducq c71eb702bb tools/make_stmt_transformer: pass args/kwargs 2014-06-21 12:13:28 +02:00
Sebastien Bourdeauducq c3092ae13f compiler: factorize operation of NodeTransformer on statement lists 2014-06-21 00:40:52 +02:00
Sebastien Bourdeauducq 6400e28e4c compiler: fold constants 2014-06-21 00:19:56 +02:00
Sebastien Bourdeauducq 94ff2e2ddc compiler: share value_to_ast 2014-06-21 00:19:40 +02:00
Sebastien Bourdeauducq 5b0fd50dbe inline: support rw kernel attributes 2014-06-18 21:04:54 +02:00
Sebastien Bourdeauducq 67e042852a Add simple simulation example 2014-06-18 13:43:09 +02:00
Sebastien Bourdeauducq d41ac863f4 inline: support kernel_attr_ro 2014-06-17 19:46:22 +02:00
Sebastien Bourdeauducq 0d9bdc101c inline: check inlined functions are on the same core device 2014-06-17 18:52:48 +02:00
Sebastien Bourdeauducq 08ab99d33e inline: basic function inlining 2014-06-17 18:37:51 +02:00
Sebastien Bourdeauducq d87b207b8a compiler/inline: embeddable calls 2014-06-16 23:52:19 +02:00
Sebastien Bourdeauducq 8cb3d33c67 compiler_test: better RPC example 2014-06-16 23:51:43 +02:00
Sebastien Bourdeauducq 79f20ebfcf Make syscall an experiment function instead of a core method 2014-06-16 23:51:27 +02:00
Sebastien Bourdeauducq 9db8627081 compiler: generate RPC calls 2014-06-16 22:56:08 +02:00
Sebastien Bourdeauducq 792ac44245 inline: return statements 2014-06-16 22:01:20 +02:00
Sebastien Bourdeauducq c021b2ef41 compiler/inline: handle function params and builtin calls 2014-06-16 21:52:38 +02:00
Sebastien Bourdeauducq f035507bac language/experiment: attach k_function_info in kernel decorator, do not use star notation for kernel args 2014-06-16 21:51:58 +02:00
Sebastien Bourdeauducq 903cbfd848 compiler_test: demo parameters and constant globals 2014-06-16 21:39:33 +02:00
Sebastien Bourdeauducq 733a03b7ad cleanup 2014-06-16 21:35:08 +02:00
Sebastien Bourdeauducq d63c3264d3 devices/core: test inline transform first 2014-06-16 21:33:59 +02:00
Sebastien Bourdeauducq 7ec448cdc9 compiler: inline transform WIP 2014-06-10 15:23:14 +02:00
Sebastien Bourdeauducq 3cd462f4d5 experiment: simplify definition of kernel_attr 2014-06-10 15:22:27 +02:00
Sebastien Bourdeauducq 8cc9c9eed6 units: remove duplicate method 2014-06-10 15:16:45 +02:00
Sebastien Bourdeauducq 7eb9641905 compiler: share eval_ast 2014-06-10 15:16:28 +02:00
Sebastien Bourdeauducq d7f9e6b228 experiment: add list of kernel globals 2014-06-10 15:16:04 +02:00