[M3commit] CVS Update: cm3
    Jay Krell 
    jkrell at elego.de
       
    Tue Jun  1 14:08:16 CEST 2010
    
    
  
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.
    
    
More information about the M3commit
mailing list