diff mbox

[1/3] risu_ppc64le: set r23 as the comment says

Message ID 1486619931-1086-2-git-send-email-nikunj@linux.vnet.ibm.com (mailing list archive)
State New, archived
Headers show

Commit Message

Nikunj A. Dadhania Feb. 9, 2017, 5:58 a.m. UTC
Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
---
 risugen_ppc64.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/risugen_ppc64.pm b/risugen_ppc64.pm
index 8e323a2..0532e3a 100644
--- a/risugen_ppc64.pm
+++ b/risugen_ppc64.pm
@@ -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