[M3commit] CVS Update: cm3

Jay K jay.krell at cornell.edu
Tue Jun 1 14:10:27 CEST 2010




----------------------------------------
> Date: Tue, 1 Jun 2010 14:08:16 +0000
> To: m3commit at elegosoft.com
> From: jkrell at elego.de
> Subject: [M3commit] CVS Update: cm3
>
> CVSROOT: /usr/cvs
> Changes by: jkrell at birch. 10/06/01 14:08:16
>
> Modified files:
> cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c
>
> Log message:
> It turns out extracting 0 bits is allowed.
> Test p137 does it.
> I had put in an assert to disallow it.
> For this case, alwas return 0, rather than risk "over shifting".
> This seems to be correct per:
> http://www.cs.purdue.edu/homes/hosking/m3/reference/word-intf.html
> We take n (0) bits from the input and set the rest of the bits (all
> of them) to 0.
>
 		 	   		  
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: extract0w.txt
URL: <http://m3lists.elegosoft.com/pipermail/m3commit/attachments/20100601/3009f9a2/attachment-0002.txt>


More information about the M3commit mailing list