[M3commit] CVS Update: cm3

Tony Hosking hosking at cs.purdue.edu
Sat Feb 6 19:23:51 CET 2010


I did overload use of m3cg_loophole for conversion to/from INTEGER/LONGINT.  For those, we should sign-extend.  The gcc-based backend handles that trivially.

On 6 Feb 2010, at 12:12, Rodney M. Bates wrote:

> 
> 
> Jay Krell wrote:
>> CVSROOT:	/usr/cvs
>> Changes by:	jkrell at birch.	10/02/05 10:48:42
>> Modified files:
>> 	cm3/m3-sys/m3back/src/: Stackx86.m3 Log message:
>> 	adapt procedure doloophole for int64/longint though probably we should sign extend sometimes? VAL calls loophole.
> If doloophole is used only to compile LOOPHOLE, this is irrelevant, as the language requires the
> two types to have the same size (or arranges it thus, for conversion to an open array).
> 
> But then doloophole could conceivable be called in the compiler for some additional purpose
> besides translating source code LOOPHOLE.




More information about the M3commit mailing list