mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-08 21:17:39 +08:00
ifcvt.c (noce_try_store_flag_constants): Correct order of parameters to trunc_int_for_mode.
* ifcvt.c (noce_try_store_flag_constants): Correct order of parameters to trunc_int_for_mode. From-SVN: r44181
This commit is contained in:
parent
be672de8ae
commit
038fb2bca9
@ -1,3 +1,8 @@
|
||||
2001-07-19 Geoffrey Keating <geoffk@redhat.com>
|
||||
|
||||
* ifcvt.c (noce_try_store_flag_constants): Correct order
|
||||
of parameters to trunc_int_for_mode.
|
||||
|
||||
2001-07-19 Mark Mitchell <mark@codesourcery.com>
|
||||
|
||||
* reorg.c (fill_simple_delay_slots): If an instruction might throw
|
||||
|
@ -651,7 +651,7 @@ noce_try_store_flag_constants (if_info)
|
||||
mode = GET_MODE (if_info->x);
|
||||
ifalse = INTVAL (if_info->a);
|
||||
itrue = INTVAL (if_info->b);
|
||||
diff = trunc_int_for_mode (mode, itrue - ifalse);
|
||||
diff = trunc_int_for_mode (itrue - ifalse, mode);
|
||||
|
||||
can_reverse = (reversed_comparison_code (if_info->cond, if_info->jump)
|
||||
!= UNKNOWN);
|
||||
@ -682,7 +682,7 @@ noce_try_store_flag_constants (if_info)
|
||||
if (reversep)
|
||||
{
|
||||
tmp = itrue; itrue = ifalse; ifalse = tmp;
|
||||
diff = trunc_int_for_mode (mode, -diff);
|
||||
diff = trunc_int_for_mode (-diff, mode);
|
||||
}
|
||||
|
||||
start_sequence ();
|
||||
|
Loading…
Reference in New Issue
Block a user