mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-24 09:39:10 +08:00
double-int.c (lshift_double, [...]): Remove SHIFT_COUNT_TRUNCATED handling.
gcc/ * double-int.c (lshift_double, rshift_double): Remove SHIFT_COUNT_TRUNCATED handling. From-SVN: r204415
This commit is contained in:
parent
8fdc414d43
commit
bc0d6b1724
@ -1,3 +1,8 @@
|
||||
2013-11-05 Richard Sandiford <rdsandiford@googlemail.com>
|
||||
|
||||
* double-int.c (lshift_double, rshift_double): Remove
|
||||
SHIFT_COUNT_TRUNCATED handling.
|
||||
|
||||
2013-11-05 Jeff Law <law@redhat.com>
|
||||
|
||||
* Makefile.in (OBJS): Add gimple-ssa-isolate-paths.o
|
||||
|
@ -20,7 +20,7 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "config.h"
|
||||
#include "system.h"
|
||||
#include "coretypes.h"
|
||||
#include "tm.h" /* For SHIFT_COUNT_TRUNCATED. */
|
||||
#include "tm.h" /* For BITS_PER_UNIT and *_BIG_ENDIAN. */
|
||||
#include "tree.h"
|
||||
|
||||
static int add_double_with_sign (unsigned HOST_WIDE_INT, HOST_WIDE_INT,
|
||||
@ -237,9 +237,6 @@ rshift_double (unsigned HOST_WIDE_INT l1, HOST_WIDE_INT h1,
|
||||
? -((unsigned HOST_WIDE_INT) h1 >> (HOST_BITS_PER_WIDE_INT - 1))
|
||||
: 0);
|
||||
|
||||
if (SHIFT_COUNT_TRUNCATED)
|
||||
count %= prec;
|
||||
|
||||
if (count >= HOST_BITS_PER_DOUBLE_INT)
|
||||
{
|
||||
/* Shifting by the host word size is undefined according to the
|
||||
@ -295,9 +292,6 @@ lshift_double (unsigned HOST_WIDE_INT l1, HOST_WIDE_INT h1,
|
||||
{
|
||||
unsigned HOST_WIDE_INT signmask;
|
||||
|
||||
if (SHIFT_COUNT_TRUNCATED)
|
||||
count %= prec;
|
||||
|
||||
if (count >= HOST_BITS_PER_DOUBLE_INT)
|
||||
{
|
||||
/* Shifting by the host word size is undefined according to the
|
||||
|
Loading…
Reference in New Issue
Block a user