diff options
author | Bernd Schmidt <bernds@cygnus.co.uk> | 2000-06-24 19:26:42 +0000 |
---|---|---|
committer | Bernd Schmidt <crux@gcc.gnu.org> | 2000-06-24 19:26:42 +0000 |
commit | 0b4565c9d8b4b7530558beef1b9284b88848b2fa (patch) | |
tree | db94b2c1a07d5c04365806edf03c813ecba575c1 /gcc/expmed.c | |
parent | cf036e712cdd515d1fed36a58023926e0dabb1aa (diff) | |
download | gcc-0b4565c9d8b4b7530558beef1b9284b88848b2fa.zip gcc-0b4565c9d8b4b7530558beef1b9284b88848b2fa.tar.gz gcc-0b4565c9d8b4b7530558beef1b9284b88848b2fa.tar.bz2 |
Vector conversions support
From-SVN: r34680
Diffstat (limited to 'gcc/expmed.c')
-rw-r--r-- | gcc/expmed.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/expmed.c b/gcc/expmed.c index c230a33..883d33f 100644 --- a/gcc/expmed.c +++ b/gcc/expmed.c @@ -1072,7 +1072,8 @@ extract_bit_field (str_rtx, bitsize, bitnum, unsignedp, : bitpos == 0)))) { enum machine_mode mode1 - = mode_for_size (bitsize, GET_MODE_CLASS (tmode), 0); + = (VECTOR_MODE_P (tmode) ? mode + : mode_for_size (bitsize, GET_MODE_CLASS (tmode), 0)); if (mode1 != GET_MODE (op0)) { |