Risu PPC improvements
cover Risu PPC improvements
The series contains some fixes/cleanup for ppc64le
Nikunj A Dadhania (3):
risu_ppc64le: set r23 as the comment says
risu_ppc64le: zero the xer register
risu_ppc64le: remove aarch64 related comments
risugen_ppc64.pm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)
Signature · 1 line
2.7.4
PATCH 1/3 risu_ppc64le: set r23 as the comment says
Signed-off-by Nikunj A Dadhania <[email protected]>
--- risugen_ppc64.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
risugen_ppc64.pm +2 -2
@@ -167,9 +167,9 @@ sub clear_vr_registers() # addi r22, r1, 32 insn32(0x3ac10020); # li r23, 0 - write_mov_ri(23, 1); + write_mov_ri(23, 0); # std r23, 0(r22) - insn32(0xfaf60000); + insn32(0xfaf60000); for (my $i = 0; $i < 32; $i++) { # vxor i, i, i
Signature · 1 line
2.7.4
PATCH 2/3 risu_ppc64le: zero the xer register
In reply to Nikunj A DadhaniaObserved failures running with P9 mambo model, and figured out that the xer wasn't initialized.
Signed-off-by Nikunj A Dadhania <[email protected]>
--- risugen_ppc64.pm | 3 +++ 1 file changed, 3 insertions(+)
risugen_ppc64.pm +3 -0
@@ -168,6 +168,9 @@ sub clear_vr_registers() insn32(0x3ac10020); # li r23, 0 write_mov_ri(23, 0); + # zero the xer register + # mtxer r23 + insn32(0x7ee103a6); # std r23, 0(r22) insn32(0xfaf60000);
Signature · 1 line
2.7.4
PATCH 3/3 risu_ppc64le: remove aarch64 related comments
In reply to Nikunj A DadhaniaSigned-off-by Nikunj A Dadhania <[email protected]>
--- risugen_ppc64.pm | 2 -- 1 file changed, 2 deletions(-)
risugen_ppc64.pm +0 -2
@@ -84,8 +84,6 @@ sub write_sxt32($$) sub write_mov_ri($$) { - # We always use a MOVW/MOVT pair, for simplicity. - # on aarch64, we use a MOVZ/MOVK pair. my ($rd, $imm) = @_; if (($imm >> 16) & 0xffff) {
Signature · 1 line
2.7.4
Peter Maydell
AppliedQuoted 9 lines · Nikunj A Dadhania
The series contains some fixes/cleanup for ppc64le
Nikunj A Dadhania (3):
risu_ppc64le: set r23 as the comment says
risu_ppc64le: zero the xer register
risu_ppc64le: remove aarch64 related commentsrisugen_ppc64.pm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)
Applied to risu master, thanks.
-- PMM