[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gm2] latest cvs changes (packed data types)
From: |
Gaius Mulley |
Subject: |
[Gm2] latest cvs changes (packed data types) |
Date: |
Mon, 16 Apr 2012 13:27:03 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Hi,
here are the latest cvs changes:
2012-04-11 Gaius Mulley <address@hidden>
* gm2/gm2-compiler/M2GCCDeclare.mod: (DeclarePackedSet) New
procedure.
* gm2/gm2-compiler/SymbolTable.mod: (MakeSet) creates an
equivalent packedInfo placeholder. (MakeEquivalent)
and (GetPackedEquivalent) modified to handle set type.
2012-04-07 Gaius Mulley <address@hidden>
* gm2/gccgm2.c: (calcNbits) New function.
* gm2/m2pp.c: (ptc), (m2pp_getaligned),
(m2pp_recordfield_alignment) New functions.
* gm2/gm2-compiler/M2GCCDeclare.mod: fixes to
* DeclarePackedType.
* gm2/gm2-compiler/P2SymBuild.mod: fixes to
* HandleRecordFieldPragmas.
* gm2/gm2-compiler/SymbolTable.mod: fixes to
GetDefaultRecordFieldAlignment.
this is an interim checkin. But the good news is that one can now
declare packed record fields for types: subrange, enumerations and sets.
However as yet gm2 cannot access them.. this is being worked on at
present. On Debian x86_64 there are no more regression test failures
than before these changes took place. I get 18 failures (3 tests
failing x 6). Two of which are because integer arithmetic range
checking has not been implemented.
regards,
Gaius
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gm2] latest cvs changes (packed data types),
Gaius Mulley <=