[M3commit] CVS Update: cm3

Jay K jay.krell at cornell.edu
Sun Mar 7 12:16:03 CET 2010


attached

 
> Date: Sun, 7 Mar 2010 12:11:54 +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/03/07 12:11:54
> 
> Modified files:
> cm3/m3-sys/m3back/src/: Stackx86.m3 
> 
> Log message:
> correct and increase restrictions on extract parameters
> n and m if constant must be positive (they should probably be CARDINAL or 0..63 instead of INTEGER)
> if sign_extend, then must be constant and > 1
> 
> There is historical code for dealing with non-constant n and sign extension,
> and it is apparently clever and correct, except it doesn't work for n = 0.
> If we need this to work better, we could insert a runtime check for n = 0,
> or use code that handles 0 (see hand.c, at least for now).
> 
> Word/Long do not expose extract with sign extension.
> The option is available only to m3back clients, ie. m3front,
> and it's not hard to imagine that the number of bits it wants
> is always constant and never 0.
> 
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3commit/attachments/20100307/9e778427/attachment-0002.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 1.txt
URL: <http://m3lists.elegosoft.com/pipermail/m3commit/attachments/20100307/9e778427/attachment-0002.txt>


More information about the M3commit mailing list