Commit 1f063d10 by Uros Bizjak

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
parent f0966651
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> 2009-09-30 Jakub Jelinek <jakub@redhat.com>
PR target/41279 PR target/41279
...@@ -37,33 +43,30 @@ ...@@ -37,33 +43,30 @@
* config.gcc (i[34567]86-*-*): Include fma4intrin.h. * config.gcc (i[34567]86-*-*): Include fma4intrin.h.
(x86_64-*-*): Ditto. (x86_64-*-*): Ditto.
* config/i386/fma4intrin.h: New file, provide common x86 compiler * config/i386/fma4intrin.h: New file, provide common x86 compiler
intrinisics for FMA4. intrinisics for FMA4.
* config/i386/cpuid.h (bit_FMA4): Define FMA4 bit. * config/i386/cpuid.h (bit_FMA4): Define FMA4 bit.
* config/i386/x86intrin.h: Fix typo to SSE4A instead of SSE4a. * config/i386/x86intrin.h: Fix typo to SSE4A instead of SSE4a.
Add FMA4 check and fma4intrin.h. Add FMA4 check and fma4intrin.h.
* config/i386/i386-c.c(ix86_target_macros_internal): Check * 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.h(TARGET_FMA4): New macro for FMA4.
* config/i386/i386.md (UNSPEC_FMA4_INTRINSIC): Add new UNSPEC * config/i386/i386.md (UNSPEC_FMA4_INTRINSIC): Add new UNSPEC
constant for FMA4 support. constant for FMA4 support.
(UNSPEC_FMA4_FMADDSUB): Ditto. (UNSPEC_FMA4_FMADDSUB): Ditto.
(UNSPEC_FMA4_FMSUBADD): Ditto. (UNSPEC_FMA4_FMSUBADD): Ditto.
* config/i386/i386.opt (-mfma4): New switch for FMA4 support. * config/i386/i386.opt (-mfma4): New switch for FMA4 support.
* config/i386/i386-protos.h (ix86_fma4_valid_op_p): Add * config/i386/i386-protos.h (ix86_fma4_valid_op_p): Add declaration.
declaration.
(ix86_expand_fma4_multiple_memory): Ditto. (ix86_expand_fma4_multiple_memory): Ditto.
* config/i386/i386.c (OPTION_MASK_ISA_FMA4_SET): New. * config/i386/i386.c (OPTION_MASK_ISA_FMA4_SET): New.
(OPTION_MASK_ISA_FMA4_UNSET): New. (OPTION_MASK_ISA_FMA4_UNSET): New.
(OPTION_MASK_ISA_SSE4A_UNSET): Change definition to (OPTION_MASK_ISA_SSE4A_UNSET): Change definition to depend on FMA4.
depend on FMA4. (OPTION_MASK_ISA_AVX_UNSET): Change definition to depend on FMA4.
(OPTION_MASK_ISA_AVX_UNSET): Change definition to
depend on FMA4.
(ix86_handle_option): Handle -mfma4. (ix86_handle_option): Handle -mfma4.
(isa_opts): Handle -mfma4. (isa_opts): Handle -mfma4.
(enum pta_flags): Add PTA_FMA4. (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_VFMADDSS): New for FMA4 intrinsic.
(IX86_BUILTIN_VFMADDSD): Ditto. (IX86_BUILTIN_VFMADDSD): Ditto.
(IX86_BUILTIN_VFMADDPS): Ditto. (IX86_BUILTIN_VFMADDPS): Ditto.
...@@ -169,7 +172,7 @@ ...@@ -169,7 +172,7 @@
2009-09-29 Steve Ellcey <sje@cup.hp.com> 2009-09-29 Steve Ellcey <sje@cup.hp.com>
Alexander Monakov <amonakov@ispras.ru> Alexander Monakov <amonakov@ispras.ru>
PR target/41365 PR target/41365
* config/ia64/predicates.md (not_postinc_destination_operand): New. * config/ia64/predicates.md (not_postinc_destination_operand): New.
(not_postinc_memory_operand): New. (not_postinc_memory_operand): New.
(not_postinc_move_operand): New. (not_postinc_move_operand): New.
...@@ -205,14 +208,13 @@ ...@@ -205,14 +208,13 @@
2009-09-29 Harsha Jagasia <harsha.jagasia@amd.com> 2009-09-29 Harsha Jagasia <harsha.jagasia@amd.com>
* config.gcc (i[34567]86-*-*): Remove mmintrin-common.h. * 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 * config/i386/smmintrin.h: Move instructions in mmintrin-common.h
back to smmintrin.h. back to smmintrin.h.
* config/i386/cpuid.h: (bit_SSE5): Remove SSE5 bit. * config/i386/cpuid.h: (bit_SSE5): Remove SSE5 bit.
* config/i386/x86intrin.h: Remove SSE5. * config/i386/x86intrin.h: Remove SSE5.
* config/i386/mmintrin-common.h: Delete file. * config/i386/mmintrin-common.h: Delete file.
* doc/extend.texi (x86 intrinsics): Remove SSE5 flags * doc/extend.texi (x86 intrinsics): Remove SSE5 flags and builtins.
and builtins.
2009-09-29 Richard Guenther <rguenther@suse.de> 2009-09-29 Richard Guenther <rguenther@suse.de>
...@@ -226,7 +228,7 @@ ...@@ -226,7 +228,7 @@
2009-09-28 Sriraman Tallam <tmsriram@google.com> 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. (pass_positioning_ops): Move enum from gcc-plugin.h.
(register_pass): New function. (register_pass): New function.
* gcc-plugin.h (plugin_pass): Delete structure. * gcc-plugin.h (plugin_pass): Delete structure.
...@@ -333,7 +335,7 @@ ...@@ -333,7 +335,7 @@
multiple instructions). multiple instructions).
* tree-ssa-dom.c (optimize_stmt): Resolve __builtin_constant_p * tree-ssa-dom.c (optimize_stmt): Resolve __builtin_constant_p
calls into zero at this time. 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. statements generated by builtin folding.
2009-09-28 Nick Clifton <nickc@redhat.com> 2009-09-28 Nick Clifton <nickc@redhat.com>
...@@ -6339,7 +6339,7 @@ alpha_gimplify_va_arg_1 (tree type, tree base, tree offset, ...@@ -6339,7 +6339,7 @@ alpha_gimplify_va_arg_1 (tree type, tree base, tree offset,
} }
addend = 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) if (TREE_CODE (type) == COMPLEX_TYPE)
{ {
...@@ -6420,7 +6420,7 @@ alpha_gimplify_va_arg (tree valist, tree type, gimple_seq *pre_p, ...@@ -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); indirect = pass_by_reference (NULL, TYPE_MODE (type), type, false);
if (indirect) 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 /* Find the value. Note that this will be a stable indirection, or
a composite of stable indirections in the case of complex. */ a composite of stable indirections in the case of complex. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment