diff options
author | Richard Henderson <rth@redhat.com> | 2009-06-11 22:23:38 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2009-06-11 22:23:38 -0700 |
commit | 7c1db202df5854c842f03ae423cd56431d35a43d (patch) | |
tree | ccf341729eb469286ecbd108887eb0ec223cfb72 /gcc | |
parent | 42755c21511d94f8ce81d1b7cc6e7601953525a9 (diff) | |
download | gcc-7c1db202df5854c842f03ae423cd56431d35a43d.zip gcc-7c1db202df5854c842f03ae423cd56431d35a43d.tar.gz gcc-7c1db202df5854c842f03ae423cd56431d35a43d.tar.bz2 |
alpha.c (alpha_emit_setcc): Fix test for when gen_lowpart is needed.
* config/alpha/alpha.c (alpha_emit_setcc): Fix test for
when gen_lowpart is needed.
From-SVN: r148413
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/alpha/alpha.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3888eb6..c542648 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2009-06-11 Richard Henderson <rth@redhat.com> + * config/alpha/alpha.c (alpha_emit_setcc): Fix test for + when gen_lowpart is needed. + +2009-06-11 Richard Henderson <rth@redhat.com> + * dwarf2out.c (def_cfa_1): Likewise for DW_CFA_cfa_offset. * dwarf2out.c (need_data_align_sf_opcode): New. diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c index 1803627..314c217 100644 --- a/gcc/config/alpha/alpha.c +++ b/gcc/config/alpha/alpha.c @@ -2623,7 +2623,7 @@ alpha_emit_setcc (rtx operands[], enum machine_mode cmp_mode) emit_insn (gen_rtx_SET (VOIDmode, tmp, gen_rtx_fmt_ee (cmp_code, cmp_mode, op0, op1))); - op0 = cmp_mode == DImode ? gen_lowpart (DImode, tmp) : tmp; + op0 = cmp_mode != DImode ? gen_lowpart (DImode, tmp) : tmp; op1 = const0_rtx; } |