SETMULU and SETDIVU
 David Betz            
            
                Posts: 14,519
David Betz            
            
                Posts: 14,519            
            
                    What do the SETMULU and SETDIVU instructions do? Are they for doing unsigned multiplies and divides? My guess would be that SETMULU sets the same operand as SETMULA but selects unsigned instead of signed arithmetic. Same with SETDIVU and SETDIVA. Is that correct?
Also, does the first SETDIVA clear [63:32] or better yet set it to the sign extension of what gets loaded into [31:0]?
                            Also, does the first SETDIVA clear [63:32] or better yet set it to the sign extension of what gets loaded into [31:0]?

 
                            
Comments
Yes on all counts.