From 41a7c2158dd2e6a2e34fe11b0c147eac4b760850 Mon Sep 17 00:00:00 2001 From: Cameron McInally Date: Thu, 25 Jul 2013 22:47:16 +0200 Subject: [PATCH] re PR target/38836 (Documentation for x86 builtins is outdated) 2013-07-25 Cameron McInally * doc/extend.texi: Fix return types for __builtin_ia32_cmp*s builtins. 2013-07-25 Cameron McInally PR target/38836 * doc/extend.texi: Remove obsolete builtins. Fix typo for __builtin_ia32_loadss and __builtin_ia32_cmpnltss. From-SVN: r201252 --- gcc/ChangeLog | 25 +++++++++++++------ gcc/doc/extend.texi | 59 ++++++++++++++++----------------------------- 2 files changed, 38 insertions(+), 46 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b406b15ce47..a47ad4dc0c7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,13 @@ +2013-07-25 Cameron McInally + + * doc/extend.texi: Fix return types for __builtin_ia32_cmp*s builtins. + +2013-07-25 Cameron McInally + + PR target/38836 + * doc/extend.texi: Remove obsolete builtins. Fix + typo for __builtin_ia32_loadss and __builtin_ia32_cmpnltss. + 2013-07-25 Jan Hubicka * cgraph.c (release_function_body): Break out from ... @@ -8,8 +18,8 @@ (create_specialized_node): Update. * lto-cgraph.c (output_node_opt_summary): Do not translate old_tree into index. - * cgraphclones.c (cgraph_create_virtual_clone): Do not copy DECL_ARGUMENTS, - DECL_INITIAL and DECL_RESULT. + * cgraphclones.c (cgraph_create_virtual_clone): Do not copy + DECL_ARGUMENTS, DECL_INITIAL and DECL_RESULT. * ipa-prop.c (ipa_populate_param_decls): Look for origin of clones. * tree-inline.c (initialize_cfun): Initialize DECL_ARGUMENTS and DECL_RESULT. @@ -44,7 +54,8 @@ * cgraph.c (cgraph_remove_node): Do not release function body when in cgraph streaming. * ipa.c (process_references, symtab_remove_unreachable_nodes): Objects - in other partitions are not considered reachable; fix handling of clones. + in other partitions are not considered reachable; fix handling of + clones. 2013-07-25 Ramana Radhakrishnan @@ -57,8 +68,7 @@ PR target/57748 * config/arm/arm.md ("*sibcall_insn): Replace use of Ss with US. Adjust output for v5 and v4t. - (*sibcall_value_insn): Likewise and loosen predicate on - operand0. + (*sibcall_value_insn): Likewise and loosen predicate on operand0. * config/arm/constraints.md ("Ss"): Rename to US. @@ -85,8 +95,7 @@ (toplev.o): Add CONTEXT_H to dependencies. (context.o): New. - * toplev.c (general_init): Create the singleton gcc::context - instance. + * toplev.c (general_init): Create the singleton gcc::context instance. * context.c: New. @@ -365,7 +374,7 @@ * dwarf2out.c (die_odr_checksum): New function to use CHECKSUM_ macros and ULEB128 for DIE tag. (generate_type_signature): Use. - + 2013-07-22 Eric Botcazou * config.gcc (sparc*-*-*): Accept leon3 processor. diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 4dfaaa8a1a3..68d9426533f 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -9925,8 +9925,6 @@ v8qi __builtin_ia32_pmaxub (v8qi, v8qi) v4hi __builtin_ia32_pmaxsw (v4hi, v4hi) v8qi __builtin_ia32_pminub (v8qi, v8qi) v4hi __builtin_ia32_pminsw (v4hi, v4hi) -int __builtin_ia32_pextrw (v4hi, int) -v4hi __builtin_ia32_pinsrw (v4hi, int, int) int __builtin_ia32_pmovmskb (v8qi) void __builtin_ia32_maskmovq (v8qi, v8qi, char *) void __builtin_ia32_movntq (di *, di) @@ -9957,26 +9955,26 @@ v4sf __builtin_ia32_addss (v4sf, v4sf) v4sf __builtin_ia32_subss (v4sf, v4sf) v4sf __builtin_ia32_mulss (v4sf, v4sf) v4sf __builtin_ia32_divss (v4sf, v4sf) -v4si __builtin_ia32_cmpeqps (v4sf, v4sf) -v4si __builtin_ia32_cmpltps (v4sf, v4sf) -v4si __builtin_ia32_cmpleps (v4sf, v4sf) -v4si __builtin_ia32_cmpgtps (v4sf, v4sf) -v4si __builtin_ia32_cmpgeps (v4sf, v4sf) -v4si __builtin_ia32_cmpunordps (v4sf, v4sf) -v4si __builtin_ia32_cmpneqps (v4sf, v4sf) -v4si __builtin_ia32_cmpnltps (v4sf, v4sf) -v4si __builtin_ia32_cmpnleps (v4sf, v4sf) -v4si __builtin_ia32_cmpngtps (v4sf, v4sf) -v4si __builtin_ia32_cmpngeps (v4sf, v4sf) -v4si __builtin_ia32_cmpordps (v4sf, v4sf) -v4si __builtin_ia32_cmpeqss (v4sf, v4sf) -v4si __builtin_ia32_cmpltss (v4sf, v4sf) -v4si __builtin_ia32_cmpless (v4sf, v4sf) -v4si __builtin_ia32_cmpunordss (v4sf, v4sf) -v4si __builtin_ia32_cmpneqss (v4sf, v4sf) -v4si __builtin_ia32_cmpnlts (v4sf, v4sf) -v4si __builtin_ia32_cmpnless (v4sf, v4sf) -v4si __builtin_ia32_cmpordss (v4sf, v4sf) +v4sf __builtin_ia32_cmpeqps (v4sf, v4sf) +v4sf __builtin_ia32_cmpltps (v4sf, v4sf) +v4sf __builtin_ia32_cmpleps (v4sf, v4sf) +v4sf __builtin_ia32_cmpgtps (v4sf, v4sf) +v4sf __builtin_ia32_cmpgeps (v4sf, v4sf) +v4sf __builtin_ia32_cmpunordps (v4sf, v4sf) +v4sf __builtin_ia32_cmpneqps (v4sf, v4sf) +v4sf __builtin_ia32_cmpnltps (v4sf, v4sf) +v4sf __builtin_ia32_cmpnleps (v4sf, v4sf) +v4sf __builtin_ia32_cmpngtps (v4sf, v4sf) +v4sf __builtin_ia32_cmpngeps (v4sf, v4sf) +v4sf __builtin_ia32_cmpordps (v4sf, v4sf) +v4sf __builtin_ia32_cmpeqss (v4sf, v4sf) +v4sf __builtin_ia32_cmpltss (v4sf, v4sf) +v4sf __builtin_ia32_cmpless (v4sf, v4sf) +v4sf __builtin_ia32_cmpunordss (v4sf, v4sf) +v4sf __builtin_ia32_cmpneqss (v4sf, v4sf) +v4sf __builtin_ia32_cmpnltss (v4sf, v4sf) +v4sf __builtin_ia32_cmpnless (v4sf, v4sf) +v4sf __builtin_ia32_cmpordss (v4sf, v4sf) v4sf __builtin_ia32_maxps (v4sf, v4sf) v4sf __builtin_ia32_maxss (v4sf, v4sf) v4sf __builtin_ia32_minps (v4sf, v4sf) @@ -10010,18 +10008,12 @@ int __builtin_ia32_movmskps (v4sf) The following built-in functions are available when @option{-msse} is used. @table @code -@item v4sf __builtin_ia32_loadaps (float *) -Generates the @code{movaps} machine instruction as a load from memory. -@item void __builtin_ia32_storeaps (float *, v4sf) -Generates the @code{movaps} machine instruction as a store to memory. @item v4sf __builtin_ia32_loadups (float *) Generates the @code{movups} machine instruction as a load from memory. @item void __builtin_ia32_storeups (float *, v4sf) Generates the @code{movups} machine instruction as a store to memory. -@item v4sf __builtin_ia32_loadsss (float *) +@item v4sf __builtin_ia32_loadss (float *) Generates the @code{movss} machine instruction as a load from memory. -@item void __builtin_ia32_storess (float *, v4sf) -Generates the @code{movss} machine instruction as a store to memory. @item v4sf __builtin_ia32_loadhps (v4sf, const v2sf *) Generates the @code{movhps} machine instruction as a load from memory. @item v4sf __builtin_ia32_loadlps (v4sf, const v2sf *) @@ -10205,19 +10197,11 @@ v2df __builtin_ia32_hsubpd (v2df, v2df) v4sf __builtin_ia32_hsubps (v4sf, v4sf) v16qi __builtin_ia32_lddqu (char const *) void __builtin_ia32_monitor (void *, unsigned int, unsigned int) -v2df __builtin_ia32_movddup (v2df) v4sf __builtin_ia32_movshdup (v4sf) v4sf __builtin_ia32_movsldup (v4sf) void __builtin_ia32_mwait (unsigned int, unsigned int) @end smallexample -The following built-in functions are available when @option{-msse3} is used. - -@table @code -@item v2df __builtin_ia32_loadddup (double const *) -Generates the @code{movddup} machine instruction as a load from memory. -@end table - The following built-in functions are available when @option{-mssse3} is used. All of them generate the machine instruction that is part of the name with MMX registers. @@ -11000,7 +10984,6 @@ v2sf __builtin_ia32_pfrcp (v2sf) v2sf __builtin_ia32_pfrcpit1 (v2sf, v2sf) v2sf __builtin_ia32_pfrcpit2 (v2sf, v2sf) v2sf __builtin_ia32_pfrsqrt (v2sf) -v2sf __builtin_ia32_pfrsqrtit1 (v2sf, v2sf) v2sf __builtin_ia32_pfsub (v2sf, v2sf) v2sf __builtin_ia32_pfsubr (v2sf, v2sf) v2sf __builtin_ia32_pi2fd (v2si)