gcc.git
6 years agoDecompose function parameters: patch 7heads/apinski/struct-reorg-4.9
Olga Golovanevsky [Sat, 27 Feb 2016 03:01:29 +0000 (26 19:01 -0800)]
Decompose function parameters: patch 7

6 years agoBug fix and cleanups
Olga Golovanevsky [Fri, 19 Feb 2016 19:11:59 +0000 (19 11:11 -0800)]
Bug fix and cleanups

6 years agoDecompose function parameters: patch 6
Olga Golovanevsky [Thu, 18 Feb 2016 18:24:52 +0000 (18 10:24 -0800)]
Decompose function parameters: patch 6

6 years agoDecompose function parameters: patch 5
Olga Golovanevsky [Sat, 13 Feb 2016 01:49:33 +0000 (12 17:49 -0800)]
Decompose function parameters: patch 5

6 years agoBug fixes
Olga Golovanevsky [Fri, 5 Feb 2016 01:29:01 +0000 (4 17:29 -0800)]
Bug fixes

6 years agoDecompose function parameters: patch 4'
Olga Golovanevsky [Tue, 2 Feb 2016 00:25:19 +0000 (1 16:25 -0800)]
Decompose function parameters: patch 4'

6 years agoDecompose function parameters:patch 4
Olga Golovanevsky [Tue, 2 Feb 2016 00:12:38 +0000 (1 16:12 -0800)]
Decompose function parameters:patch 4

6 years agoDecompose function parameters: patch 3
Olga Golovanevsky [Thu, 14 Jan 2016 20:25:34 +0000 (14 12:25 -0800)]
Decompose function parameters: patch 3

6 years agoDecompose function parameters: patch 2
Olga Golovanevsky [Tue, 5 Jan 2016 23:53:33 +0000 (5 15:53 -0800)]
Decompose function parameters: patch 2

6 years agoDecompose function parameters: patch 1
Olga Golovanevsky [Thu, 17 Dec 2015 00:41:31 +0000 (16 16:41 -0800)]
Decompose function parameters: patch 1

6 years agoAdd STRIP_FRAME parameter. Do not keep symbols after decision.
Olga Golovanevsky [Mon, 30 Nov 2015 23:56:28 +0000 (30 15:56 -0800)]
Add STRIP_FRAME parameter. Do not keep symbols after decision.

6 years agoBug fix in gen_cast_stmt().
Olga Golovanevsky [Tue, 25 Aug 2015 22:25:34 +0000 (25 15:25 -0700)]
Bug fix in gen_cast_stmt().

6 years agoImplemented recursive structure inclining.
Olga Golovanevsky [Mon, 24 Aug 2015 18:21:46 +0000 (24 11:21 -0700)]
Implemented recursive structure inclining.

6 years agoRemove struct frame from optimized structures.
Olga Golovanevsky [Thu, 30 Jul 2015 02:41:12 +0000 (29 19:41 -0700)]
Remove struct frame from optimized structures.

7 years agoCollect functions with structure parameters.
Olga Golovanevsky [Mon, 8 Jun 2015 20:44:26 +0000 (8 13:44 -0700)]
Collect functions with structure parameters.

7 years agoSupport builtin_alloc with and w/o alignment.
Olga Golovanevsky [Wed, 25 Mar 2015 00:25:26 +0000 (24 17:25 -0700)]
Support builtin_alloc with and w/o alignment.

7 years agoAdded transform of general acceses, fields accesses and support of condition statements.
Olga Golovanevsky [Thu, 19 Mar 2015 20:16:50 +0000 (19 13:16 -0700)]
Added transform of general acceses, fields accesses and support of condition statements.

7 years agoAssert if condition statement is complicated.
Olga Golovanevsky [Sat, 28 Feb 2015 00:27:31 +0000 (27 16:27 -0800)]
Assert if condition statement is complicated.

7 years agoAdding collection of field and general structure accesses.
Olga Golovanevsky [Thu, 26 Feb 2015 20:18:09 +0000 (26 12:18 -0800)]
Adding collection of field and general structure accesses.

7 years agoExclude programs with inline assembly.
Olga Golovanevsky [Tue, 20 Jan 2015 23:10:53 +0000 (20 15:10 -0800)]
Exclude programs with inline assembly.

7 years agoAdding collection and transform of temporaries to function transform.
Olga Golovanevsky [Tue, 13 Jan 2015 22:44:46 +0000 (13 14:44 -0800)]
Adding collection and transform of temporaries to function transform.

7 years agoAdded malloc transform, only for VAR_DECLs.
Olga Golovanevsky [Fri, 19 Dec 2014 23:39:45 +0000 (19 15:39 -0800)]
Added malloc transform, only for VAR_DECLs.

7 years agovar_transform should precede function_transform for clones
Olga Golovanevsky [Fri, 5 Dec 2014 23:10:40 +0000 (5 15:10 -0800)]
var_transform should precede function_transform for clones

7 years agoAdded collection of allocation sites.
Olga Golovanevsky [Thu, 20 Nov 2014 01:18:40 +0000 (19 17:18 -0800)]
Added collection of allocation sites.

7 years agoAdded generation of new local variables.
Olga Golovanevsky [Thu, 6 Nov 2014 23:21:56 +0000 (6 15:21 -0800)]
Added generation of new local variables.

7 years agoAdding variable transform.
Olga Golovanevsky [Fri, 31 Oct 2014 20:20:05 +0000 (31 13:20 -0700)]
Adding variable transform.

7 years agoTransform variables before functions.
Olga Golovanevsky [Tue, 28 Oct 2014 22:23:31 +0000 (28 15:23 -0700)]
Transform variables before functions.

7 years agoSerialize/deserialize optimization summary.
Olga Golovanevsky [Mon, 20 Oct 2014 20:34:27 +0000 (20 13:34 -0700)]
Serialize/deserialize optimization summary.

7 years agoAdded new types generation.
Olga Golovanevsky [Thu, 9 Oct 2014 19:10:58 +0000 (9 12:10 -0700)]
Added new types generation.

7 years agoExtend pass manager to execute variable_transform fucntions.
Olga Golovanevsky [Thu, 18 Sep 2014 21:06:00 +0000 (18 14:06 -0700)]
Extend pass manager to execute variable_transform fucntions.

7 years agoFixed struct_reorg_read_section to collects only prevailing symbols. Added primitive...
Olga Golovanevsky [Wed, 23 Jul 2014 23:29:12 +0000 (23 16:29 -0700)]
Fixed struct_reorg_read_section to collects only prevailing symbols. Added primitive propagate function.

8 years agoAdded functions to serialize/deserialize struct-reorg summary
Olga Golovanevsky [Thu, 19 Jun 2014 19:45:54 +0000 (19 12:45 -0700)]
Added functions to serialize/deserialize struct-reorg summary

8 years agoAdding data structure to hold symbols whose visibility is critical for structure...
ogolovanevsky [Wed, 4 Jun 2014 00:49:34 +0000 (3 17:49 -0700)]
Adding data structure to hold symbols whose visibility is critical for structure transformation. These symbols will be serialized and deserialized in WPA.

8 years agoInitial ipa-struct-reorg pass and struct_reorg_generate_summery function implementation.
ogolovanevsky [Sat, 17 May 2014 00:39:06 +0000 (16 17:39 -0700)]
Initial ipa-struct-reorg pass and struct_reorg_generate_summery function implementation.

8 years ago2012-10-11 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Thu, 11 Oct 2012 19:37:24 +0000 (11 12:37 -0700)]
2012-10-11  Andrew Pinski  <apinski@cavium.com>

* combine.c (combine_simplify_rtx): Simplify SEQUENCEs.  If we have a set of zero
followed by a zero_extract, this can be simplified to a shift.

8 years ago2014-03-30 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Sun, 30 Mar 2014 10:41:43 +0000 (30 03:41 -0700)]
2014-03-30  Andrew Pinski  <apinski@cavium.com>

        * testsuite/gcc.dg/octeon/test-backtrace.h (n_functions): Change
        type to unsigned to avoid some warnings.

8 years ago2014-05-13 Andrew Pinski <apinski@cavium.com>
Praveen Kumar Jonnalagadda [Tue, 13 May 2014 05:11:33 +0000 (13 10:41 +0530)]
2014-05-13  Andrew Pinski  <apinski@cavium.com>

       Bug#10636
       * config/mips/mips.c (mips_block_move_straight) : Preserve memref's
       MEM_ATTRS if address is a REG.

