mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-26 21:51:12 +08:00
i386.md (length_immediate): Use gcc_assert or gcc_unreachable, as appropriate.
* config/i386/i386.md (length_immediate): Use gcc_assert or gcc_unreachable, as appropriate. (*movsi_1, *movqi_1, reload_outqi, *movdi_1_rex64, *pushsf, *pushsf_rex64, *truncxfsf2_mixed, *truncxfsf2_i387, *truncxfdf2_mixed, *truncxfdf2_i387, *adddi_1_rex64, *adddi_2_rex64, *adddi_3_rex64, *adddi_4_rex64, *adddi_5_rex64, *addsi_1, addsi_1_zext, *addsi_2, *addsi_2_zext, *addsi_3, *addsi_3_zext, *addsi_4, *addsi_5, *addhi_1_lea, *addhi_1, *addhi_2, *addhi_3, *addhi_4, *addhi_5, *addqi_1_lea, *addqi_1, *addqi_1_slp, *addqi_2, *addqi_3, *addqi_4, *addqi_5, addqi_ext_1, *addqi_ext_1_rex64, *anddi_1_rex64, *andsi_1, *andhi_1, *ashldi3_1_rex64, *ashldi3_cmp_rex64, *ashlsi3_1, *ashlsi3_1_zext, *ashlsi3_cmp, *ashlsi3_cmp_zext, *ashlhi3_1_lea, *ashlhi3_1, *ashlhi3_cmp, *ashlqi3_1_lea, *ashlqi3_1, *ashlqi3_cmp, pro_epilogue_adjust_stack_1, pro_epilogue_adjust_stack_rex64, pro_epilogue_adjust_stack_rex64_2, prefetch, *prefetch_sse, *prefetch_sse_rex): Likewise. * config/i386/predicates.md (x86_64_immediate_operand, x86_64_zext_immediate_operand, symbolic_operand, no_seg_address_operand, aligned_operand, memory_displacement_operand): Likewise. * config/i386/sse.md (*mov<mode>_internal, *movv2df_internal): Likewise. From-SVN: r98549
This commit is contained in:
parent
ca31b95fa3
commit
7637e42c0e
@ -1,11 +1,38 @@
|
||||
2005-04-22 Nathan Sidwell <nathan@codesourcery.com>
|
||||
|
||||
* config/i386/i386.md (length_immediate): Use gcc_assert or
|
||||
gcc_unreachable, as appropriate.
|
||||
(*movsi_1, *movqi_1, reload_outqi, *movdi_1_rex64, *pushsf,
|
||||
*pushsf_rex64, *truncxfsf2_mixed, *truncxfsf2_i387,
|
||||
*truncxfdf2_mixed, *truncxfdf2_i387, *adddi_1_rex64,
|
||||
*adddi_2_rex64, *adddi_3_rex64, *adddi_4_rex64, *adddi_5_rex64,
|
||||
*addsi_1, addsi_1_zext, *addsi_2, *addsi_2_zext, *addsi_3,
|
||||
*addsi_3_zext, *addsi_4, *addsi_5, *addhi_1_lea, *addhi_1,
|
||||
*addhi_2, *addhi_3, *addhi_4, *addhi_5, *addqi_1_lea, *addqi_1,
|
||||
*addqi_1_slp, *addqi_2, *addqi_3, *addqi_4, *addqi_5, addqi_ext_1,
|
||||
*addqi_ext_1_rex64, *anddi_1_rex64, *andsi_1, *andhi_1,
|
||||
*ashldi3_1_rex64, *ashldi3_cmp_rex64, *ashlsi3_1, *ashlsi3_1_zext,
|
||||
*ashlsi3_cmp, *ashlsi3_cmp_zext, *ashlhi3_1_lea, *ashlhi3_1,
|
||||
*ashlhi3_cmp, *ashlqi3_1_lea, *ashlqi3_1, *ashlqi3_cmp,
|
||||
pro_epilogue_adjust_stack_1, pro_epilogue_adjust_stack_rex64,
|
||||
pro_epilogue_adjust_stack_rex64_2, prefetch, *prefetch_sse,
|
||||
*prefetch_sse_rex): Likewise.
|
||||
* config/i386/predicates.md (x86_64_immediate_operand,
|
||||
x86_64_zext_immediate_operand, symbolic_operand,
|
||||
no_seg_address_operand, aligned_operand,
|
||||
memory_displacement_operand): Likewise.
|
||||
* config/i386/sse.md (*mov<mode>_internal,
|
||||
*movv2df_internal): Likewise.
|
||||
|
||||
2005-04-22 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* Makefile.in (ipa.o, ipa-inline.o): New files.
|
||||
* cgraph.h (cgraph_remove_unreachable_nodes, cgraph_postorder,
|
||||
cgraph_decide_inlining_incrementally, cgraph_clone_inlined_nodes,
|
||||
cgraph_mark_inline_edge, cgraph_default_inline_p): Declare.
|
||||
* cgraphunit.c (cgraph_default_inline_p, cgraph_decide_inlining_incrementally,
|
||||
ncalls_inlined, nfunctions_inlined, initial_insns, overall_insns,
|
||||
* cgraphunit.c (cgraph_default_inline_p,
|
||||
cgraph_decide_inlining_incrementally, ncalls_inlined,
|
||||
nfunctions_inlined, initial_insns, overall_insns,
|
||||
cgraph_estimate_size_after_inlining, cgraph_estimate_growth,
|
||||
cgraph_clone_inlined_nodes, cgraph_mark_inline_edge,
|
||||
cgraph_mark_inline, cgraph_check_inline_limits,
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -195,7 +195,7 @@
|
||||
break;
|
||||
|
||||
default:
|
||||
abort ();
|
||||
gcc_unreachable ();
|
||||
}
|
||||
|
||||
return 0;
|
||||
@ -275,7 +275,7 @@
|
||||
break;
|
||||
|
||||
default:
|
||||
abort ();
|
||||
gcc_unreachable ();
|
||||
}
|
||||
return 0;
|
||||
})
|
||||
@ -359,7 +359,7 @@
|
||||
return 0;
|
||||
|
||||
default:
|
||||
abort ();
|
||||
gcc_unreachable ();
|
||||
}
|
||||
})
|
||||
|
||||
@ -656,8 +656,10 @@
|
||||
(match_operand 0 "address_operand")
|
||||
{
|
||||
struct ix86_address parts;
|
||||
if (! ix86_decompose_address (op, &parts))
|
||||
abort ();
|
||||
int ok;
|
||||
|
||||
ok = ix86_decompose_address (op, &parts);
|
||||
gcc_assert (ok);
|
||||
return parts.seg == SEG_DEFAULT;
|
||||
})
|
||||
|
||||
@ -666,6 +668,7 @@
|
||||
(match_operand 0 "general_operand")
|
||||
{
|
||||
struct ix86_address parts;
|
||||
int ok;
|
||||
|
||||
/* Registers and immediate operands are always "aligned". */
|
||||
if (GET_CODE (op) != MEM)
|
||||
@ -682,8 +685,8 @@
|
||||
return 1;
|
||||
|
||||
/* Decode the address. */
|
||||
if (!ix86_decompose_address (op, &parts))
|
||||
abort ();
|
||||
ok = ix86_decompose_address (op, &parts);
|
||||
gcc_assert (ok);
|
||||
|
||||
/* Look for some component that isn't known to be aligned. */
|
||||
if (parts.index)
|
||||
@ -712,8 +715,10 @@
|
||||
(match_operand 0 "memory_operand")
|
||||
{
|
||||
struct ix86_address parts;
|
||||
if (!ix86_decompose_address (XEXP (op, 0), &parts))
|
||||
abort ();
|
||||
int ok;
|
||||
|
||||
ok = ix86_decompose_address (XEXP (op, 0), &parts);
|
||||
gcc_assert (ok);
|
||||
return parts.disp != NULL_RTX;
|
||||
})
|
||||
|
||||
|
@ -75,7 +75,7 @@
|
||||
else
|
||||
return "movdqa\t{%1, %0|%0, %1}";
|
||||
default:
|
||||
abort ();
|
||||
gcc_unreachable ();
|
||||
}
|
||||
}
|
||||
[(set_attr "type" "sselog1,ssemov,ssemov")
|
||||
@ -161,7 +161,7 @@
|
||||
else
|
||||
return "movapd\t{%1, %0|%0, %1}";
|
||||
default:
|
||||
abort ();
|
||||
gcc_unreachable ();
|
||||
}
|
||||
}
|
||||
[(set_attr "type" "sselog1,ssemov,ssemov")
|
||||
|
Loading…
x
Reference in New Issue
Block a user