home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.development      Operating system development chatter      4,255 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 3,274 of 4,255   
   mutazilah@gmail.com to Joe Monk   
   Re: segmentation   
   19 Sep 22 16:22:11   
   
   From: muta...@gmail.com   
      
   On Tuesday, September 20, 2022 at 6:58:01 AM UTC+8, Joe Monk wrote:   
   > "I wish to run 32 bit s390 programs,    
   > unmodified, at the 4 GB location."   
   > Not possible. First off there is no such thing as a 32-bit s390 program. The   
   instructions BXLE and BXH on the s390 perform signed arithmetic to accomplish   
   their purpose.    
   >    
   > This precludes 32-bit on the s390.    
   >    
   > "The word "index" in the names of these instructions indicates that one of   
   the major purposes is the incrementing and testing of an index value. The   
   increment being a signed binary integer, may be used to increase or decrease   
   the value in general    
   register R1 by an arbitrary amount."    
   >    
      
   You may as well say that 64 bit is   
   excluded on zarch for the same reason.   
   The g version of those instructions encounter   
   the same problem for the top 50%   
   of the address range.   
      
   Also, for both zarch and s390 the problem   
   also occurs in the bottom 50% - when   
   you NEAR the end.   
      
   It is thus a simple matter of never using   
   those instructions when you are using   
   addresses instead of numbers.   
      
   gcc 3.2.3 never used those instructions,   
   which is all I care about.   
      
   Yes Dorothy, you can run 32 bit   
   programs on zarch and you can make   
   a modified s390 too if you want.   
      
   Zarch is perfect if you take the above precautions.   
      
   Perfect for both 32 bit and 64 bit.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca