aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorUros Bizjak <uros@gcc.gnu.org>2009-09-30 18:09:53 +0200
committerUros Bizjak <uros@gcc.gnu.org>2009-09-30 18:09:53 +0200
commit1f063d1016c58854d377bea0db152694698f3694 (patch)
tree54c36197ff2813aa31ef498b6f4d629c765b68e2 /gcc
parentf09666518db82cc75802010688cdf8cf4a6ea0ef (diff)
downloadgcc-1f063d1016c58854d377bea0db152694698f3694.zip
gcc-1f063d1016c58854d377bea0db152694698f3694.tar.gz
gcc-1f063d1016c58854d377bea0db152694698f3694.tar.bz2
alpha.c (alpha_gimplify_va_arg_1): Use ref-all pointers.
* config/alpha/alpha.c (alpha_gimplify_va_arg_1): Use ref-all pointers. (alpha_gimplify_va_arg): Ditto. From-SVN: r152333
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog36
-rw-r--r--gcc/config/alpha/alpha.c4
2 files changed, 21 insertions, 19 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3765cba..9653626 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2009-09-30 Uros Bizjak <ubizjak@gmail.com>
+
+ * config/alpha/alpha.c (alpha_gimplify_va_arg_1):
+ Use ref-all pointers.
+ (alpha_gimplify_va_arg): Ditto.
+
2009-09-30 Jakub Jelinek <jakub@redhat.com>
PR target/41279
@@ -37,33 +43,30 @@
* config.gcc (i[34567]86-*-*): Include fma4intrin.h.
(x86_64-*-*): Ditto.
-
+
* config/i386/fma4intrin.h: New file, provide common x86 compiler
intrinisics for FMA4.
* config/i386/cpuid.h (bit_FMA4): Define FMA4 bit.
* config/i386/x86intrin.h: Fix typo to SSE4A instead of SSE4a.
Add FMA4 check and fma4intrin.h.
* config/i386/i386-c.c(ix86_target_macros_internal): Check
- ISA_FLAG for FMA4.
+ ISA_FLAG for FMA4.
* config/i386/i386.h(TARGET_FMA4): New macro for FMA4.
* config/i386/i386.md (UNSPEC_FMA4_INTRINSIC): Add new UNSPEC
constant for FMA4 support.
(UNSPEC_FMA4_FMADDSUB): Ditto.
(UNSPEC_FMA4_FMSUBADD): Ditto.
* config/i386/i386.opt (-mfma4): New switch for FMA4 support.
- * config/i386/i386-protos.h (ix86_fma4_valid_op_p): Add
- declaration.
+ * config/i386/i386-protos.h (ix86_fma4_valid_op_p): Add declaration.
(ix86_expand_fma4_multiple_memory): Ditto.
* config/i386/i386.c (OPTION_MASK_ISA_FMA4_SET): New.
- (OPTION_MASK_ISA_FMA4_UNSET): New.
- (OPTION_MASK_ISA_SSE4A_UNSET): Change definition to
- depend on FMA4.
- (OPTION_MASK_ISA_AVX_UNSET): Change definition to
- depend on FMA4.
+ (OPTION_MASK_ISA_FMA4_UNSET): New.
+ (OPTION_MASK_ISA_SSE4A_UNSET): Change definition to depend on FMA4.
+ (OPTION_MASK_ISA_AVX_UNSET): Change definition to depend on FMA4.
(ix86_handle_option): Handle -mfma4.
(isa_opts): Handle -mfma4.
(enum pta_flags): Add PTA_FMA4.
- (override_options): Add FMA4 support.
+ (override_options): Add FMA4 support.
(IX86_BUILTIN_VFMADDSS): New for FMA4 intrinsic.
(IX86_BUILTIN_VFMADDSD): Ditto.
(IX86_BUILTIN_VFMADDPS): Ditto.
@@ -169,7 +172,7 @@
2009-09-29 Steve Ellcey <sje@cup.hp.com>
Alexander Monakov <amonakov@ispras.ru>
- PR target/41365
+ PR target/41365
* config/ia64/predicates.md (not_postinc_destination_operand): New.
(not_postinc_memory_operand): New.
(not_postinc_move_operand): New.
@@ -205,14 +208,13 @@
2009-09-29 Harsha Jagasia <harsha.jagasia@amd.com>
* config.gcc (i[34567]86-*-*): Remove mmintrin-common.h.
- (x86_64-*-*): Ditto.
+ (x86_64-*-*): Ditto.
* config/i386/smmintrin.h: Move instructions in mmintrin-common.h
back to smmintrin.h.
* config/i386/cpuid.h: (bit_SSE5): Remove SSE5 bit.
* config/i386/x86intrin.h: Remove SSE5.
- * config/i386/mmintrin-common.h: Delete file.
- * doc/extend.texi (x86 intrinsics): Remove SSE5 flags
- and builtins.
+ * config/i386/mmintrin-common.h: Delete file.
+ * doc/extend.texi (x86 intrinsics): Remove SSE5 flags and builtins.
2009-09-29 Richard Guenther <rguenther@suse.de>
@@ -226,7 +228,7 @@
2009-09-28 Sriraman Tallam <tmsriram@google.com>
- * tree-pass.h (register_pass_info): New structure.
+ * tree-pass.h (register_pass_info): New structure.
(pass_positioning_ops): Move enum from gcc-plugin.h.
(register_pass): New function.
* gcc-plugin.h (plugin_pass): Delete structure.
@@ -333,7 +335,7 @@
multiple instructions).
* tree-ssa-dom.c (optimize_stmt): Resolve __builtin_constant_p
calls into zero at this time.
- * tree-ssa-propagate.c (substitute_and_fold): Ignore multiple
+ * tree-ssa-propagate.c (substitute_and_fold): Ignore multiple
statements generated by builtin folding.
2009-09-28 Nick Clifton <nickc@redhat.com>
diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c
index 86fd1ee..6dece10 100644
--- a/gcc/config/alpha/alpha.c
+++ b/gcc/config/alpha/alpha.c
@@ -6339,7 +6339,7 @@ alpha_gimplify_va_arg_1 (tree type, tree base, tree offset,
}
addend = offset;
- ptr_type = build_pointer_type (type);
+ ptr_type = build_pointer_type_for_mode (type, ptr_mode, true);
if (TREE_CODE (type) == COMPLEX_TYPE)
{
@@ -6420,7 +6420,7 @@ alpha_gimplify_va_arg (tree valist, tree type, gimple_seq *pre_p,
indirect = pass_by_reference (NULL, TYPE_MODE (type), type, false);
if (indirect)
- type = build_pointer_type (type);
+ type = build_pointer_type_for_mode (type, ptr_mode, true);
/* Find the value. Note that this will be a stable indirection, or
a composite of stable indirections in the case of complex. */