1
0
forked from M-Labs/artiq
Commit Graph

2736 Commits

Author SHA1 Message Date
09822457a3 runtime: link libm in ksupport 2017-10-02 11:23:03 +08:00
whitequark
8e3959d7ce compiler: disallow op= on mutable values (fix #835).
In general, we can't reallocate a value in earlier stack frames,
or fixup references to it. This mainly impacts lists.
2017-10-02 11:03:30 +08:00
whitequark
1001993e3f compiler: implement ~ operator (fix #836). 2017-10-02 11:03:30 +08:00
whitequark
d0276abb5c compiler: minor intrinsic refactoring. 2017-10-02 11:03:30 +08:00
whitequark
05096a98a8 compiler: correct semantics of floating point % operator (fix #830). 2017-10-02 11:03:30 +08:00
whitequark
8fd9ba934b compiler: correct semantics of integer % operator (#830). 2017-10-02 11:03:30 +08:00
5c5f86cdea runtime: export floor() in ksupport. Closes #828 2017-09-10 12:09:25 +08:00
ef9bbcaa69 browser,dashboard: delete MDI subwindows when they are closed 2017-07-29 20:36:53 +08:00
0ffc752310 spi: fix typo in doc 2017-07-20 22:18:37 +08:00
whitequark
4e9165fd1d compiler: coerce while condition to bool.
Fixes #768.
2017-07-02 10:29:17 +08:00
4c552a481e protocols: increase another asyncio line limit (#671) 2017-06-22 09:44:44 +08:00
2383ea748f versioneer: cut git hashes consistently (#753) 2017-06-19 23:46:14 +08:00
e04014c761 coredevice: compare software and gateware versions strictly 2017-06-07 02:14:00 +08:00
478972a001 coredevice: compare gateware and software versions on release numbers only. Closes #738 2017-06-05 13:54:41 +08:00
45f62d4e2d update versioneer 2017-06-05 13:18:12 +08:00
a1cf632d14 remove pdq2_client 2017-05-22 19:19:21 +08:00
whitequark
c78aa86e72 compiler: remove dead code. 2017-04-22 15:31:32 +08:00
whitequark
032f28863f compiler: reject reachable implicit return if not returning TNone.
Fixes #718.
2017-04-22 15:31:22 +08:00
whitequark
c33f9637c1 compiler: in codegen for delay(), round fp instead of truncating.
Consider delay(8*us). It results in the following computation...
  >>> 8*1e-06/1e-09
  7999.999999999999
with the result promptly getting truncated to 7999.

Fixes #706.
2017-04-22 15:31:13 +08:00
whitequark
be2683e097 compiler: fix monomorphization of coerced integer literals.
Fixes #703.
2017-04-12 13:18:24 +08:00
whitequark
90e2e22765 artiq_compile: make print() write to core log, not an invalid op.
Fixes #710.
2017-04-12 00:35:01 +08:00
49baba26e3 rtio: fix indentation 2017-04-06 12:41:08 +08:00
0a6dd963cb rtio: add a missing case for collision reporting 2017-04-06 12:41:02 +08:00
62068da232 scan: fix RandomScan seeding 2017-03-31 17:29:37 +08:00
e8c5cb55cb language: fix PYONValue list defaults (fixes #682) 2017-03-29 21:59:48 +08:00
483a897db4 monkey_patches: fix 3af29f7 2017-03-29 09:24:41 +08:00
whitequark
37c9b97bc4 compiler.types: add missing TTuple.__hash__ implementation. 2017-03-03 17:40:15 +08:00
whitequark
90aeb76a2c transforms.inferencer: do not unnecessarily mutate typedtree.
This caused the hash to change after every iteration of inference,
if the result of any coercion was an integer of indefinite width.
2017-03-03 11:02:16 +08:00
whitequark
007ae00459 compiler.embedding: fix an overly lax hasher. 2017-03-03 11:02:16 +08:00
whitequark
fd5cdb7d1e compiler.transforms: implement a typedtree printer. 2017-03-03 11:02:16 +08:00
whitequark
d4673d5b17 compiler.embedding: use attribute count in fixpoint condition.
Before this commit, we had a hack where inferencing would run
one more time, in case we can still infer more attributes even
after all the type information is there. This doesn't work
if *that* round of inferencing brings even more code, e.g.
this is easy to trigger with context managers.
2017-03-01 11:51:25 +08:00
72bf39f593 monkey_patches: cleanup 2017-02-28 21:42:25 +08:00
349774e65e monkey-patch Python 3.5.3 asyncio.base_events._ipaddr_info
this fixes #506 for py3.5.3
2017-02-28 21:42:21 +08:00
c777ae8ae9 protocols: increase asyncio line limit. Closes #671 2017-02-17 20:46:38 +08:00
abb5b8aba5 artiq_flash: fix scripts_path 2017-02-01 09:04:57 +08:00
whitequark
31dd99e8bd compiler: the len builtin is not polymorphic, coerce the result.
Fixes #659.
2017-02-01 08:23:30 +08:00
whitequark
7516e6d800 Fix 2f37b1d. 2017-02-01 08:23:24 +08:00
whitequark
2dc8d417ca compiler: support methods defined on singleton instances.
Fixes #638.
2017-02-01 08:23:16 +08:00
1845a134e5 Relicense ARTIQ as LGPLv3+ (closes #570)
Kelly Stevens: 1481043941095.63542@gtri.gatech.edu
David Nadlinger: E7C03799-5D45-4C03-9DF9-029FE2B4F12B@klickverbot.at
whitequark: 69d1ca29d5ab03fbcfb446d65cbe1150@mail.whitequark.org
Felix Held: 9145cc19-2319-3516-b2a9-dde60aef11f7@felixheld.de
Robert Jordens: CANb+zoFgXVYgCji_vXPauK-fnnYKpm_QioMnvmh=hvLFWQONWA@mail.gmail.com
Daniel Slichter: BL2PR09MB1010FE3D3A325E889AD70A2591820@BL2PR09MB1010.namprd09.prod.outlook.com
Joe Britton: CAE2_b1V60_6PJ3VYx_s-p5XVfKJUx8kbQA7VwD3MdcmHdzROGw@mail.gmail.com
Florent Kermarrec: CA+96J6JHM8yZM=RYaporU36NdyOTL3BeSuO9oM8TTtdnXiJ5jw@mail.gmail.com
Zach Smith: CAAJ=EH+OzDs_rBJ_zTjbOZmumEZWONX2MSFUasJwf8josJGdkw@mail.gmail.com
David Leibrandt: CY1PR09MB0921C628EC76CDFC4CC7F64F95820@CY1PR09MB0921.namprd09.prod.outlook.com
Raghavendra Srinivas: DM5PR09MB1531C49EEE1774DF2BA80616F8850@DM5PR09MB1531.namprd09.prod.outlook.com
Yann Sionneau: CACi+aWbdY48D9CgKtXdtVsdX4NS1JwVN4v-PCC17F_rPKSt4XQ@mail.gmail.com
Sébastien Bourdeauducq: c3f235dc-e9c5-7f7a-10f2-bb4e4f85e7f5@m-labs.hk
2017-01-27 11:20:57 +01:00
d16f5ce540 artiq_flash: make scripts_path a function (for doc generating) 2017-01-26 18:21:43 +01:00
660b067708 spi: fix xfers with full data_width (closes #615)
misoc 15000af43611bbe8be13cb2b016e408f043202cd
2017-01-03 19:50:15 +01:00
2962c95148 set asyncio loop earlier in controllers (#627) 2016-12-12 11:38:52 +08:00
b823e916f0 Revert "pc_rpc: use ProactorEventLoop on Windows (#627)"
This reverts commit 7d4297b9bb.
2016-12-12 11:38:52 +08:00
072e7f6628 pc_rpc: use ProactorEventLoop on Windows (#627) 2016-11-24 10:18:27 +08:00
whitequark
ebae6d248f compiler: unbreak casts to int32/int64. 2016-11-21 14:22:35 +00:00
whitequark
ebb3205dff analyses.constness: fix false positive on x[...]. 2016-11-21 14:22:34 +00:00
whitequark
fd1d77767e inferencer: significantly improve the op-assignment diagnostic.
Before this commit, it displayed incorrect output if an error
appeared on 2nd run and beyond, and displayed messages for trying
to do "num32 -= num64" that made very little sense.
2016-11-21 14:22:32 +00:00
whitequark
372e8f9b2b llvm_ir_generator: handle no-op coercions. 2016-11-21 10:58:42 +08:00
0da2202179 moninj: add min declaration 2016-11-21 00:06:35 +08:00
whitequark
ec645d3589 coredevice.dds: work around the round(numpy.float64()) snafu. 2016-11-20 21:54:21 +08:00