8 years ago2013-11-04 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Mon, 4 Nov 2013 23:45:08 +0000 (4 15:45 -0800)]
2013-11-04  Andrew Pinski  <apinski@cavium.com>

* config/mips/mips.c (mips_block_move_straight): Fix O32 for misaligned
cases.

8 years ago2012-08-01 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Wed, 1 Aug 2012 22:11:15 +0000 (1 15:11 -0700)]
2012-08-01  Andrew Pinski  <apinski@cavium.com>

start of Bug #4290
* config/mips/mips.c (mips_block_move_straight): Use 32bits loads
if the length is equal to 4 bytes and either of the alignments
is greater than or equal to 32bits.  Also use 32bits when either
of the alignment is equal to 32bits not just when both are equal.

8 years agoRevert 18567e4d939bb66fe8e3d388084a348d0577eb52
Praveen Kumar Jonnalagadda [Tue, 13 May 2014 05:07:31 +0000 (13 10:37 +0530)]
Revert 18567e4d939bb66fe8e3d388084a348d0577eb52

2012-07-16  Andrew Pinski  <apinski@cavium.com>

        Bug #2845
        * target.h (gcc_target): Add mode_for_extraction_insv.
        * expmed.c (store_bit_field_1): Use mode_for_extraction_insv
        and split out into ...
        (store_bit_field_2): Here.
        * target-def.h (TARGET_MODE_FOR_EXTRACTION_INSV): Define.
        (TARGET_INITIALIZER): Add TARGET_MODE_FOR_EXTRACTION_INSV.
        * config/mips/mips.c (mips_mode_for_extraction_insv): New function.
        (TARGET_MODE_FOR_EXTRACTION_INSV): Define.

8 years ago2012-07-30 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Mon, 30 Jul 2012 23:57:53 +0000 (30 16:57 -0700)]
2012-07-30  Andrew Pinski  <apinski@cavium.com>

* config/mips/mips.c (mips_zero_extend_cost): Fix
cost of zero extending to DImode from SImode for
ISA_HAS_EXT_INS.

8 years ago2012-07-30 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Mon, 30 Jul 2012 23:49:44 +0000 (30 16:49 -0700)]
2012-07-30  Andrew Pinski  <apinski@cavium.com>

* config/mips/mips.c (mips_rtx_costs): Provide the correct cost of an
expanded ins/dins.

8 years ago2014-05-09 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Fri, 9 May 2014 16:13:45 +0000 (9 09:13 -0700)]
2014-05-09  Andrew Pinski  <apinski@cavium.com>

* testsuite/gcc.target/mips/shift-1.c: Disable for -O0.
* testsuite/gcc.target/mips/movcc-4.c: Disable for -O0
* testsuite/gcc.target/mips/ext-14.c: Disable for -O0.

8 years ago2014-05-08 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Fri, 9 May 2014 06:20:30 +0000 (8 23:20 -0700)]
2014-05-08  Andrew Pinski  <apinski@cavium.com>

* testsuite/gcc.target/mips/ins-3.c: Disable for -O0.
* testsuite/gcc.target/mips/ins-4.c: Disable for -O0.
* testsuite/gcc.target/mips/ins-6.c: Disable for -O0.
* testsuite/gcc.target/mips/ins-7.c: Disable for -O0.
* testsuite/gcc.target/mips/ins-8.c: Disable for -O0.

8 years ago2014-05-08 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Fri, 9 May 2014 06:17:48 +0000 (8 23:17 -0700)]
2014-05-08  Andrew Pinski  <apinski@cavium.com>

* testsuite/gcc.target/mips/unaligned-3.c: Disable loop unrolling.

8 years ago2014-05-08 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Fri, 9 May 2014 06:12:06 +0000 (8 23:12 -0700)]
2014-05-08  Andrew Pinski  <apinski@cavium.com>

* testsuite/gcc.target/mips/unaligned-1.c: Add -mno-octeon-useun.
* testsuite/gcc.target/mips/unaligned-2.c: Skip -O0.

8 years ago2012-07-16 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Tue, 17 Jul 2012 02:43:35 +0000 (16 19:43 -0700)]
2012-07-16  Andrew Pinski  <apinski@cavium.com>

Bug #2845
* target.h (gcc_target): Add mode_for_extraction_insv.
* expmed.c (store_bit_field_1): Use mode_for_extraction_insv
and split out into ...
(store_bit_field_2): Here.
* target-def.h (TARGET_MODE_FOR_EXTRACTION_INSV): Define.
(TARGET_INITIALIZER): Add TARGET_MODE_FOR_EXTRACTION_INSV.
* config/mips/mips.c (mips_mode_for_extraction_insv): New function.
(TARGET_MODE_FOR_EXTRACTION_INSV): Define.

8 years ago2012-08-01 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Thu, 2 Aug 2012 04:11:20 +0000 (1 21:11 -0700)]
2012-08-01  Andrew Pinski  <apinski@cavium.com>

        Bug #2837
        * config/mips/mips.c (TARGET_PROMOTE_PROTOTYPES): Remove definition.
* config/mips/mips.md (*baddu_di_eb): New pattern to handle subreg from qi
to di mode.
(*baddu_di_el): Likewise.

* testsuite/gcc.target/mips/ext-2.c: There should be no truncate here.

8 years agoFix changelog entry.
Andrew Pinski [Sat, 3 Nov 2012 06:20:04 +0000 (2 23:20 -0700)]
Fix changelog entry.

8 years ago2012-11-02 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Sat, 3 Nov 2012 05:59:16 +0000 (2 22:59 -0700)]
2012-11-02  Andrew Pinski  <apinski@cavium.com>

Bug #5142
* testsuite/lib/libstdc++.exp (v3_target_compile_as_c): Add the
multilib directory for the include files.

8 years ago2012-10-19 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Sat, 20 Oct 2012 05:35:01 +0000 (19 22:35 -0700)]
2012-10-19  Andrew Pinski  <apinski@cavium.com>

* testsuite/27_io/ios_base/storage/2.cc: Skip testcase for LP64 targets.

8 years ago2014-04-14 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Mon, 14 Apr 2014 23:34:34 +0000 (14 16:34 -0700)]
2014-04-14  Andrew Pinski  <apinski@cavium.com>

Bug #10070
* testsuite/gcc.dg/tree-ssa/vrp-assert-3.c: New testcase.
* tree-vrp.c (register_edge_assert_for_2): Also assert when
the conversion is from bool.

8 years ago2014-04-06 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Sun, 6 Apr 2014 16:34:47 +0000 (6 09:34 -0700)]
2014-04-06  Andrew Pinski  <apinski@cavium.com>

Bug #10070
* testsuite/gcc.dg/tree-ssa/vrp-assert-1.c: Remove the xfail.
* testsuite/gcc.dg/tree-ssa/vrp-assert-2.c: New testcase.
* tree-vrp.c (register_edge_assert_for_2): Look through casts for
the comparision.

8 years ago2014-03-30 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Mon, 31 Mar 2014 04:35:29 +0000 (30 21:35 -0700)]
2014-03-30  Andrew Pinski  <apinski@cavium.com>

* testsuite/gcc.dg/octeon/test-backtrace.h: Fix uninitialized warning.

8 years ago2014-03-30 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Sun, 30 Mar 2014 21:09:38 +0000 (30 14:09 -0700)]
2014-03-30  Andrew Pinski  <apinski@cavium.com>

* testsuite/gcc.dg/octeon/test-backtrace.h: Fix unsigned comparing with signed warnings.

8 years agoAdd bug #.
Andrew Pinski [Sun, 30 Mar 2014 21:06:05 +0000 (30 14:06 -0700)]
Add bug #.

8 years ago2014-03-26 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Wed, 26 Mar 2014 13:42:09 +0000 (26 06:42 -0700)]
2014-03-26  Andrew Pinski  <apinski@cavium.com>

Bug #9559
* config.host: Set use_long_long_for_widest_fast_int to yes
for mips64*-*-*, aarch64*-*-*, and x86_64-*-*.

8 years ago2014-02-07 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Sat, 8 Feb 2014 21:49:43 +0000 (8 13:49 -0800)]
2014-02-07  Andrew Pinski  <apinski@cavium.com>

        * testsuite/gcc.dg/octeon/cvmx/bt-2.c: Fix warnings.
        * testsuite/gcc.dg/octeon/test-backtrace.h: Fix warnings.

8 years ago2014-02-05 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Thu, 6 Feb 2014 06:32:34 +0000 (5 22:32 -0800)]
2014-02-05  Andrew Pinski  <apinski@cavium.com>

        * testsuite/gcc.dg/octeon/cvmx/bt-1.c: Fix warnings.
        * testsuite/gcc.dg/octeon/cvmx/bt-2.c: Fix warnings.
        * testsuite/gcc.dg/octeon/cvmx/bt-3.c: Fix warnings.
        * testsuite/gcc.dg/octeon/cvmx/bt-4.c: Fix warnings.
        * testsuite/gcc.dg/octeon/cvmx/bt-5.c: Fix warnings.

8 years ago2014-02-03 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Tue, 4 Feb 2014 01:12:07 +0000 (3 17:12 -0800)]
2014-02-03  Andrew Pinski  <apinski@cavium.com>

* config/mips/mips.md (condmode): New insn attribute.
(*mov<GPR:mode>_on_<MOVECC:mode>): Add condmode.
(*mov<GPR:mode>_on_<GPR2:mode>_ne): Likewise.
(*mov<SCALARF:mode>_on_<MOVECC:mode>): Likewise.
* config/mips/octeon.md (octeon_condmove_o2):
Don't match on CC for condmode.
(octeon_condmove_o3_int_on_cc): New reserve.

8 years ago2014-01-21 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Wed, 22 Jan 2014 01:28:09 +0000 (21 17:28 -0800)]
2014-01-21  Andrew Pinski  <apinski@cavium.com>

Bug #9190
* combine.c (combine_simplify_rtx): Produce if_then_else
when either true or false side is constant but not both
after we got a comparison back from simplify_comparison.

8 years ago revert 1aabeb695132c8e922568553760d728b491db665
Praveen Kumar Jonnalagadda [Wed, 30 Apr 2014 05:26:55 +0000 (30 10:56 +0530)]
   revert 1aabeb695132c8e922568553760d728b491db665

8 years ago2013-11-04 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Mon, 4 Nov 2013 22:33:58 +0000 (4 14:33 -0800)]
2013-11-04  Andrew Pinski  <apinski@cavium.com>

* configure.ac: Fix up accidental addition use of emul_name.
* configure: Likewise.

8 years ago2013-10-24 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Thu, 24 Oct 2013 23:48:18 +0000 (24 16:48 -0700)]
2013-10-24  Andrew Pinski  <apinski@cavium.com>

Bug #8531
* tree-ssa-sccvn.c (fully_constant_vn_reference_p): Don't
simplify __builtin_constant_p.

8 years ago2013-10-06 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Sun, 6 Oct 2013 23:59:29 +0000 (6 16:59 -0700)]
2013-10-06  Andrew Pinski  <apinski@cavium.com>

        * config/rs6000/linux64.h (PROFILE_USE_ATOMIC): Define.

8 years ago2013-10-06 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Sun, 6 Oct 2013 20:55:53 +0000 (6 13:55 -0700)]
2013-10-06  Andrew Pinski  <apinski@cavium.com>

        Bug #8305
        * config/linux.h (PROFILE_USE_ATOMIC): New define.
        * config/rs6000/linux.h (PROFILE_USE_ATOMIC): Likewise.
        * gcc/gcc.c (PROFILE_USE_ATOMIC): Define.
        (LINK_COMMAND_SPEC): Use PROFILE_USE_ATOMIC.

8 years ago2013-08-16 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Fri, 16 Aug 2013 14:32:51 +0000 (16 07:32 -0700)]
2013-08-16  Andrew Pinski  <apinski@cavium.com>

Bug #7620
* tree-ssa-loop-ivopts.c (get_computation_cost_at):
Reject pointer candidates for non-linear uses.

8 years ago2013-06-10 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Tue, 11 Jun 2013 05:11:35 +0000 (10 22:11 -0700)]
2013-06-10  Andrew Pinski  <apinski@cavium.com>

Bug #7096
* config/mips/mips.c (mips_classify_symbol): Consider local
symbols as global when -mxgot is used.

8 years ago2013-05-24 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Fri, 24 May 2013 23:13:20 +0000 (24 16:13 -0700)]
2013-05-24  Andrew Pinski  <apinski@cavium.com>

Bug #4781
* testsuite/lib/target-supports.exp (check_vect_support_and_set_flags):
Set dg-do-what-default to compile for octeon targets.

8 years agoMerge branch 'benchmarking_09_25_2013' of ssh://cagit1.caveonetworks.com/repo/git...
Praveen Kumar Jonnalagadda [Mon, 28 Apr 2014 05:29:26 +0000 (28 10:59 +0530)]
Merge branch 'benchmarking_09_25_2013' of ssh://cagit1.caveonetworks.com/repo/git/toolchain/gcc into benchmarking_09_25_2013

8 years ago2012-07-19 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Fri, 20 Jul 2012 03:33:26 +0000 (19 20:33 -0700)]
2012-07-19  Andrew Pinski  <apinski@cavium.com>

        * testsuite/gcc.target/mips/mips.exp (mips_option_tests): New test.
(mips-dg-options): Treat all
cases of -mhard-float as not being able to compile.

8 years ago2013-05-20 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Mon, 20 May 2013 20:47:57 +0000 (20 13:47 -0700)]
2013-05-20  Andrew Pinski  <apinski@cavium.com>

Bug #6969
Bug #6970
* config/mips/mips.c (mips_expand_ext_as_unaligned_load):
Allow BLKmode mem for 16 bit extraction.
Fix the case where the dest is SImode for 16bit extraction.
Fix the case where the dest is HImode for 16bit extraction.

8 years ago2013-04-26 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Fri, 26 Apr 2013 09:19:12 +0000 (26 02:19 -0700)]
2013-04-26  Andrew Pinski  <apinski@cavium.com>

* reload1.c (spill_failure): Use inform instead of error
to force the notion that the error message is really an internal
compiler error message.
(_fatal_insn): Likewise.

8 years agorevert 2c5eafaf6a3e74b046897177d86865f8b41e58dc
Praveen Kumar Jonnalagadda [Sat, 26 Apr 2014 08:39:04 +0000 (26 14:09 +0530)]
revert 2c5eafaf6a3e74b046897177d86865f8b41e58dc

8 years ago2013-01-10 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Thu, 10 Jan 2013 22:38:09 +0000 (10 14:38 -0800)]
2013-01-10  Andrew Pinski  <apinski@cavium.com>

* tree.def (BYTESWAP_EXPR): New tree code.

8 years ago2013-01-30 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Wed, 30 Jan 2013 23:42:06 +0000 (30 15:42 -0800)]
2013-01-30  Andrew Pinski  <apinski@cavium.com>

* testsuite/gcc.dg/octeon/pipeline-1.c: Add -march=octeon
to force octeon tuning.

8 years ago2013-01-22 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Tue, 22 Jan 2013 16:58:48 +0000 (22 08:58 -0800)]
2013-01-22  Andrew Pinski  <apinski@cavium.com>

* cfgexpand.c (expand_debug_expr <case BYTESWAP_EXPR>): Handle
BYTESWAP_EXPR.

8 years agorevert 2012-11-06 Andrew Pinski <apinski@cavium.com>
Praveen Kumar Jonnalagadda [Sat, 26 Apr 2014 07:55:57 +0000 (26 13:25 +0530)]
revert 2012-11-06  Andrew Pinski  <apinski@cavium.com>
   reverts patch 023c0933aa4b78620587e59fdc078c37c20f0f83

8 years ago2012-12-17 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Mon, 17 Dec 2012 23:14:13 +0000 (17 15:14 -0800)]
2012-12-17  Andrew Pinski  <apinski@cavium.com>

* config/mips/octeon-elf.h (DWARF_FRAME_REGISTERS): Define to 66.
Speeds up unwinding by almost by a factor of 2.

8 years ago2012-11-29 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Fri, 30 Nov 2012 03:42:06 +0000 (29 19:42 -0800)]
2012-11-29  Andrew Pinski  <apinski@cavium.com>

Bug #5464
* tree-vrp.c (register_edge_assert_for_2): In the case of NAME != 0 and NAME
being defined as XYZ1 CMP XYZ2 we can assert XYZ1 CMP XYZ2.

8 years ago2014-04-25 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Sat, 26 Apr 2014 01:45:11 +0000 (25 18:45 -0700)]
2014-04-25  Andrew Pinski  <apinski@cavium.com>

* testsuite/gcc.target/mips/ext-12.c: Disable for -O0.
* testsuite/gcc.target/mips/ext-9.c: Likewise.
* testsuite/gcc.target/mips/extra-move-1.c: Likewise.
* testsuite/gcc.target/mips/ins-9.c: Likewise.
* testsuite/gcc.target/mips/octeon-dmul-4.c: Likewise.
* testsuite/gcc.target/mips/truncate-10.c: Likewise.
* testsuite/gcc.target/mips/truncate-11.c: Likewise.
* testsuite/gcc.target/mips/truncate-12.c: Likewise.
* testsuite/gcc.target/mips/truncate-13.c: Likewise.
* testsuite/gcc.target/mips/truncate-9.c: Likewise.

8 years agoAdd test case and ChangeLog.aarch64 for extraneous zero-extend avoidance
Joel Jones [Fri, 25 Apr 2014 22:05:54 +0000 (25 15:05 -0700)]
Add test case and ChangeLog.aarch64 for extraneous zero-extend avoidance

8 years agoAvoid generating extraneous zero-extend for Add (extended register)
Joel Jones [Fri, 25 Apr 2014 19:16:32 +0000 (25 12:16 -0700)]
Avoid generating extraneous zero-extend for Add (extended register)

8 years ago2012-11-19 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Tue, 20 Nov 2012 03:40:18 +0000 (19 19:40 -0800)]
2012-11-19  Andrew Pinski  <apinski@cavium.com>

* testsuite/g++.dg/cpp0x/initlist-lifetime1.C: Fix testcase where
argc is always greater than 1 (octeon simulator).
* testsuite/g++.dg/cpp0x/initlist-lifetime2.C: Likewise.

8 years ago2012-11-18 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Mon, 19 Nov 2012 07:05:30 +0000 (18 23:05 -0800)]
2012-11-18  Andrew Pinski  <apinski@cavium.com>

Port from the redhat branch:
* gcc.c (execute): Free string if i is not 0.
(execute): Call retry_ice if the program which caused an ICE
started with "cc1".
(retry_ice): New function.

8 years ago2012-11-17 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Sun, 18 Nov 2012 07:34:28 +0000 (17 23:34 -0800)]
2012-11-17  Andrew Pinski  <apinski@cavium.com>

* testsuite/gcc.dg/octeon/ext-33.c: Xfail due to bug 2851.

8 years ago2012-11-17 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Sun, 18 Nov 2012 07:32:17 +0000 (17 23:32 -0800)]
2012-11-17  Andrew Pinski  <apinski@cavium.com>

* testsuite/gcc.dg/uninit-pred-8_b.c: xfail because of bug 4568.
* testsuite/gcc.dg/uninit-pred-9_b.c: Likewise.

8 years ago2012-11-17 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Sun, 18 Nov 2012 07:24:14 +0000 (17 23:24 -0800)]
2012-11-17  Andrew Pinski  <apinski@cavium.com>

* testsuite/g++.dg/debug/nullptr01.C: xfail the second scan-assembler.

8 years ago2012-11-12 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Tue, 13 Nov 2012 00:31:31 +0000 (12 16:31 -0800)]
2012-11-12  Andrew Pinski  <apinski@cavium.com>

        Bug #5253
        * tree-merge-const-bfstores.c (compute_new_bitfield_positions): Fix
        for little-endian.
        (gate_merge_const_bfstores): Don't disable for little-endian targets.

8 years ago2012-11-09 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Sat, 10 Nov 2012 01:22:16 +0000 (9 17:22 -0800)]
2012-11-09  Andrew Pinski  <apinski@cavium.com>

* testsuite/gcc.c-torture/compile/limits-structnest.c: Disable unless
requested; uses a lot of memory.

8 years ago2012-11-08 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Thu, 8 Nov 2012 17:57:19 +0000 (8 09:57 -0800)]
2012-11-08  Andrew Pinski  <apinski@cavium.com>

Bug #5214
* combine.c (try_combine): After the first two subst, don't combine
any more if we gotten a sequence.

8 years ago2012-11-06 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Tue, 6 Nov 2012 23:10:42 +0000 (6 15:10 -0800)]
2012-11-06  Andrew Pinski  <apinski@cavium.com>

 * testsuite/gcc.c-torture/execute/builtins/20010124-1.c: Disable -fno-fat-lto-objects
        for *-elf* (bare metal) targets.
        * testsuite/gcc.c-torture/execute/builtins/memchr.c: Likewise.
        * testsuite/gcc.c-torture/execute/builtins/memmove-2.c: Likewise.
        * testsuite/gcc.c-torture/execute/builtins/memmove.c: Likewise.
        * testsuite/gcc.c-torture/execute/builtins/memops-asm.c: Likewise.
        * testsuite/gcc.c-torture/execute/builtins/memset.c: Likewise.
        * testsuite/gcc.c-torture/execute/builtins/pr22237.c: Likewise.
        * testsuite/gcc.c-torture/execute/builtins/pr23484-chk.c: Likewise.
        * testsuite/gcc.c-torture/execute/builtins/printf.c: Likewise.
        * testsuite/gcc.c-torture/execute/builtins/sprintf.c: Likewise.
        * testsuite/gcc.c-torture/execute/builtins/strcmp.c: Likewise.
        * testsuite/gcc.c-torture/execute/builtins/strlen-2.c: Likewise.
        * testsuite/gcc.c-torture/execute/builtins/strlen-3.c: Likewise.
        * testsuite/gcc.c-torture/execute/builtins/strlen.c: Likewise.
        * testsuite/gcc.c-torture/execute/builtins/strncmp-2.c: Likewise.
        * testsuite/gcc.c-torture/execute/builtins/strncmp.c: Likewise.
        * testsuite/gcc.c-torture/execute/builtins/strncpy.c: Likewise.

8 years ago2012-11-06 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Tue, 6 Nov 2012 10:24:39 +0000 (6 02:24 -0800)]
2012-11-06  Andrew Pinski  <apinski@cavium.com>

* testsuite/gcc.target/mips/inter/mips16-inter.exp: Skip for
mipsisa*-octeon-elf*.

8 years ago2012-11-04 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Sun, 4 Nov 2012 17:07:56 +0000 (4 09:07 -0800)]
2012-11-04  Andrew Pinski  <apinski@cavium.com>

* gcc.target/mips/extra-move-1.c: Tighten the matching of sll so it does not
match dsll which is used to generate addresses in n64.

8 years ago2012-11-03 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Sun, 4 Nov 2012 06:27:19 +0000 (3 23:27 -0700)]
2012-11-03  Andrew Pinski  <apinski@cavium.com>

* testsuite/lib/target-supports.exp (check_effective_target_mips_n64_abicalls):
New proc.
* testsuite/gcc.dg/octeon/ext-42.c: Change the testcase to check for 3 ld
if we are n64 with ABI calls.

8 years ago2012-11-03 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Sun, 4 Nov 2012 06:03:44 +0000 (3 23:03 -0700)]
2012-11-03  Andrew Pinski  <apinski@cavium.com>

* testsuite/gcc.dg/octeon/ext-45.c: Tighten the matching of sll so it does not
match dsll which is used to generate addresses in n64.

8 years ago2012-11-03 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Sun, 4 Nov 2012 05:56:03 +0000 (3 22:56 -0700)]
2012-11-03  Andrew Pinski  <apinski@cavium.com>

* testsuite/gcc.dg/octeon/bbit-1.c: Remove as the testcase is optimized better
than before even though bbit is not produced.  Also bbit-10.c represents the problem
the testcase was testing.

8 years ago2012-11-02 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Sat, 3 Nov 2012 07:03:28 +0000 (3 00:03 -0700)]
2012-11-02  Andrew Pinski  <apinski@cavium.com>

Bug #5138
* testsuite/gcc.target/mips/mips32-dsp.c: Don't include stdlib.h or stdio.h.
Declare abort and exit.

8 years ago2012-11-02 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Fri, 2 Nov 2012 21:14:30 +0000 (2 14:14 -0700)]
2012-11-02  Andrew Pinski  <apinski@cavium.com>

* testsuite/gcc.dg/octeon/ext-42.c: Add note on why this fails for linux n64.
* testsuite/gcc.dg/octeon/ins-3.c: Check for usd only on the elf targets.
Check for sdr/sdl on the linux targets.
* testsuite/gcc.dg/octeon/trunc-20.c: Tighten the .* so it does not match a
return.

8 years ago2012-11-02 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Fri, 2 Nov 2012 20:58:52 +0000 (2 13:58 -0700)]
2012-11-02  Andrew Pinski  <apinski@cavium.com>

* testsuite/gcc.dg/octeon/ext-26.c: Check for uld only on the elf targets.
Check for ldr/ldl on the linux targets.
* testsuite/gcc.dg/octeon/ext-28.c: Likewise.