fixedlogical: simplify extsb
authorDmitry Selyutin <dmitry.selyutin@3mdeb.com>
Sat, 2 Oct 2021 09:23:02 +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 b641843c725567aa9f40f465304fdaf37badd674..067a43ffd98f85186550da9771831b2ca019ee42 100644 (file)
@@ -223,9 +223,7 @@ X-Form
 
 Pseudo-code:
 
-    s <- (RS)[56]
-    RA[56:63] <- (RS)[56:63]
-    RA[0:55] <- [s]*56
+    RA <- EXTSXL(RS, 8)
 
 Special Registers Altered: