fixedlogical: simplify extsh
authorDmitry Selyutin <dmitry.selyutin@3mdeb.com>
Sat, 2 Oct 2021 09:23:22 +0000 (09:23 +0000)
committerDmitry Selyutin <dmitry.selyutin@3mdeb.com>
Wed, 13 Oct 2021 18:08:44 +0000 (18:08 +0000)
openpower/isa/fixedlogical.mdwn

index 067a43ffd98f85186550da9771831b2ca019ee42..5162dbd488744e66b2bc1765889f40c8def163a3 100644 (file)
@@ -238,9 +238,7 @@ X-Form
 
 Pseudo-code:
 
-    s <- (RS)[48]
-    RA[48:63] <-  (RS)[48:63]
-    RA[0:47] <- [s]*48
+    RA <- EXTSXL(RS, 16)
 
 Special Registers Altered: