summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/include/parallel
Commit message (Collapse)AuthorAgeFilesLines
...
* 2009-10-28 Johannes Singler <singler@kit.edu>singler2009-10-281-21/+7
| | | | | | | | | | | PR libstdc++/40852 * include/parallel/multiseq_selection.h (multiseq_partition, multiseq_selection): Avoid intermediate values exceeding the integer type range for very large inputs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@153648 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-10-13 Paolo Carlini <paolo.carlini@oracle.com>paolo2009-10-131-31/+19
| | | | | | | | * include/parallel/for_each_selectors.h: Minor uglification and stylistic fixes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152708 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-10-09 Paolo Carlini <paolo.carlini@oracle.com>paolo2009-10-092-2/+2
| | | | | | | | | | * include/parallel/numeric (__adjacent_difference_switch): Fix typo. * include/parallel/for_each_selectors.h (__adjacent_difference_selector): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152589 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-10-02 Johannes Singler <singler@ira.uka.de>singler2009-10-026-78/+65
| | | | | | | | | | | | | | | * include/parallel/base.h: Take integer types from <tr1/cstdint>. * include/parallel/compatibility.h: Likewise. * include/parallel/multiseq_selection.h: Likewise. * include/parallel/random_shuffle.h: Likewise. * include/parallel/random_number.h: Likewise; use numeric_limits<>::digit instead of sizeof()*8. * include/parallel/types.h: Likewise. * doc/html/manual/bk01pt12ch31s03.html: Document dependency on stdint.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152396 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-09-28 Johannes Singler <singler@ira.uka.de>singler2009-09-281-1/+0
| | | | | | | * include/parallel/for_each_selectors.h: Remove obsolete comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152234 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-09-25 Johannes Singler <singler@ira.uka.de>singler2009-09-251-86/+1
| | | | | | | | | | * include/parallel/include/parallel/checkers.h (is_sorted_failure, is_sorted_print_failures): Remove (unused). (__is_sorted): Remove default parameter for _Compare; remove inappropriate printf. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152162 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-09-25 Johannes Singler <singler@ira.uka.de>singler2009-09-251-4/+3
| | | | | | | * include/parallel/base.h: Comment on presence of min/max duplicates. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152161 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-09-25 Johannes Singler <singler@ira.uka.de>singler2009-09-251-5/+4
| | | | | | | | * include/parallel/partition.h (__parallel_nth_element): Correct comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152160 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-09-24 Johannes Singler <singler@ira.uka.de>singler2009-09-247-21/+20
| | | | | | | | | | | | | | * include/parallel/algo.h: Uglify internal identifiers; correct line breaks. * include/parallel/for_each.h: Likewise. * include/parallel/numeric: Likewise. * include/parallel/omp_loop.h: Likewise. * include/parallel/omp_loop_static.h: Likewise. * include/parallel/par_loop.h: Likewise. * include/parallel/workstealing.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152113 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-09-24 Johannes Singler <singler@ira.uka.de>singler2009-09-242-3/+2
| | | | | | | | | | | * include/parallel/base.h (_EqualFromLess): Move _Compare template parameter to the end as of others. * include/parallel/algobase.h (__lexicographical_compare_switch): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152112 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-09-23 Johannes Singler <singler@ira.uka.de>singler2009-09-2323-315/+320
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/parallel/algobase.h: Uglify internal identifiers; correct line breaks. * include/parallel/algo.h: Likewise. * include/parallel/base.h: Likewise. * include/parallel/equally_split.h: Likewise. * include/parallel/find.h: Likewise. * include/parallel/find_selectors.h: Likewise. * include/parallel/for_each_selectors.h: Likewise. * include/parallel/list_partition.h: Likewise. * include/parallel/losertree.h: Likewise. * include/parallel/merge.h: Likewise. * include/parallel/multiseq_selection.h: Likewise. * include/parallel/multiway_merge.h: Likewise. * include/parallel/multiway_mergesort.h: Likewise. * include/parallel/numeric: Likewise. * include/parallel/numericfwd.h: Likewise. * include/parallel/omp_loop.h: Likewise. * include/parallel/omp_loop_static.h: Likewise. * include/parallel/par_loop.h: Likewise. * include/parallel/partition.h: Likewise. * include/parallel/random_shuffle.h: Likewise. * include/parallel/search.h: Likewise. * include/parallel/sort.h: Likewise. * include/parallel/workstealing.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152061 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-09-17 Johannes Singler <singler@ira.uka.de>singler2009-09-1737-2119/+2309
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/parallel/algobase.h: Replace tabs by spaces; correct line breaks. * include/parallel/algorithmfwd.h: Likewise. * include/parallel/balanced_quicksort.h: Likewise. * include/parallel/base.h: Likewise. * include/parallel/checkers.h: Likewise. * include/parallel/compatibility.h: Likewise. * include/parallel/equally_split.h: Likewise. * include/parallel/find.h: Likewise. * include/parallel/for_each.h: Likewise. * include/parallel/for_each_selectors.h: Likewise. * include/parallel/iterator.h: Likewise. * include/parallel/list_partition.h: Likewise. * include/parallel/losertree.h: Likewise. * include/parallel/merge.h: Likewise. * include/parallel/multiseq_selection.h: Likewise. * include/parallel/multiway_merge.h: Likewise. * include/parallel/multiway_mergesort.h: Likewise. * include/parallel/numeric: Likewise. * include/parallel/numericfwd.h: Likewise. * include/parallel/omp_loop.h: Likewise. * include/parallel/omp_loop_static.h: Likewise. * include/parallel/par_loop.h: Likewise. * include/parallel/partial_sum.h: Likewise. * include/parallel/partition.h: Likewise. * include/parallel/queue.h: Likewise. * include/parallel/quicksort.h: Likewise. * include/parallel/random_number.h: Likewise. * include/parallel/random_shuffle.h: Likewise. * include/parallel/search.h: Likewise. * include/parallel/set_operations.h: Likewise. * include/parallel/settings.h: Likewise. * include/parallel/sort.h: Likewise. * include/parallel/types.h: Likewise. * include/parallel/unique_copy.h: Likewise. * include/parallel/workstealing.h: Likewise. * include/parallel/algo.h: Likewise; shorten _ForwardIterator to _FIterator. * include/parallel/find_selectors.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151791 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-09-16 Johannes Singler <singler@ira.uka.de>singler2009-09-1613-47/+47
| | | | | | | | | | | | | | | | | | | | | * include/parallel/base.h: Correct some comments accidentally changed during uglification. * include/parallel/find.h: Likewise. * include/parallel/find_selectors.h: Likewise. * include/parallel/multiway_merge.h: Likewise. * include/parallel/multiway_mergesort.h: Likewise. * include/parallel/partial_sum.h: Likewise. * include/parallel/partition.h: Likewise. * include/parallel/queue.h: Likewise. * include/parallel/random_shuffle.h: Likewise. * include/parallel/settings.h: Likewise. * include/parallel/sort.h: Likewise. * include/parallel/tags.h: Likewise. * include/parallel/workstealing.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151756 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-09-16 Johannes Singler <singler@ira.uka.de>singler2009-09-1617-459/+459
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/parallel/base.h (_EqualFromLess): Correct uglification of member variables and method arguments. * include/parallel/balanced_quicksort.h (_QSBThreadLocal): Likewise. * include/parallel/find_selectors.h (__find_first_of_selector): Likewise. * include/parallel/iterator.h (_IteratorTriple): Likewise. * include/parallel/multiseq_selection.h (_Lexicographic, _LexicographicReverse): Likewise. * include/parallel/multiway_mergesort.h (_Piece, _PMWMSSortingData): Likewise. * include/parallel/random_number.h (_RandomNumber): Likewise. * include/parallel/random_shuffle.h (_DRandomShufflingGlobalData): Likewise. * include/parallel/set_operations.h (__symmetric_difference_func, __difference_func, __intersection_func, __union_func, parallel_set_union, parallel_set_intersection, parallel_set_difference, parallel_set_symmetric_difference): Likewise. * include/parallel/tags.h (parallel_tag): Likewise. * include/parallel/workstealing.h (_Job): Likewise. * include/parallel/multiway_merge.h (__multiway_merge_k_variant_sentinel_switch:operator()) correct uglification of _*LoserTree*. * include/parallel/losertree.h (_*LoserTree*): Likewise; correct uglification of member variables and method arguments. * include/parallel/par_loop.h: Correct uglification of finish_iterator. * include/parallel/for_each_selectors.h: Likewise. * include/parallel/omp_loop.h: Likewise. * include/parallel/algo.h: Likewise; uglify c_rand_number. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151754 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-09-16 Johannes Singler <singler@ira.uka.de>singler2009-09-166-57/+48
| | | | | | | | | | | | | | | * include/parallel/base.h (_PseudoSequenceIterator, _PseudoSequence): Replace redundant _Self. * include/parallel/iterator.h (_IteratorPair, _IteratorTriple): Replace redundant _Self. * include/parallel/algo.h: Correct accidental _Self in comments. * include/parallel/losertree.h: Likewise. * include/parallel/multiway_merge.h: Likewise. * include/parallel/random_shuffle.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151743 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-09-16 Johannes Singler <singler@ira.uka.de>singler2009-09-1640-7016/+7016
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/parallel/algobase.h: Uglify internal identifiers. * include/parallel/algo.h: Likewise. * include/parallel/algorithmfwd.h: Likewise. * include/parallel/balanced_quicksort.h: Likewise. * include/parallel/base.h: Likewise. * include/parallel/checkers.h: Likewise. * include/parallel/compatibility.h: Likewise. * include/parallel/compiletime_settings.: Likewise. * include/parallel/equally_split.h: Likewise. * include/parallel/features.h: Likewise. * include/parallel/find.h: Likewise. * include/parallel/find_selectors.h: Likewise. * include/parallel/for_each.h: Likewise. * include/parallel/for_each_selectors.h: Likewise. * include/parallel/iterator.h: Likewise. * include/parallel/list_partition.h: Likewise. * include/parallel/losertree.h: Likewise. * include/parallel/merge.h: Likewise. * include/parallel/multiseq_selection.h: Likewise. * include/parallel/multiway_merge.h: Likewise. * include/parallel/multiway_mergesort.h: Likewise. * include/parallel/numeric: Likewise. * include/parallel/numericfwd.h: Likewise. * include/parallel/omp_loop.h: Likewise. * include/parallel/omp_loop_static.h: Likewise. * include/parallel/par_loop.h: Likewise. * include/parallel/partial_sum.h: Likewise. * include/parallel/partition.h: Likewise. * include/parallel/queue.h: Likewise. * include/parallel/quicksort.h: Likewise. * include/parallel/random_number.h: Likewise. * include/parallel/random_shuffle.h: Likewise. * include/parallel/search.h: Likewise. * include/parallel/set_operations.h: Likewise. * include/parallel/settings.h: Likewise. * include/parallel/sort.h: Likewise. * include/parallel/tags.h: Likewise. * include/parallel/types.h: Likewise. * include/parallel/unique_copy.h: Likewise. * include/parallel/workstealing.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151741 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-09-11 Johannes Singler <singler@ira.uka.de>singler2009-09-111-12/+7
| | | | | | | | | | | | * include/parallel/multiway_merge.h (multiway_merge_exact_splitting): Deallocate borders correctly. (parallel_multiway_merge): Remove unnecessarily complicated allocation, random access iterators are default-constructible; deallocate ne_seqs correctly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151640 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-05-06 Johannes Singler <singler@ira.uka.de>singler2009-05-061-2/+2
| | | | | | | | | | | PR libstdc++/39546 * include/parallel/algo.h (find_switch): Parametrize binder2nd with const T& instead of T. * testsuite/25_algorithms/find/39546.cc: new test case git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147169 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/parallel/settings.h (get): Mark const.hubicka2009-05-031-1/+1
| | | | | | | | | | | | | * libsupc++/unwind-cxx.h (__cxa_call_terminate): Mark throw (). * libsupc++/eh_call.cc (__cxa_call_terminate): Mark throw (). * config/io/basic_file_stdio.cc (sys_open, is_open, fd, seekoff): Mark throw (). * config/io/basic_file_stdio.h (__basic_file, sys_open): Mark throw (). (is_open, fd): Mark pure and throw (). (seekoff): Mark throw (). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147077 138bc75d-0d04-0410-961f-82ee72b054a4
* Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception.jakub2009-04-0943-682/+425
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145841 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-02-03 Johannes Singler <singler@ira.uka.de>singler2009-02-035-26/+49
| | | | | | | | | | | | | | | | | | * include/parallel/algorithmfwd.h: Add parallelism default for many declarations. * include/parallel/numericfwd.h: Likewise. * include/parallel/iterator.h: Use iterator_traits as usual. * include/parallel/par_loop.h: Include equally_split.h. (for_each_template_random_access_ed): Avoid calling the Result default constructor. * include/parallel/numeric: Replace for_each_template_random_access by for_each_template_random_access_ed in numeric functions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143902 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-12-15 Benjamin Kosnik <bkoz@redhat.com>bkoz2008-12-161-19/+1
| | | | | | | | | | | | | | | * include/c_global/cstdatomic: Remove assert include. * include/debug/debug.h: Consolidate __replacement_assert... * include/parallel/base.h: Consolidate __replacement_assert... * include/bits/c++config: ...here. * include/bits/atomic_0.h: Use it. * include/bits/atomic_2.h: Same. * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers. * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142777 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-09-19 Johannes Singler <singler@ira.uka.de>singler2008-09-194-12/+12
| | | | | | | | | | | | | PR libstdc++/37470 * include/parallel/base.h: Rename log2 to __log2. (__log2) Avoid infinite loop for n <= 0, return 0. * include/parallel/losertree.h: Rename log2 to __log2. * include/parallel/multiseq_selection.h: Likewise. * include/parallel/random_shuffle.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140490 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-08-12 Johannes Singler <singler@ira.uka.de>singler2008-08-121-1/+1
| | | | | | | | | | * include/paralle/losertree.h (LoserTreePointerBase<>::~LoserTreePointerBase): Replace delete by appropriate delete[]. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@139026 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-07-15 Johannes Singler <singler@ira.uka.de>singler2008-07-1539-50/+49
| | | | | | | | | | | | | | | * include/parallel/find_selectors.h: Correct name for include guard #ifndef. * include/parallel/balanced_quicksort.h: Likewise. * include/parallel/unique_copy.h: Likewise. * include/parallel/multiway_mergesort.h: Likewise. * include/parallel/checkers.h: Likewise. * include/parallel/[various files]: Add/correct comment for #endif of include guard (at end of file) git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137827 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-07-10 Johannes Singler <singler@ira.uka.de>singler2008-07-101-4/+4
| | | | | | | | | * include/parallel/balanced_quicksort.h: (qsb_divide) Replace "*end" by "*(end - 1)" in assertion. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137691 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-07-09 Johannes Singler <singler@ira.uka.de>singler2008-07-091-0/+3
| | | | | | | | | | * include/parallel/random_shuffle.h: (sequential_random_shuffle) Copy data back. * testsuite/25_algorithms/random_shuffle/1.cc: New. Generic random_shuffle functionality test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137658 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-06-26 Paolo Carlini <paolo.carlini@oracle.com>paolo2008-06-261-8/+8
| | | | | | | | * include/parallel/base.h (plus, multiplies): Use __typeof__, not typeof. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137145 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-06-05 Johannes Singler <singler@ira.uka.de>singler2008-06-052-4/+5
| | | | | | | | | | | | * include/parallel/random_shuffle.h: (parallel_random_shuffle_drs) Get the actual number of threads after entering the parallel region. Indentation. * include/parallel/algo.h: (random_shuffle(begin, end)) Add namespace qualification to avoid ambiguity. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136406 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-05-16 Johannes Singler <singler@ira.uka.de>singler2008-05-164-196/+347
| | | | | | | | | | | | | | | | | | | | * doc/xml/manual/parallel_mode.xml: Documented the new choices, factoring out common tags. * include/parallel/multiway_merge.h: Place comparison functor at the end, to comply with established convention. (parallel_multiway_merge) Pass number of threads explicitly. Introduce new compile-time variants, make exact splitting the default. * include/parallel/tags.h: Extend exact_tag, introduce sampling_tag. * include/parallel/merge.h: (parallel_merge_advance) Adapt to changed interface. * include/parallel/multiway_mergesort.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135411 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-05-07 Johannes Singler <singler@ira.uka.de>singler2008-05-071-4/+1
| | | | | | | | | | | * include/parallel/quicksort.h: (parallel_sort_qs_conquer) Explicitly request number of threads in the parallel clause. (parallel_sort_qs) Remove setting the number of threads globally. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135038 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-05-06 Johannes Singler <singler@ira.uka.de>singler2008-05-062-78/+120
| | | | | | | | | | | | | | | | | * include/parallel/multiway_merge.h: (multiway_merge_*_unguarded): Pass sentinel directly, to allow correct determination. (multiway_merge_loser_tree_unguarded): Remove over-cautious assertion. (calls to multiway_merge_*_splitting): Parametrize with type that is correct in all cases. * include/parallel/losertree.h: (delete_min_insert (in many classes)): Correct and standardize assertions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@134977 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-04-23 Johannes Singler <singler@ira.uka.de>singler2008-04-236-789/+1210
| | | | | | | | | | | | | | | | | | | | * include/parallel/quicksort.h: Reformat, (parallel_sort_qs): Do not pass number of elements. * include/parallel/balanced_quicksort.h: Reformat, (parallel_sort_qsb): Do not pass number of elements. * include/parallel/tags.h: Introduce new tags for compile-time choice. * include/parallel/merge.h: (parallel_merge_advance):Beautified. * include/parallel/algo.h: Reformatting (spaces for tabs) New sort and stable_sort variants, corresponding to the tags. * include/parallel/sort.h: New sort and stable_sort variants, corresponding to the tags. Changed determining the desired number of threads. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@134582 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-04-23 Johannes Singler <singler@ira.uka.de>singler2008-04-232-163/+164
| | | | | | | | | | | | | | | | | | | | | * include/parallel/multiway_merge.h (multiway_merge_loser_tree): Leave checks to callers, add precondition instead. (multiway_merge_loser_tree_unguarded): Likewise. (multiway_merge_loser_tree_sentinel): Likewise. (sequential_multiway_merge): Added checks for total length 0. (parallel_multiway_merge): Skip empty sequences. (multiway_merge, all variants): Remove temporary variable, return directly. (stable_multiway_merge, all variants): Likewise. (multiway_merge_sentinels, all variants): Likewise. (stable_multiway_merge_sentinels, all variants): Likewise. * include/parallel/multiseq_selection.h (multiseq_partition): More detailed assertions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@134580 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-04-07 Johannes Singler <singler@ira.uka.de>singler2008-04-079-2338/+2429
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/parallel/multiway_merge.h: Moved decisions to compiletime instead of runtime. * include/parallel/losertree.h: Removed obsolete variants, added variant that uses pointers in the loser tree. * include/parallel/types.h: Remove obsolete settings options from enum. * include/parallel/features.h: Remove obsolete compile-time switches. * include/parallel/compiletime_settings.h: Remove obsolete variant that copies back *after* sorting. * include/parallel/tags.h: Add one new tag for compile-time switch. * include/parallel/merge.h: Adapt to changes in multiway_merge.h. * include/parallel/multiway_mergesort.h: Adapt to changes in multiway_merge.h. Factor out splitting variants. Remove obsolete variant that copies back *after* sorting. * include/parallel/sort.h: Adapt to changes in multiway_mergesort.h. * testsuite/25_algorithms/sort/35588.cc: Added test case from / for PR 35588. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133975 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-03-25 Benjamin Kosnik <bkoz@redhat.com>bkoz2008-03-261-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * scripts/run_doxygen: Remove html_output_dir. Downgrade to Doxygen 1.5.1. * doc/doxygen/style.css: Delete. * doc/doxygen/user.cfg.in: Regenerate with Doxygen 1.5.1. (INPUT): Update. (PREDEFINED): Update. (HTML_OUTPUT): Remove html_output_dir, use html. (HTML_STYLESHEET): Remove style.css. * doc/doxygen/tables.html: Remove style.css use. * doc/doxygen/mainpage.html: Nested lists for Namespaces and Classes. * doc/doxygen/doxygroups.cc: Namespace edits. * doc/doxygen/Intro.3: Correct typo. * doc/xml/api.xml: Add gcc-4.3 links. * doc/html/api.html: Regenerate. * include/debug/debug.h: Document namepaces here. * include/parallel/base.h: Same. * include/ext/typelist.h: Same. * include/ext/pb_ds/tag_and_trait.hpp: Same. * include/tr1_impl/random: Adjust line break. * include/tr1_impl/unordered_map: Correct and or add markup. * include/tr1_impl/boost_shared_ptr.h: Correct and or add markup. * include/tr1_impl/functional_hash.h: Same. * include/tr1_impl/cmath: Same. * include/tr1_impl/functional: Same. * include/tr1_impl/unordered_set: Same. * include/tr1_impl/complex: Same. * include/tr1_impl/type_traits: Same. * include/tr1_impl/regex: Same. * include/tr1_impl/array: Same. * include/std/tuple: Same. * include/std/date_time: Same. * include/std/system_error: Same. * include/std/type_traits: Same. * include/ext/enc_filebuf.h: Same. * include/ext/throw_allocator.h: Same. * include/ext/pool_allocator.h: Same. * include/ext/bitmap_allocator.h: Same. * include/ext/concurrence.h: Same. * include/ext/codecvt_specializations.h: Same. * include/ext/stdio_sync_filebuf.h: Same. * include/ext/array_allocator.h: Same. * include/ext/mt_allocator.h: Same. * include/bits/locale_classes.h: Same. * include/bits/locale_facets.h: Same. * include/bits/codecvt.h: Same. * include/bits/char_traits.h: Same. * include/bits/allocator.h: Same. * include/bits/locale_facets_nonio.h: Same. * include/tr1/poly_laguerre.tcc: Same. * include/tr1/riemann_zeta.tcc: Same. * include/tr1/beta_function.tcc: Same. * include/tr1/tuple: Same. * include/tr1/exp_integral.tcc: Same. * include/tr1/gamma.tcc: Same. * include/tr1/hypergeometric.tcc: Same. * include/tr1/modified_bessel_func.tcc: Same. * include/tr1/legendre_function.tcc: Same. * include/tr1/type_traits: Same. * include/tr1/special_function_util.h: Same. * include/tr1/bessel_function.tcc: Same. * include/tr1/cmath: Same. * include/tr1/poly_hermite.tcc: Same. * include/tr1/ell_integral.tcc: Same. * config/abi/compatibility.h: Adjust file name. * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Adjust line numbers. * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same. * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133544 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-03-20 Johannes Singler <singler@ira.uka.de>singler2008-03-201-14/+0
| | | | | | | | | | * include/parallel/set_operations.h: Removed superfluous set_intersection. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133391 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-02-17 Benjamin Kosnik <bkoz@redhat.com>bkoz2008-02-1823-524/+469
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR libstdc++/34797 * include/parallel/settings.h (_Settings): Reconstruct Settings class here, uglify, remove anonymous namespace and static members. Convert to datum. * include/parallel/types.h: Move Settings:: enumerations here, uglify. * src/parallel_settings.cc: New, definition for _Settings member functions. * include/parallel/multiway_merge.h: Same. * include/parallel/for_each.h: Same. * include/parallel/workstealing.h: Same. * include/parallel/base.h: Same. * include/parallel/numeric * include/parallel/features.h: Same. * include/parallel/quicksort.h: Same. * include/parallel/equally_split.h: Same. * include/parallel/algorithmfwd.h: Same. * include/parallel/omp_loop_static.h: Same. * include/parallel/random_shuffle.h: Same. * include/parallel/balanced_quicksort.h: Same. * include/parallel/tags.h: Same. * include/parallel/multiway_mergesort.h: Same. * include/parallel/numericfwd.h: Same. * include/parallel/partition.h: Same. * include/parallel/partial_sum.h: Same. * include/parallel/find.h: Same. * include/parallel/algo.h: Same. * include/parallel/omp_loop.h: Same. * include/parallel/sort.h: Same. * src/Makefile.am (parallel_sources): Add parallel_settings.cc. * src/Makefile.in: Regenerate. * config/abi/pre/gnu.ver: Export _Settings::get and _Settings::set. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132383 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-02-17 Paolo Carlini <pcarlini@suse.de>paolo2008-02-176-59/+67
| | | | | | | | | | | | | | PR libstdc++/35221 * include/parallel/types.h: Reinstate integer types typedefs. * include/parallel/multiseq_selection.h: Adjust. * include/parallel/compatibility.h: Likewise. * include/parallel/random_shuffle.h: Likewise. * include/parallel/random_number.h: Likewise. * include/parallel/base.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132380 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-02-16 Benjamin Kosnik <bkoz@redhat.com>bkoz2008-02-161-335/+20
| | | | | | | | | | | * include/parallel/random_number.h: Use TR1's mersenne_twister. (random_number::genrand_bits()): Remove. (random_number::set_seed): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132371 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-02-15 Benjamin Kosnik <bkoz@redhat.com>bkoz2008-02-161-54/+0
| | | | | | | | * include/parallel/types.h: Remove enum parallelism. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132364 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-02-15 Benjamin Kosnik <bkoz@redhat.com>bkoz2008-02-157-138/+185
| | | | | | | | | | | | | | | | | | | * include/parallel/types.h: Move enum parallelism here. Use tr1/cstdint's int16_t, uint16_t, int32_t, uint32_t, int64_t, uint64_t. * include/parallel/multiseq_selection.h: Adjust for cstdint. * include/parallel/compatibility.h: Same. * include/parallel/tags.h: Just compile-time tags. * include/parallel/base.h: Put namespace bits here. * src/Makefile.am (PARALLEL_FLAGS): Use it. * src/Makefile.in: Regenerate. * testsuite/25_algorithms/nth_element/1.cc: Add test variable. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132354 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>paolo2008-01-315-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/backward/auto_ptr.h: Fix comment typos. * include/bits/algorithmfwd.h: Likewise. * include/bits/basic_ios.h: Likewise. * include/bits/c++config: Likewise. * include/bits/char_traits.h: Likewise. * include/bits/codecvt.h: Likewise. * include/bits/gslice.h: Likewise. * include/bits/ios_base.h: Likewise. * include/bits/locale_facets.h: Likewise. * include/bits/locale_facets_nonio.tcc: Likewise. * include/bits/postypes.h: Likewise. * include/bits/sstream.tcc: Likewise. * include/bits/stl_algo.h: Likewise. * include/bits/stl_deque.h: Likewise. * include/bits/stl_iterator.h: Likewise. * include/bits/stl_iterator_base_types.h Likewise. * include/bits/stl_list.h: Likewise. * include/bits/stl_map.h: Likewise. * include/bits/stl_multimap.h: Likewise. * include/bits/stl_multiset.h: Likewise. * include/bits/stl_set.h: Likewise. * include/bits/stl_vector.h: Likewise. * include/bits/valarray_array.h: Likewise. * include/debug/safe_base.h: Likewise. * include/ext/bitmap_allocator.h: Likewise. * include/ext/codecvt_specializations.h Likewise. * include/ext/mt_allocator.h: Likewise. * include/ext/rc_string_base.h: Likewise. * include/ext/rope: Likewise. * include/parallel/checkers.h: Likewise. * include/parallel/find.h: Likewise. * include/parallel/multiseq_selection.h: Likewise. * include/parallel/partition.h: Likewise. * include/parallel/settings.h: Likewise. * include/std/bitset: Likewise. * include/std/complex: Likewise. * include/std/fstream: Likewise. * include/std/istream: Likewise. * include/std/limits: Likewise. * include/std/ostream: Likewise. * include/std/stdexcept: Likewise. * include/std/streambuf: Likewise. * include/tr1/bessel_function.tcc: Likewise. * include/tr1/cmath: Likewise. * include/tr1/ell_integral.tcc: Likewise. * include/tr1/hypergeometric.tcc: Likewise. * include/tr1/legendre_function.tcc: Likewise. * include/tr1_impl/random: Likewise. * include/tr1_impl/regex: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131982 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-01-14 Paolo Carlini <pcarlini@suse.de>paolo2008-01-156-21/+21
| | | | | | | | | | | | * include/parallel/list_partition.h: Formatting fixes, inline tweaks. * include/parallel/numeric: Likewise. * include/parallel/balanced_quicksort.h: Likewise. * include/parallel/unique_copy.h: Likewise. * include/parallel/algobase.h: Likewise. * include/parallel/algo.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131542 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-01-14 Paolo Carlini <pcarlini@suse.de>paolo2008-01-141-3939/+0
| | | | | | | | | | | | | | | | | | | * include/parallel/tree.h: Remove. * include/Makefile.am: Update. * include/Makefile.in: Rebuild. * src/Makefile.am: Remove spurious trailing backslash. * src/Makefile.in: Rebuild. * po/Makefile.in: Likewise. * libmath/Makefile.in: Likewise. * testsuite/Makefile.in: Likewise. * libsupc++/Makefile.in: Likewise. * aclocal.m4: Likewise. * Makefile.in: Likewise. * configure: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131529 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-01-09 Paolo Carlini <pcarlini@suse.de>paolo2008-01-1031-3385/+3865
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/parallel/multiway_merge.h: Reformat to 80 columns; adjust some inline specifiers; other minor style fixes. * include/parallel/losertree.h: Likewise. * include/parallel/list_partition.h: Likewise. * include/parallel/multiseq_selection.h: Likewise. * include/parallel/workstealing.h: Likewise. * include/parallel/base.h: Likewise. * include/parallel/par_loop.h: Likewise. * include/parallel/numeric: Likewise. * include/parallel/quicksort.h: Likewise. * include/parallel/algorithmfwd.h: Likewise. * include/parallel/for_each_selectors.h: Likewise. * include/parallel/omp_loop_static.h: Likewise. * include/parallel/random_shuffle.h: Likewise. * include/parallel/balanced_quicksort.h: Likewise. * include/parallel/set_operations.h: Likewise. * include/parallel/tree.h: Likewise. * include/parallel/merge.h: Likewise. * include/parallel/unique_copy.h: Likewise. * include/parallel/settings.h: Likewise. * include/parallel/multiway_mergesort.h: Likewise. * include/parallel/numericfwd.h: Likewise. * include/parallel/search.h: Likewise. * include/parallel/partition.h: Likewise. * include/parallel/compatibility.h: Likewise. * include/parallel/partial_sum.h: Likewise. * include/parallel/find.h: Likewise. * include/parallel/algo.h: Likewise. * include/parallel/queue.h: Likewise. * include/parallel/omp_loop.h: Likewise. * include/parallel/sort.h: Likewise. * include/parallel/random_number.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131440 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-01-09 Paolo Carlini <pcarlini@suse.de>paolo2008-01-0914-2948/+3517
| | | | | | | | | | | | | | | | | | | | | * include/parallel/iterator.h: Reformat to 80 columns; adjust some inline specifiers. * include/parallel/find_selectors.h: Likewise. * include/parallel/losertree.h: Likewise. * include/parallel/list_partition.h: Likewise. * include/parallel/for_each.h: Likewise. * include/parallel/multiseq_selection.h: Likewise. * include/parallel/algorithmfwd.h: Likewise. * include/parallel/for_each_selectors.h: Likewise. * include/parallel/balanced_quicksort.h: Likewise. * include/parallel/merge.h: Likewise. * include/parallel/algobase.h: Likewise. * include/parallel/find.h: Likewise. * include/parallel/algo.h: Likewise. * include/parallel/checkers.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131431 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-01-01 Paolo Carlini <pcarlini@suse.de>paolo2008-01-017-17/+17
| | | | | | | | | | | | | | | | | | | | | PR libstdc++/34095 * include/parallel/multiway_merge.h (multiway_merge_bubble, parallel_multiway_merge): Together with ::operator new use ::operator delete. * include/parallel/losertree.h (LoserTree<>::~LoserTree): Likewise. * include/parallel/quicksort.h (parallel_sort_qs_divide): Likewise. * include/parallel/random_shuffle.h (parallel_random_shuffle_drs_pu, sequential_random_shuffle): Likewise. * include/parallel/tree.h (_M_not_sorted_bulk_insertion_construction): Likewise. * include/parallel/multiway_mergesort.h (parallel_sort_mwms_pu, parallel_sort_mwms): Likewise. * include/parallel/partial_sum.h (parallel_partial_sum_linear): Likewise. * testsuite/25_algorithms/sort/34095.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131247 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-01-01 Paolo Carlini <pcarlini@suse.de>paolo2008-01-011-14/+2
| | | | | | | | | | | PR libstdc++/34636 * include/parallel/algobase.h (lexicographical_compare_switch(..., random_access_iterator_tag, random_access_iterator_tag)): Careful with undereferenceable iterators. * testsuite/25_algorithms/sort/34636.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131245 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-12-15 Benjamin Kosnik <bkoz@redhat.com>bkoz2007-12-156-10/+11
| | | | | | | | | | | | | | | Paolo Carlini <pcarlini@suse.de> * include/parallel/partial_sum.h: Include new. Fix for DR 402. * include/parallel/multiway_merge.h:Fix for DR 402. * include/parallel/losertree.h: Same. * include/parallel/quicksort.h: Same. * include/parallel/random_shuffle.h: Same. * include/parallel/multiway_mergesort.h: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130956 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud