Commit Graph

1459 Commits

Author SHA1 Message Date
whitequark 244ace19e1 Add artiq_raise_from_c macro. 2015-07-27 13:56:18 +03:00
whitequark edffb40ef2 On uncaught exception, execute finally clauses and collect backtrace. 2015-07-27 13:51:24 +03:00
whitequark 2939d4f0f3 Add tests for finally clause and reraising. 2015-07-27 12:36:21 +03:00
whitequark a83e7e2248 Add tests for exceptional control flow. 2015-07-27 10:22:28 +03:00
whitequark 90be44c596 Add tests for non-exceptional control flow across finally. 2015-07-27 10:13:22 +03:00
whitequark 7c77dd317a Implement __artiq_personality. 2015-07-27 09:10:20 +03:00
whitequark bb5fe60137 Implement exception raising. 2015-07-27 05:46:43 +03:00
whitequark ef4a06a270 Merge branch 'master' into new-py2llvm 2015-07-27 04:57:32 +03:00
whitequark 905abd6e27 get-toolchain.sh: be less verbose. 2015-07-27 04:57:13 +03:00
whitequark 47f13bf921 Always load the personality library in JIT testbench, if available. 2015-07-27 04:44:40 +03:00
whitequark 14c7b15785 Add a test harness for exceptions.
The libunwind.h is duplicated here so that it would be possible
to test the Python parts without pulling in misoc.
2015-07-27 04:18:12 +03:00
whitequark 862ac1f90d lit-test/compiler -> lit-test/test.
Other directories in lit-test will host various parts of
the test harness.
2015-07-27 04:13:29 +03:00
whitequark 7903889082 Merge branch 'master' into new-py2llvm 2015-07-27 03:29:00 +03:00
Robert Jördens d65d303ac6 pipistrello: remove unused constraint kwarg 2015-07-26 17:39:07 -06:00
whitequark 1d9f40833d Update ldscripts with -fPIC support. 2015-07-26 16:16:48 +03:00
whitequark d252a00b56 Add prebuilt or1k-linux binutils and or1k llvm for travis. 2015-07-26 14:12:48 +03:00
whitequark cf16da5763 Add a setuptools command to rsync the documentation. 2015-07-26 09:57:05 +03:00
whitequark 163edc02c6 Fix Mock usage in sphinx configuration. 2015-07-26 09:49:39 +03:00
whitequark 95f7be0a88 Update install instructions to reflect that LLVM is always needed. 2015-07-26 09:38:43 +03:00
whitequark e5acdfe3fd Update manual install instructions. 2015-07-26 09:28:11 +03:00
Sebastien Bourdeauducq aba2d3f112 runtime: process essential kernel CPU messages at all time 2015-07-25 16:26:04 +08:00
Sebastien Bourdeauducq d14a31f443 artiq_run: fix ELF running 2015-07-25 15:52:38 +08:00
Sebastien Bourdeauducq 3c6a4b81a3 examples/ddb: use LED channel for KC705 QC1 2015-07-25 15:37:02 +08:00
Sebastien Bourdeauducq 696bceb406 gui: feedback on run deletion 2015-07-25 15:08:27 +08:00
Sebastien Bourdeauducq 61f45f505b gui/short_format: show string values 2015-07-25 14:37:19 +08:00
Sebastien Bourdeauducq 05dd11a60d protocols/pyon: support numpy scalars (closes #53) 2015-07-25 12:28:56 +08:00
Sebastien Bourdeauducq 8bc1dd9f9c test/serialization: remove redundant test since Quantity was removed 2015-07-25 12:23:43 +08:00
Sebastien Bourdeauducq 9fe65769f2 gui: add console description 2015-07-25 12:01:47 +08:00
whitequark 692791f0bd Make sure a landing pad returns {i8*} to soothe LLVM codegen. 2015-07-25 07:01:25 +03:00
Sebastien Bourdeauducq 5979f85c1c gui: use monospace font in log 2015-07-25 11:38:26 +08:00
whitequark ece52062f2 Implement code generation for exception handling. 2015-07-25 05:37:37 +03:00
Sebastien Bourdeauducq ef8b09d9bc gui: add console 2015-07-25 00:36:16 +08:00
Sebastien Bourdeauducq f210e0dcd6 examples/flopping_f: use Scannable and NumberValue 2015-07-25 00:35:48 +08:00
Sebastien Bourdeauducq 928775f6ac gui: fix default LinearScan/RandomScan 2015-07-25 00:35:21 +08:00
Sebastien Bourdeauducq 5b62b2452d gui: get spinboxes to behave 2015-07-25 00:32:18 +08:00
Sebastien Bourdeauducq 7d81520827 protocols/pc_rpc: improve docstrings 2015-07-25 00:30:36 +08:00
whitequark c581af29d7 Merge remote-tracking branch 'origin/master' into new-py2llvm 2015-07-23 21:36:17 +03:00
Robert Jördens 6b0e120d75 wavesynth/Synthesizer: allow empty data 2015-07-23 12:34:54 -06:00
Sebastien Bourdeauducq 5b1165f413 gui: log autoscroll 2015-07-24 00:11:05 +08:00
Sebastien Bourdeauducq 1a4028ca92 gui: better log lookandfeel 2015-07-24 00:08:14 +08:00
Sebastien Bourdeauducq 3a06e22b67 master: handle logging while scanning repository 2015-07-23 23:06:15 +08:00
Sebastien Bourdeauducq aa2acb9137 gui: auto resize of table columns 2015-07-23 22:36:52 +08:00
whitequark 20f5f8217d Make sure tests pass both on ARTIQ Python and CPython.
In some cases (the `is` operator and wraparound arithmetics)
the tests will only pass on ARTIQ Python. These are conditionally
commented out.
2015-07-23 08:09:25 +03:00
whitequark 65121b437f Rework internal logic of slices. 2015-07-23 07:57:49 +03:00
whitequark 2b9ac344d8 Verify LLVM module in compiler.textbench.jit. 2015-07-23 07:57:35 +03:00
whitequark 9db199cad9 Handle closure effects appropriately in LocalAccessValidator. 2015-07-23 03:15:36 +03:00
whitequark acb8810e62 Add tests for lambdas and functions. 2015-07-23 03:07:30 +03:00
whitequark f8c2709943 Make division by zero raise an exception. 2015-07-23 01:26:50 +03:00
whitequark 4cfe4ea148 Make negative and too-far shifts have defined behavior. 2015-07-23 00:58:41 +03:00
whitequark bf60978c7b Add bool coercion support. 2015-07-22 19:15:54 +03:00