Fix load offsets for the vvadd_fw test
authorAlbert Ou <a_ou@eecs.berkeley.edu>
Fri, 29 Nov 2013 01:57:00 +0000 (17:57 -0800)
committerAlbert Ou <a_ou@eecs.berkeley.edu>
Fri, 29 Nov 2013 01:57:00 +0000 (17:57 -0800)
isa/rv64uv/vvadd_fw.S

index 571c4573f07139952e425dea96622183a08eaff8..916002ff3ba9db79d30842d7f00010a71b67e96c 100644 (file)
@@ -29,13 +29,13 @@ RVTEST_CODE_BEGIN
   lw a2,0(a6)
   li x28,2
   bne a1,a2,fail
-  lw a1,8(a5)
+  lw a1,4(a5)
   li x28,3
   bne a1,a2,fail
-  lw a1,16(a5)
+  lw a1,8(a5)
   li x28,4
   bne a1,a2,fail
-  lw a1,24(a5)
+  lw a1,12(a5)
   li x28,5
   bne a1,a2,fail
   j pass