aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorCameron McInally <cameron.mcinally@nyu.edu>2013-07-25 22:47:16 +0200
committerUros Bizjak <uros@gcc.gnu.org>2013-07-25 22:47:16 +0200
commit41a7c2158dd2e6a2e34fe11b0c147eac4b760850 (patch)
tree29749dea7b7a2f9bb4958a5e57d809a02eb962e3 /gcc
parent49bde17554926a2352b7f1df98d4e02becc1e065 (diff)
downloadgcc-41a7c2158dd2e6a2e34fe11b0c147eac4b760850.zip
gcc-41a7c2158dd2e6a2e34fe11b0c147eac4b760850.tar.gz
gcc-41a7c2158dd2e6a2e34fe11b0c147eac4b760850.tar.bz2
re PR target/38836 (Documentation for x86 builtins is outdated)
2013-07-25 Cameron McInally <cameron.mcinally@nyu.edu> * doc/extend.texi: Fix return types for __builtin_ia32_cmp*s builtins. 2013-07-25 Cameron McInally <cameron.mcinally@nyu.edu> PR target/38836 * doc/extend.texi: Remove obsolete builtins. Fix typo for __builtin_ia32_loadss and __builtin_ia32_cmpnltss. From-SVN: r201252
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog25
-rw-r--r--gcc/doc/extend.texi59
2 files changed, 38 insertions, 46 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b406b15..a47ad4d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,13 @@
+2013-07-25 Cameron McInally <cameron.mcinally@nyu.edu>
+
+ * doc/extend.texi: Fix return types for __builtin_ia32_cmp*s builtins.
+
+2013-07-25 Cameron McInally <cameron.mcinally@nyu.edu>
+
+ PR target/38836
+ * doc/extend.texi: Remove obsolete builtins. Fix
+ typo for __builtin_ia32_loadss and __builtin_ia32_cmpnltss.
+
2013-07-25 Jan Hubicka <jh@suse.cz>
* 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 <ramana.radhakrishnan@arm.com>
@@ -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 <ebotcazou@adacore.com>
* config.gcc (sparc*-*-*): Accept leon3 processor.
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 4dfaaa8..68d9426 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)