From c55bda30f6c7c2db119882a5b1d54b6097bd0fe8 Mon Sep 17 00:00:00 2001 From: blueswir1 Date: Tue, 7 Oct 2008 18:54:35 +0000 Subject: Fix error in fexpand (spotted by sparse) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5438 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-sparc/op_helper.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/target-sparc/op_helper.c b/target-sparc/op_helper.c index 0e647bcefe..713344f57a 100644 --- a/target-sparc/op_helper.c +++ b/target-sparc/op_helper.c @@ -450,10 +450,10 @@ void helper_fexpand(void) s.l = (uint32_t)(*(uint64_t *)&DT0 & 0xffffffff); d.d = DT1; - d.VIS_L64(0) = s.VIS_W32(0) << 4; - d.VIS_L64(1) = s.VIS_W32(1) << 4; - d.VIS_L64(2) = s.VIS_W32(2) << 4; - d.VIS_L64(3) = s.VIS_W32(3) << 4; + d.VIS_W64(0) = s.VIS_B32(0) << 4; + d.VIS_W64(1) = s.VIS_B32(1) << 4; + d.VIS_W64(2) = s.VIS_B32(2) << 4; + d.VIS_W64(3) = s.VIS_B32(3) << 4; DT0 = d.d; } -- cgit v1.2.3