From fca319e3b7a6fb0199a019df5a0404890dc9cf96 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Tue, 7 Apr 2020 16:59:21 +0100 Subject: [PATCH] fix mtcrf --- openpower/isa/sprset.mdwn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openpower/isa/sprset.mdwn b/openpower/isa/sprset.mdwn index 0b7f9a120..7ac5d5ad0 100644 --- a/openpower/isa/sprset.mdwn +++ b/openpower/isa/sprset.mdwn @@ -75,8 +75,8 @@ XFX-Form * mtcrf FXM,RS - mask <- (FXM[0]*4 || FXM[1]*4 || FXM[2]*4 || FXM[3]*4 || - FXM[4]*4 || FXM[5]*4 || FXM[6]*4 || FXM[7]*4) + mask <- ([FXM[0]]*4 || [FXM[1]]*4 || [FXM[2]]*4 || [FXM[3]]*4 || + [FXM[4]]*4 || [FXM[5]]*4 || [FXM[6]]*4 || [FXM[7]]*4) CR <- ((RS)[32:63] & mask) | (CR & ¬mask) Special Registers Altered: -- 2.30.2