i386.c (ix86_expand_fp_absneg_operator): Use elt_mode for converting the mask.

* config/i386/i386.c (ix86_expand_fp_absneg_operator): Use elt_mode
        for converting the mask.

From-SVN: r93606
This commit is contained in:
Richard Henderson 2005-01-13 10:08:40 -08:00 committed by Richard Henderson
parent 2cba2c8be0
commit bb129a4f93
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2005-01-13 Richard Henderson <rth@redhat.com>
* config/i386/i386.c (ix86_expand_fp_absneg_operator): Use elt_mode
for converting the mask.
2005-01-13 David Edelsohn <edelsohn@gnu.org>
* config/rs6000/aix52.h (CPLUSPLUS_CPP_SPEC): Change _XOPEN_SOURCE

View File

@ -8031,8 +8031,8 @@ ix86_expand_fp_absneg_operator (enum rtx_code code, enum machine_mode mode,
lo = ~lo, hi = ~hi;
/* Force this value into the low part of a fp vector constant. */
mask = immed_double_const (lo, hi, mode == SFmode ? SImode : DImode);
mask = gen_lowpart (mode, mask);
mask = immed_double_const (lo, hi, elt_mode == SFmode ? SImode : DImode);
mask = gen_lowpart (elt_mode, mask);
switch (mode)
{