From noreply at github.com Thu Oct 6 02:15:51 2016 From: noreply at github.com (GitHub) Date: Wed, 05 Oct 2016 17:15:51 -0700 Subject: [M3commit] [modula3/cm3] da17d2: Allow assigning and passing of procedures in prede... Message-ID: <57f597b7191d0_1b653f9142bf1130613f8@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: da17d27fa86eec7bd2cbf6a21e4c6b75b139c0fc https://github.com/modula3/cm3/commit/da17d27fa86eec7bd2cbf6a21e4c6b75b139c0fc Author: Rodney Bates Date: 2016-10-05 (Wed, 05 Oct 2016) Changed paths: M m3-libs/m3core/src/word/GenWord.mg M m3-sys/m3front/src/builtinAtomic/CompareSwap.mg M m3-sys/m3front/src/builtinAtomic/Fence.mg M m3-sys/m3front/src/builtinAtomic/FetchAnd.mg M m3-sys/m3front/src/builtinAtomic/FetchDec.mg M m3-sys/m3front/src/builtinAtomic/FetchInc.mg M m3-sys/m3front/src/builtinAtomic/FetchOr.mg M m3-sys/m3front/src/builtinAtomic/FetchXor.mg M m3-sys/m3front/src/builtinAtomic/IsLockFree.mg M m3-sys/m3front/src/builtinAtomic/Load.mg M m3-sys/m3front/src/builtinAtomic/Store.mg M m3-sys/m3front/src/builtinAtomic/Swap.mg M m3-sys/m3front/src/builtinInfo/InfoThisException.m3 M m3-sys/m3front/src/builtinInfo/InfoThisFile.m3 M m3-sys/m3front/src/builtinInfo/InfoThisLine.m3 M m3-sys/m3front/src/builtinInfo/InfoThisPath.m3 M m3-sys/m3front/src/builtinOps/Abs.m3 M m3-sys/m3front/src/builtinOps/Adr.m3 M m3-sys/m3front/src/builtinOps/AdrSize.m3 M m3-sys/m3front/src/builtinOps/BitSize.m3 M m3-sys/m3front/src/builtinOps/ByteSize.m3 M m3-sys/m3front/src/builtinOps/Ceiling.m3 M m3-sys/m3front/src/builtinOps/Dec.m3 M m3-sys/m3front/src/builtinOps/Dispose.m3 M m3-sys/m3front/src/builtinOps/First.m3 M m3-sys/m3front/src/builtinOps/Floatt.m3 M m3-sys/m3front/src/builtinOps/Floor.m3 M m3-sys/m3front/src/builtinOps/Inc.m3 M m3-sys/m3front/src/builtinOps/IsType.m3 M m3-sys/m3front/src/builtinOps/Last.m3 M m3-sys/m3front/src/builtinOps/Loophole.m3 M m3-sys/m3front/src/builtinOps/Max.m3 M m3-sys/m3front/src/builtinOps/Min.m3 M m3-sys/m3front/src/builtinOps/Narrow.m3 M m3-sys/m3front/src/builtinOps/New.m3 M m3-sys/m3front/src/builtinOps/Number.m3 M m3-sys/m3front/src/builtinOps/Ord.m3 M m3-sys/m3front/src/builtinOps/Round.m3 M m3-sys/m3front/src/builtinOps/Subarray.m3 M m3-sys/m3front/src/builtinOps/Trunc.m3 M m3-sys/m3front/src/builtinOps/Typecode.m3 M m3-sys/m3front/src/builtinOps/Val.m3 M m3-sys/m3front/src/builtinWord/And.mg M m3-sys/m3front/src/builtinWord/Divide.mg M m3-sys/m3front/src/builtinWord/Extract.mg M m3-sys/m3front/src/builtinWord/GE.mg M m3-sys/m3front/src/builtinWord/GT.mg M m3-sys/m3front/src/builtinWord/Insert.mg M m3-sys/m3front/src/builtinWord/LE.mg M m3-sys/m3front/src/builtinWord/LT.mg M m3-sys/m3front/src/builtinWord/Minus.mg M m3-sys/m3front/src/builtinWord/Mod.mg M m3-sys/m3front/src/builtinWord/Not.mg M m3-sys/m3front/src/builtinWord/Or.mg M m3-sys/m3front/src/builtinWord/Plus.mg M m3-sys/m3front/src/builtinWord/Rotate.mg M m3-sys/m3front/src/builtinWord/Shift.mg M m3-sys/m3front/src/builtinWord/Times.mg M m3-sys/m3front/src/builtinWord/Xor.mg M m3-sys/m3front/src/values/Procedure.i3 M m3-sys/m3front/src/values/Procedure.m3 Log Message: ----------- Allow assigning and passing of procedures in predefined modules Word and Long. This compiler fix allows assigning the procedures in predefined modules Word and Long to a variable or passing to a formal parameter of appropriate procedure type. Previously, attempting to do this resulted in a code generator failure message. In m3core, there are already libraries Word and Long, whose only apparent purpose could be to support this, yet the compiler could not use them. Add some explanation to the libraries, as this is confusing. Also, for those builtin procedures that still cannot be passed or assigne (e.g. Info.InfoThisLine), give a meaningful compile-time error message, instead of failing. From noreply at github.com Fri Oct 7 18:28:23 2016 From: noreply at github.com (GitHub) Date: Fri, 07 Oct 2016 09:28:23 -0700 Subject: [M3commit] [modula3/cm3] a745ae: Update CM3LASTCHANGED. Message-ID: <57f7cd277cc7e_35053f8fa372f138864048@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: a745aedc7c44bf0083c91b83db2f973a4f1868c1 https://github.com/modula3/cm3/commit/a745aedc7c44bf0083c91b83db2f973a4f1868c1 Author: Rodney Bates Date: 2016-10-07 (Fri, 07 Oct 2016) Changed paths: M scripts/version.quake Log Message: ----------- Update CM3LASTCHANGED. From noreply at github.com Tue Oct 11 05:30:34 2016 From: noreply at github.com (GitHub) Date: Mon, 10 Oct 2016 20:30:34 -0700 Subject: [M3commit] [modula3/cm3] cade68: Add flag to access front end compiler options whic... Message-ID: <57fc5cda40055_145e3fc082ab7138365ca@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: cade68e5ce4fedb8e6345c0a0d3428eb04a0c789 https://github.com/modula3/cm3/commit/cade68e5ce4fedb8e6345c0a0d3428eb04a0c789 Author: peter mckinna Date: 2016-10-11 (Tue, 11 Oct 2016) Changed paths: M m3-sys/cm3/src/Makefile.m3 Log Message: ----------- Add flag to access front end compiler options which seem to have been lost In particular the -X options which allow turning off runtime checks for fastest possible code gen at the expense of safety. Eg cm3 -O -X-NoChecks From noreply at github.com Tue Oct 11 21:55:18 2016 From: noreply at github.com (GitHub) Date: Tue, 11 Oct 2016 12:55:18 -0700 Subject: [M3commit] [modula3/cm3] cc457b: Fix wrong M3CG_Checks on code generated for Compar... Message-ID: <57fd43a6ce05_5dff3fb480c7913c98111@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: cc457b7deddfc53ac75ea8b6d820ecafc0c29d73 https://github.com/modula3/cm3/commit/cc457b7deddfc53ac75ea8b6d820ecafc0c29d73 Author: Rodney Bates Date: 2016-10-11 (Tue, 11 Oct 2016) Changed paths: M m3-sys/m3middle/src/M3CG_Check.m3 Log Message: ----------- Fix wrong M3CG_Checks on code generated for Compare_Swap, I think. The code produced by CG matches the declaration of Compare_Swap in Atomic.ig, specifically, the 2nd parameter is passed by reference, and can be altered. Fix M3CG_Check to agree. The comments in the code generators and M3CG_Ops.i3 suggest it is passed by value, but this would not work correctly. The back ends need review for this operation, and are probably wrong in more ways that one. m3cc, in particular segfaults handling this code, if the stuff in atomic is compiled. From noreply at github.com Thu Oct 13 02:37:44 2016 From: noreply at github.com (GitHub) Date: Wed, 12 Oct 2016 17:37:44 -0700 Subject: [M3commit] [modula3/cm3] 09b2c6: Param to poll in milliseconds, not microseconds. Message-ID: <57fed75883892_6c133fae8f00514078672@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 09b2c699b26bb781530d6ce259307ad2d4c14095 https://github.com/modula3/cm3/commit/09b2c699b26bb781530d6ce259307ad2d4c14095 Author: Rodney Bates Date: 2016-10-12 (Wed, 12 Oct 2016) Changed paths: M m3-libs/m3core/src/thread/Common/ThreadInternal.c Log Message: ----------- Param to poll in milliseconds, not microseconds. This made IOWait and IOAlertWait wait 1000 times too long before an alert could be handled. From noreply at github.com Sun Oct 23 03:02:44 2016 From: noreply at github.com (GitHub) Date: Sat, 22 Oct 2016 18:02:44 -0700 Subject: [M3commit] [modula3/cm3] bba6ca: Comments, Modula3-ize terminology. Message-ID: <580c0c34d95bb_76893fba6475f130258fa@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: bba6ca283fb6ea3aa31a142a40c15efe8b541746 https://github.com/modula3/cm3/commit/bba6ca283fb6ea3aa31a142a40c15efe8b541746 Author: Rodney Bates Date: 2016-10-22 (Sat, 22 Oct 2016) Changed paths: M m3-libs/vararray/src/VarArray.ig M m3-libs/vararray/src/VarArray.mg Log Message: ----------- Comments, Modula3-ize terminology. From noreply at github.com Mon Oct 31 07:09:27 2016 From: noreply at github.com (GitHub) Date: Sun, 30 Oct 2016 23:09:27 -0700 Subject: [M3commit] [modula3/cm3] 0c6d17: Additions to Dragon - support for 128 bit conversi... Message-ID: <5816e0173a2b5_417b3fdb3086b14011848a@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 0c6d1778f5a830006739c49718fae43e6a91faea https://github.com/modula3/cm3/commit/0c6d1778f5a830006739c49718fae43e6a91faea Author: peter mckinna Date: 2016-10-31 (Mon, 31 Oct 2016) Changed paths: M m3-libs/m3core/src/float/Common/DragonInt.i3 M m3-libs/m3core/src/float/Common/DragonInt.m3 Log Message: ----------- Additions to Dragon - support for 128 bit conversions