fix rv64uv/vvadd_fd test to correctly check results
authorYunsup Lee <yunsup@cs.berkeley.edu>
Wed, 20 Nov 2013 02:01:45 +0000 (18:01 -0800)
committerYunsup Lee <yunsup@cs.berkeley.edu>
Wed, 20 Nov 2013 02:01:45 +0000 (18:01 -0800)
isa/rv64uv/vvadd_fd.S

index 2912b70698e2de5213e4484e6953a637f2806956..62161efef8a7a5960df9ebcbed168afefbb9a5a4 100644 (file)
@@ -24,9 +24,9 @@ RVTEST_CODE_BEGIN
   la a5,dest
   vfsd vf2,a5
   fence
-  la a5,result
+  la a6,result
   ld a1,0(a5)
-  ld a2,0(a5)
+  ld a2,0(a6)
   li x28,2
   bne a1,a2,fail
   ld a1,8(a5)