aboutsummaryrefslogtreecommitdiff
path: root/gcc/expmed.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@hxi.com>2002-01-16 02:37:37 +0000
committerKazu Hirata <kazu@hxi.com>2002-01-16 02:37:37 +0000
commitee3f1db5cff7b9e9ef18027614996ddf373d6ccf (patch)
tree19a6ef37726668af56c5c678fa31a8b5b177f627 /gcc/expmed.c
parent8b82fa554c120e688ea9bad80802843fc709a4d4 (diff)
* expmed.c (extract_fixed_bit_field): Remove unused code.
* system.h: Poison SLOW_ZERO_EXTEND. * doc/tm.texi: Remove. * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove. * config/arm/arm.h: Likewise. * config/avr/avr.h: Likewise. * config/clipper/clipper.h: Likewise. * config/convex/convex.h: Likewise. * config/d30v/d30v.h: Likewise. * config/dsp16xx/dsp16xx.h: Likewise. * config/elxsi/elxsi.h: Likewise. * config/fr30/fr30.h: Likewise. * config/h8300/h8300.h: Likewise. * config/i370/i370.h: Likewise. * config/i386/i386.h: Likewise. * config/m68k/m68k.h: Likewise. * config/mips/mips.h: Likewise. * config/ns32k/ns32k.h: Likewise. * config/pdp11/pdp11.h: Likewise. * config/pj/pj.h: Likewise. * config/s390/s390.h: Likewise. * config/sh/sh.h: Likewise. * config/stormy16/stormy16.h: Likewise. * config/v850/v850.h: Likewise. * config/vax/vax.h: Likewise. * config/we32k/we32k.h: Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@48893 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/expmed.c')
-rw-r--r--gcc/expmed.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/gcc/expmed.c b/gcc/expmed.c
index da9c5a9872b..56952c78418 100644
--- a/gcc/expmed.c
+++ b/gcc/expmed.c
@@ -1621,16 +1621,7 @@ extract_fixed_bit_field (tmode, op0, offset, bitsize, bitpos,
/* Unless the msb of the field used to be the msb when we shifted,
mask out the upper bits. */
- if (GET_MODE_BITSIZE (mode) != bitpos + bitsize
-#if 0
-#ifdef SLOW_ZERO_EXTEND
- /* Always generate an `and' if
- we just zero-extended op0 and SLOW_ZERO_EXTEND, since it
- will combine fruitfully with the zero-extend. */
- || tmode != mode
-#endif
-#endif
- )
+ if (GET_MODE_BITSIZE (mode) != bitpos + bitsize)
return expand_binop (GET_MODE (op0), and_optab, op0,
mask_rtx (GET_MODE (op0), 0, bitsize, 0),
target, 1, OPTAB_LIB_WIDEN);