home bbs files messages ]

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

   comp.arch      Apparently more than just beeps & boops      131,241 messages   

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

   Message 130,256 of 131,241   
   MitchAlsup to All   
   Re: branch splitting   
   12 Nov 25 00:31:24   
   
   From: user5857@newsgrouper.org.invalid   
      
   Stephen Fuld  posted:   
      
   > On 11/11/2025 11:46 AM, MitchAlsup wrote:   
   > >   
   > > Niklas Holsti  posted:   
   >   
   >   
   > snip   
   > >> It is only if your machine has some semantics for instruction   
   > >> combinations, such as your VEC-LOOP pair, that you have to define what   
   > >> happens if a jump or call to some address leads to later executing only   
   > >> some of those instructions or executing them in the wrong order, such as   
   > >> trying to execute a LOOP without having executed a preceding VEC.   
   > >   
   > > BTW, encountering a LOOP without encountering a VEC is a natural   
   > > occurrence when returning from exception or interrupt. The VEC   
   > > register points at the VEC+1 instruction which is easy to return   
   > > to the VEC instruction.   
   >   
   > OK, but what if, say through an errant pointer, the code, totally   
   > unrelated to the VEC, jumps somewhere in the middle of a VEC/LOOP pair?   
      
   All taken branches clear the V-bit associated with vectorization.   
   So encountering the LOOP instruction would raise an exception.   
      
   Flow control WITHIN a VEC-LOOP pair is by predication-only.   
   Exception Control Transfer is special in this regards.   
      
   --- 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