From 52eadd82a2840b52c044149763d644f561481e5b Mon Sep 17 00:00:00 2001 From: Liu Yu Date: Mon, 10 Dec 2007 13:00:52 +0800 Subject: [PATCH] --- yaml --- r: 74863 b: refs/heads/master c: c89686210542f6946e48a907772a356b9fce03f0 h: refs/heads/master i: 74861: 3950fa995ad267957490209e05bd36dee44aff49 74859: ab6c4a53e8b12a39415ea9d2186923c64b3ddda9 74855: 3960c8eed3c5494539146ccf960f3db0f0b5d215 74847: 5551ffc75e6c48c84c92fc896514faaae86e22b8 v: v3 --- [refs] | 2 +- trunk/arch/powerpc/math-emu/op-2.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 337986c8b588..17f9ec6235d9 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e8b5f43f7b572a898c7b17e9949b26e7362e7f31 +refs/heads/master: c89686210542f6946e48a907772a356b9fce03f0 diff --git a/trunk/arch/powerpc/math-emu/op-2.h b/trunk/arch/powerpc/math-emu/op-2.h index b9b06b4c6ea1..7d6f17cc2929 100644 --- a/trunk/arch/powerpc/math-emu/op-2.h +++ b/trunk/arch/powerpc/math-emu/op-2.h @@ -59,7 +59,8 @@ else \ { \ X##_f0 = (X##_f1 >> ((N) - _FP_W_TYPE_SIZE) | \ - (((X##_f1 << (sz - (N))) | X##_f0) != 0)); \ + (((X##_f1 << (2 * _FP_W_TYPE_SIZE - (N))) | \ + X##_f0) != 0)); \ X##_f1 = 0; \ } \ } while (0)