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,767 of 131,241   
   MitchAlsup to All   
   Re: Variable-length instructions   
   04 Jan 26 22:30:17   
   
   From: user5857@newsgrouper.org.invalid   
      
   BGB  posted:   
      
   > On 1/4/2026 6:07 AM, Terje Mathisen wrote:   
   -----merciful snip-----------   
      
   > Can fill in patterns sorta like:   
   >    v0=*(u64 *)cs;   
   >    switch(dist)   
   >    {   
   >    case 1:   
   >      v0=v0&0xFF;   
   >      v0|=v0<<8;   
   >      v0|=v0<<16;   
   >      v0|=v0<<32;   
      
   That was 1 instruction in my Samsung GPU ISA   
      
         SWIZ   V1,V0,#[0,8,16,24]   
      
   The immediate was broken into 4-bit fields (represented above with   
   8-bit fields) and the immediate was used as 8× 4-bit Mux selectors   
   from the other operand. {Not using Samsung ISA names or syntax}.   
      
   When I looked deeply into the situation, it was easier in HW to do::   
      
        for( i = 0; i < 8; i++ )   
             out[field[i]] = in[i]   
      
   than::   
        for( i = 0; i < 8; i++ )   
             out[i] = in[field[i]]   
      
   For some reason we called this swizzle not permute !?!   
   -------------------   
   > Otherwise, generally feeling kinda lonely at the moment.   
   > Working on stuff doesn't entirely compensate for general feelings of   
   > pointlessness.   
      
   Seriously; get help.   
      
   > It is this or working on sci-fi stories of mine, which I had ended up   
   > partly going and using AI to give commentary partly as I seemingly can't   
   > get any actual humans to comment on my fiction.   
      
   You are not the first purported author in this position   
      
   > Apparently, I guess as far as the AI was concerned on one of the stories   
   > I threw at it (one about a Moon AI):   
   > General ideas/theme were compared to "Asimov's Foundation Series";   
      
   You do know that there are only 39 plots in all of literature ?!?   
      
      
   > I am like, OK, fair enough. My influences are varied, but mostly stuff   
   > like "Ghost in the Shell" and "Mega Man" and similar (both of which have   
   > a lot trans-humanism themes). It seemingly misses some implicit things   
   > about how the plot fits together (like the plot relevance of a detour   
   > into talking about a character doing the whole E-Sports / Pro-Gamer   
   > thing), or why the conclusion had "Raggedy Ann" references, etc.   
      
   Hint: use fewer words and paragraphs to convey the same amount of information.   
   Works in literature and in this NG.   
   ------------------   
   > Then again, I am not entirely sure how most people experience their own   
   > existence, there doesn't seem to be much description of this.   
      
   I am 100% sure it is not as conveyed by Dickens !   
      
   --- 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