summaryrefslogtreecommitdiffstats
path: root/gcc
Commit message (Collapse)AuthorAgeFilesLines
...
* libcpp/emsr2014-10-0811-0/+555
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2014-10-08 Edward Smith-Rowland <3dw4rd@verizon.net> Implement SD-6: SG10 Feature Test Recommendations * internal.h (lexer_state, spec_nodes): Add in__has_include__. * directives.c: Support __has_include__ builtin. * expr.c (parse_has_include): New function to parse __has_include__ builtin; (eval_token()): Use it. * files.c (_cpp_has_header()): New funtion to look for header; (open_file_failed()): Not an error to not find a header file for __has_include__. * identifiers.c (_cpp_init_hashtable()): Add entry for __has_include__. * pch.c (cpp_read_state): Lookup __has_include__. * traditional.c (enum ls, _cpp_scan_out_logical_line()): Walk through __has_include__ statements. gcc/c-family/ 2014-10-08 Edward Smith-Rowland <3dw4rd@verizon.net> Implement SD-6: SG10 Feature Test Recommendations * c-cppbuiltin.c (c_cpp_builtins()): Define language feature macros and the __has_header macro. libstdc++-v3/ 2014-10-08 Edward Smith-Rowland <3dw4rd@verizon.net> Implement SD-6: SG10 Feature Test Recommendations * include/bits/basic_string.h: Add __cpp_lib feature test macro. * include/bits/stl_algobase.h: Ditto. * include/bits/stl_function.h: Ditto. * include/bits/unique_ptr.h: Ditto. * include/std/chrono: Ditto. * include/std/complex: Ditto. * include/std/iomanip: Ditto. * include/std/shared_mutex: Ditto. * include/std/tuple: Ditto. * include/std/type_traits: Ditto. * include/std/utility: Ditto. * testsuite/experimental/feat-cxx14.cc: New. * testsuite/experimental/feat-lib-fund.cc: New. * testsuite/20_util/declval/requirements/1_neg.cc: Adjust. * testsuite/20_util/duration/literals/range.cc: Adjust. * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Adjust. * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Adjust. * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Adjust. * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust. * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Adjust. * testsuite/23_containers/array/tuple_interface/get_neg.cc: Adjust. * testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc: Adjust. gcc/testsuite/ 2014-10-08 Edward Smith-Rowland <3dw4rd@verizon.net> Implement SD-6: SG10 Feature Test Recommendations * g++.dg/cpp1y/feat-cxx11-neg.C: New. * g++.dg/cpp1y/feat-cxx11.C: New. * g++.dg/cpp1y/feat-cxx14.C: New. * g++.dg/cpp1y/feat-cxx98.C: New. * g++.dg/cpp1y/feat-cxx98-neg.C: New. * g++.dg/cpp1y/phoobhar.h: New. * g++.dg/cpp1y/testinc/phoobhar.h: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215998 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2014-10-081-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215989 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2014-10-071-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215960 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2014-10-061-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215911 138bc75d-0d04-0410-961f-82ee72b054a4
* PR ipa/61144hubicka2014-10-054-2/+27
| | | | | | | | * varpool.c (ctor_for_folding): Do not fold WEAK symbols. * gcc.dg/tree-ssa/pr61144.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215896 138bc75d-0d04-0410-961f-82ee72b054a4
* PR ipa/62121hubicka2014-10-054-1/+25
| | | | | | | | | | * ipa-devirt.c (restrict_to_inner_class): Do not ICE when type is unknown. * g++.dg/torture/pr62121.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215895 138bc75d-0d04-0410-961f-82ee72b054a4
* PR lto/62026hubicka2014-10-055-1/+42
| | | | | | | | | * g++.dg/lto/pr62026.C: New testcase. * lto-streamer-out.c (lto_output): Handle thunks correctly. * cgraphclones.c (duplicate_thunk_for_node): Get thunk's arguments. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215894 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2014-10-051-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215892 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2014-10-041-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215884 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libgomp/61200jakub2014-10-034-10/+104
| | | | | | | | | | | | | | | | | * omp-low.c (taskreg_contexts): New variable. (scan_omp_parallel): Push newly created context into taskreg_contexts vector and move record layout code to finish_taskreg_scan. (scan_omp_task): Likewise. (finish_taskreg_scan): New function. (execute_lower_omp): Call finish_taskreg_scan on all taskreg_contexts vector elements and release it. * c-c++-common/gomp/pr61200.c: New test. * testsuite/libgomp.c/pr61200.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215838 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2014-10-031-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215828 138bc75d-0d04-0410-961f-82ee72b054a4
* PR go/61880ian2014-10-021-4/+1
| | | | | | | | | | | | | | | compiler: symbol names should have '.' replaced with '_' Package and symbol names issued by the cgo tool and compiler should be the same for the object files to link. A minimal change to fix only: https://code.google.com/p/gofrontend/issues/detail?id=36 and https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61880 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215812 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-10-02 Martin Jambor <mjambor@suse.cz>jamborm2014-10-022-0/+11
| | | | | | | | | | PR tree-optimization/63375 * tree-sra.c (build_access_from_expr_1): Disqualify volatile references. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215806 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2014-10-021-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215787 138bc75d-0d04-0410-961f-82ee72b054a4
* PR debug/63342jakub2014-10-014-0/+37
| | | | | | | | | | * dwarf2out.c (loc_list_from_tree): Handle TARGET_MEM_REF and SSA_NAME. * gcc.dg/pr63342.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215783 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/63428jakub2014-10-014-4/+12
| | | | | | | | | | | * config/i386/i386.c (expand_vec_perm_pshufb): Fix up rperm[0] argument to avx2_permv2ti. * gcc.dg/torture/vshuf-4.inc: Move test 122 from EXPTESTS to test 24 in TESTS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215780 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/63306jakub2014-10-014-2/+28
| | | | | | | | | | | | | | Backported from mainline 2014-08-01 James Greenhalgh <james.greenhalgh@arm.com> PR regression/61510 * cgraphunit.c (analyze_functions): Use get_create rather than get for decls which are clones of abstract functions. * g++.dg/ipa/pr63306.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215767 138bc75d-0d04-0410-961f-82ee72b054a4
* Backported from mainlinejakub2014-10-014-1/+40
| | | | | | | | | | | | | 2014-09-18 Vladimir Makarov <vmakarov@redhat.com> PR debug/63285 * haifa-sched.c (schedule_block): Advance cycle at the end of BB if advance != 0. * gcc.target/i386/pr63285.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215766 138bc75d-0d04-0410-961f-82ee72b054a4
* Backported from mainlinejakub2014-10-014-7/+83
| | | | | | | | | | | | | | | 2014-09-10 Jan Hubicka <hubicka@ucw.cz> PR tree-optimization/63186 * ipa-split.c (test_nonssa_use): Skip nonforced labels. (mark_nonssa_use): Likewise. (verify_non_ssa_vars): Verify all header blocks for label definitions. * gcc.dg/pr63186.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215765 138bc75d-0d04-0410-961f-82ee72b054a4
* [PATCH][ARM] Disable store_minmaxsi pattern for arm_restrict_iktkachov2014-10-012-1/+8
| | | | | | | | | | Backport from mainline 2014-10-01 Kyrylo Tkachov <kyrylo.tkachov@arm.com> * config/arm/arm.md (*store_minmaxsi): Disable for arm_restrict_it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215761 138bc75d-0d04-0410-961f-82ee72b054a4
* Backport from mainlineuros2014-10-012-6/+24
| | | | | | | | | | | | | | | 2014-09-30 Uros Bizjak <ubizjak@gmail.com> * config/i386/i386.md (fmodxf3): Enable for flag_finite_math_only only. (fmod<mode>3): Ditto. (fpremxf4_i387): Ditto. (reminderxf3): Ditto. (reminder<mode>3): Ditto. (fprem1xf4_i387): Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215751 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2014-10-011-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215746 138bc75d-0d04-0410-961f-82ee72b054a4
* PR plugins/63410 Fix missing pass-instances.defdmalcolm2014-09-302-1/+6
| | | | | | | | | | gcc/ PR plugins/63410 * Makefile.in (PLUGIN_HEADERS): Add pass-instances.def. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215731 138bc75d-0d04-0410-961f-82ee72b054a4
* PR inline-asm/63282jakub2014-09-304-4/+31
| | | | | | | | | | * ifcvt.c (dead_or_predicable): Don't call redirect_jump_1 or invert_jump_1 if jump isn't any_condjump_p. * gcc.c-torture/compile/pr63282.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215713 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2014-09-301-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215701 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/61407fxcoudert2014-09-298-28/+72
| | | | | | | | | | | | | | | | | * config/darwin-c.c (version_as_macro): Added extra 0 for OS X 10.10 and above. * config/darwin-driver.c (darwin_find_version_from_kernel): Removed kernel version check to avoid incrementing it after every major OS X release. (darwin_default_min_version): Avoid static memory buffer. * gcc.dg/darwin-minversion-1.c: Fixed formatting * gcc.dg/darwin-minversion-2.c: Fixed formatting * gcc.dg/darwin-minversion-3.c: Fixed formatting * gcc.dg/darwin-minversion-4.c: Added test for OS X 10.10 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215690 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-09-29 Charles Baylis <charles.baylis@linaro.org>cbaylis2014-09-295-23/+48
| | | | | | | | | | | | | | | | | | | | | Backport from mainline r212303 PR target/49423 * config/arm/arm-protos.h (arm_legitimate_address_p, arm_is_constant_pool_ref): Add prototypes. * config/arm/arm.c (arm_legitimate_address_p): Remove static. (arm_is_constant_pool_ref) New function. * config/arm/arm.md (unaligned_loadhis, arm_zero_extendhisi2_v6, arm_zero_extendqisi2_v6): Use Uh constraint for memory operand. (arm_extendhisi2, arm_extendhisi2_v6): Use Uh constraint for memory operand and remove pool_range and neg_pool_range attributes. (arm_extendqihi_insn, arm_extendqisi, arm_extendqisi_v6): Remove pool_range and neg_pool_range attributes. * config/arm/constraints.md (Uh): New constraint. (Uq): Don't allow constant pool references. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215685 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/63247jakub2014-09-292-3/+11
| | | | | | | | | * omp-low.c (lower_omp_target): For OMP_CLAUSE_MAP_POINTER of ARRAY_TYPE, if not OMP_CLAUSE_MAP_ZERO_BIAS_ARRAY_SECTION use the alignment of avar rather than ovar. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215679 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2014-09-291-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215674 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/pa/pa.c (pa_output_function_epilogue): Only updatedanglin2014-09-282-3/+11
| | | | | | | | last_address when a nonnote insn is found. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215670 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2014-09-281-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215661 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2014-09-271-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215653 138bc75d-0d04-0410-961f-82ee72b054a4
* * g++.dg/compat/struct-layout-1_generate.c: Add -Wno-abijakub2014-09-262-2/+7
| | | | | | | to default options. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215636 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2014-09-261-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215625 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/olegendo2014-09-252-2/+12
| | | | | | | | | | | | | Backport from mainline 2014-09-25 Nick Clifton <nickc@redhat.com> 2014-09-25 Oleg Endo <olegendo@gcc.gnu.org> PR target/62218 * config/sh/sync.md (atomic_fetch_nand<mode>_soft_imask, atomic_test_and_set_soft_imask): Fix typo in instruction sequence. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215608 138bc75d-0d04-0410-961f-82ee72b054a4
* [gcc]wschmidt2014-09-254-1/+49
| | | | | | | | | | | | | | | | | | | 2014-09-25 Bill Schmidt <wschmidt@linux.vnet.ibm.com> PR target/63335 * config/rs6000/rs6000-c.c (altivec_build_resolved_builtin): Exclude VSX_BUILTIN_XVCMPGEDP_P from special handling. [gcc/testsuite] 2014-09-25 Bill Schmidt <wschmidt@linux.vnet.ibm.com> PR target/63335 * gcc.target/powerpc/pr63335.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215603 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/63341jakub2014-09-257-8/+115
| | | | | | | | | | | | | | | | | | | | * tree-vectorizer.h (vect_create_data_ref_ptr, vect_create_addr_base_for_vector_ref): Add another tree argument defaulting to NULL_TREE. * tree-vect-data-refs.c (vect_create_data_ref_ptr): Add byte_offset argument, pass it down to vect_create_addr_base_for_vector_ref. (vect_create_addr_base_for_vector_ref): Add byte_offset argument, add that to base_offset too if non-NULL. * tree-vect-stmts.c (vectorizable_load): Add byte_offset variable, for dr_explicit_realign_optimized set it to vector byte size - 1 instead of setting offset, pass byte_offset down to vect_create_data_ref_ptr. * gcc.dg/vect/pr63341-1.c: New test. * gcc.dg/vect/pr63341-2.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215585 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/63249jakub2014-09-257-2/+81
| | | | | | | | | | | | | | | | | * semantics.c (handle_omp_array_sections_1): Call mark_rvalue_use on low_bound and length. * g++.dg/gomp/pr63249.C: New test. * c-c++-common/gomp/pr63249.c: New test. 2014-09-25 Thomas Schwinge <thomas@codesourcery.com> PR c++/63249 * c-parser.c (c_parser_omp_variable_list): Call mark_exp_read on low_bound and length. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215581 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2014-09-251-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215573 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2014-09-241-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215535 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-09-23 Michael Meissner <meissner@linux.vnet.ibm.com>meissner2014-09-232-10/+49
| | | | | | | | | | | | | | | | | | | | | | | * config/rs6000/rs6000.md (f32_vsx): New mode attributes to refine the constraints used on 32/64-bit floating point moves. (f32_av): Likewise. (f64_vsx): Likewise. (f64_dm): Likewise. (f64_av): Likewise. (BOOL_REGS_OUTPUT): Use wt constraint for TImode instead of wa. (BOOL_REGS_OP1): Likewise. (BOOL_REGS_OP2): Likewise. (BOOL_REGS_UNARY): Likewise. (mov<mode>_hardfloat, SFmode/SDmode): Tighten down constraints for 32/64-bit floating point moves. Do not use wa, instead use ww/ws for moves involving VSX registers. Do not use constraints that target VSX registers for decimal types. (mov<mode>_hardfloat32, DFmode/DDmode): Likewise. (mov<mode>_hardfloat64, DFmode/DDmode): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215522 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2014-09-231-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215488 138bc75d-0d04-0410-961f-82ee72b054a4
* /cppaolo2014-09-224-3/+26
| | | | | | | | | | | | | | | | 2014-09-22 Paolo Carlini <paolo.carlini@oracle.com> PR c++/62219 * pt.c (check_default_tmpl_args): Check LAMBDA_FUNCTION_P. /testsuite 2014-09-22 Paolo Carlini <paolo.carlini@oracle.com> PR c++/62219 * g++.dg/cpp0x/lambda/lambda-template14.C: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215483 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/61465jason2014-09-223-1/+15
| | | | | | | * call.c (convert_like_real) [ck_identity]: Call mark_rvalue_use after pulling out an element from a CONSTRUCTOR. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215476 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/63323mpolacek2014-09-224-3/+43
| | | | | | | | | * ubsan.c (is_ubsan_builtin_p): Turn assert into a condition. * g++.dg/ubsan/pr61272.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215459 138bc75d-0d04-0410-961f-82ee72b054a4
* PR debug/63328jakub2014-09-224-3/+33
| | | | | | | | | | | * omp-low.c (ipa_simd_modify_stmt_ops): For debug stmts insert a debug source bind stmt setting DEBUG_EXPR_DECL instead of a normal gimple assignment stmt. * c-c++-common/gomp/pr63328.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215455 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2014-09-221-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215441 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2014-09-211-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215425 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2014-09-201-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215411 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-09-19 Michael Meissner <meissner@linux.vnet.ibm.com>meissner2014-09-195-111/+155
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Back port from trunk: 2014-09-19 Michael Meissner <meissner@linux.vnet.ibm.com> * config/rs6000/predicates.md (fusion_gpr_mem_load): Move testing for base_reg_operand to be common between LO_SUM and PLUS. (fusion_gpr_mem_combo): New predicate to match a fused address that combines the addis and memory offset address. * config/rs6000/rs6000-protos.h (fusion_gpr_load_p): Change calling signature. (emit_fusion_gpr_load): Likewise. * config/rs6000/rs6000.c (fusion_gpr_load_p): Change calling signature to pass each argument separately, rather than using an operands array. Rewrite the insns found by peephole2 to be a single insn, rather than hoping the insns will still be together when the peephole pass is done. Drop being called via a normal peephole. (emit_fusion_gpr_load): Change calling signature to be called from the fusion_gpr_load_<mode> insns with a combined memory address instead of the peephole pass passing the addis and offset separately. * config/rs6000/rs6000.md (UNSPEC_FUSION_GPR): New unspec for GPR fusion. (power8 fusion peephole): Drop support for doing power8 via a normal peephole that was created by the peephole2 pass. (power8 fusion peephole2): Create a new insn with the fused address, so that the fused operation is kept together after register allocation is done. (fusion_gpr_load_<mode>): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215405 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud