diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-10-07 18:54:35 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-10-07 18:54:35 +0000 |
commit | c55bda30f6c7c2db119882a5b1d54b6097bd0fe8 (patch) | |
tree | 29bf601708db2190647a3de4701d18706706b50b /target-sparc/op_helper.c | |
parent | 475e4277721eca10e98bd926fa1d3ebc74d0ac35 (diff) |
Fix error in fexpand (spotted by sparse)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5438 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sparc/op_helper.c')
-rw-r--r-- | target-sparc/op_helper.c | 8 |
1 files 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; } |