[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gm2] latest git commit
From: |
Gaius Mulley |
Subject: |
[Gm2] latest git commit |
Date: |
Thu, 08 Jun 2017 12:09:31 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Hello,
here is the latest set of git commits to master, two bugs fixed
in the areas of ISO LENGTH and pim4 MOD DIV (for negative operands).
2017-06-08
* Fixed pim4 and iso DIV and MOD bug reported by Ernst Bokkelkamp
<address@hidden>, Benjamin Kowarsch and Xin Wang.
* gm2/gm2-compiler/M2GenGCC.mod: CodeDivM2, CodeModM2,
FoldDivM2, FoldModM2, FoldDivCeil, CodeDivCeil, FoldModCeil
CodeModCeil (New procedures).
* gm2/gm2-compiler/M2Options.def: GetISO, GetPIM, GetPIM2,
GetPIM3, GetPIM4, GetPositiveModFloor (New procedure function
definitions).
* gm2/gm2-gcc/m2options.h: define/export functions
GetISO, GetPIM, GetPIM2, GetPIM3, GetPIM4, GetPositiveModFloor.
* gm2/gm2-compiler/M2Options.mod: ensure that the default pim4
setting is turned off if pim2, pim3 is selected. GetISO, GetPIM,
GetPIM2, GetPIM3, GetPIM4, GetPositiveModFloor (New procedure
functions).
* gm2/gm2-compiler/M2Quads.def: DivM2Op, ModM2Op, DivCeilOp
ModCeilOp (New quad operators).
* gm2/gm2-compiler/M2Quads.mod: removed unnecessary prototypes.
MakeOp returns ModM2Op or DivM2Op for a modulus or div operator.
Added new quad operators to the case statement selections.
* gm2/gm2-gcc/m2expr.c: include m2options.h. BuildDivCeil,
BuildModCeil, BuildDivM2, BuildModM2 (New functions).
Much gnu coding standard reformatting has occurred.
* gm2/gm2-gcc/m2expr.def: define BuildDivM2, BuildModM2,
BuildDivCeil, BuildModCeil.
* gm2/gm2-gcc/m2expr.h: define BuildDivM2, BuildModM2,
BuildDivCeil, BuildModCeil.
* gm2/mc/mcError.mod: corrected dates.
2017-06-06
* gm2/gm2-compiler/M2GenGCC.mod: (CodeLengthFunction) Call
InternalError if op1 is a constant.
(FoldLengthFunction) if op1 is a constant fold the
result and remove the quadruple.
* gm2/gm2-compiler/M2Quads.mod: (BuildLengthFunction)
check to see if parameter to length is a constant
if so then use StandardFunctionOp otherwise
call M2RTS_Length. Fixes a bug reported by
Ernst Bokkelkamp <address@hidden>.
* gm2/gm2-compiler/SymbolTable.mod: correct end procedure
name PutConstIntoTypeTree.
* gm2/gm2-gcc/m2expr.c: many gnu coding standard changes.
* gm2/mc/mcStream.mod: (createTemporaryFile) create a per
process temporary file name.
* (mc) regenerated.
regards,
Gaius
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gm2] latest git commit,
Gaius Mulley <=