Skip to content

Commit cb3d0f4

Browse files
authored
Merge pull request #777 from ckormanyos/add_v850_ci
2 parents 4b1d235 + 4f01c85 commit cb3d0f4

450 files changed

Lines changed: 330200 additions & 50 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/real-time-cpp-benchmarks.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -207,14 +207,14 @@ jobs:
207207
fetch-depth: '0'
208208
- name: update-tools
209209
run: |
210-
wget --no-check-certificate https://github.com/ckormanyos/gcc-v850-unknown-elf/releases/download/v14.2.0/gcc-14.2.0-v850-unknown-elf.tar.gz
211-
tar -xzf gcc-14.2.0-v850-unknown-elf.tar.gz -C ${{ runner.workspace }}
210+
wget --no-check-certificate https://github.com/ckormanyos/gcc-v850-unknown-elf/releases/download/v16.2.0/gcc-16.2.0-v850-unknown-elf.tar.gz
211+
tar -xzf gcc-16.2.0-v850-unknown-elf.tar.gz -C ${{ runner.workspace }}
212212
- name: benchmark_builds-v850
213213
run: |
214214
echo
215215
echo 'Add v850-unknown-elf-g++ path'
216216
echo
217-
PATH="${{ runner.workspace }}/gcc-14.2.0-v850-unknown-elf/bin:$PATH"
217+
PATH="${{ runner.workspace }}/gcc-16.2.0-v850-unknown-elf/bin:$PATH"
218218
echo 'Query v850-unknown-elf-g++ version'
219219
echo
220220
v850-unknown-elf-g++ -v

‎.github/workflows/real-time-cpp.yml‎

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,30 @@ jobs:
252252
./target/build/build.sh ${{ matrix.suite }} rebuild
253253
ls -la ./bin/ref_app.elf ./bin/ref_app.hex ./bin/ref_app.map ./bin/ref_app.s19
254254
working-directory: ./ref_app/
255+
target-v850xx:
256+
runs-on: ubuntu-latest
257+
defaults:
258+
run:
259+
shell: bash
260+
strategy:
261+
fail-fast: false
262+
matrix:
263+
suite: [ v850es_fx2 ]
264+
steps:
265+
- uses: actions/checkout@v7
266+
with:
267+
fetch-depth: '0'
268+
- name: update-tools
269+
run: |
270+
wget --no-check-certificate https://github.com/ckormanyos/gcc-v850-unknown-elf/releases/download/v16.2.0/gcc-16.2.0-v850-unknown-elf.tar.gz
271+
tar -xzf gcc-16.2.0-v850-unknown-elf.tar.gz -C ${{ runner.workspace }}
272+
working-directory: ./
273+
- name: target-v850xx-${{ matrix.suite }}
274+
run: |
275+
PATH="${{ runner.workspace }}/gcc-16.2.0-v850-unknown-elf/bin:$PATH"
276+
./target/build/build.sh ${{ matrix.suite }} rebuild
277+
ls -la ./bin/ref_app.elf ./bin/ref_app.hex ./bin/ref_app.map ./bin/ref_app.s19
278+
working-directory: ./ref_app/
255279
target-xtensa32:
256280
runs-on: ubuntu-latest
257281
defaults:

‎ref_app/src/mcal/mcal_gcc_cxx_completion.cpp‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,9 @@ void mcal_gcc_cxx_dummy()
143143

144144
namespace std
145145
{
146-
[[noreturn]]
147-
void __throw_out_of_range_fmt(char const*, ...) { for(;;) { ; } }
146+
[[noreturn]] auto __throw_out_of_range_fmt(char const*, ...) -> void { for(;;) { ; } }
147+
148+
[[noreturn]] auto __throw_length_error(const char*) -> void { for(;;) { ; } }
148149

149150
using ::fprintf;
150151

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
// <algorithm> -*- C++ -*-
2+
3+
// Copyright (C) 2001-2026 Free Software Foundation, Inc.
4+
//
5+
// This file is part of the GNU ISO C++ Library. This library is free
6+
// software; you can redistribute it and/or modify it under the
7+
// terms of the GNU General Public License as published by the
8+
// Free Software Foundation; either version 3, or (at your option)
9+
// any later version.
10+
11+
// This library is distributed in the hope that it will be useful,
12+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
// GNU General Public License for more details.
15+
16+
// Under Section 7 of GPL version 3, you are granted additional
17+
// permissions described in the GCC Runtime Library Exception, version
18+
// 3.1, as published by the Free Software Foundation.
19+
20+
// You should have received a copy of the GNU General Public License and
21+
// a copy of the GCC Runtime Library Exception along with this program;
22+
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
23+
// <http://www.gnu.org/licenses/>.
24+
25+
/*
26+
*
27+
* Copyright (c) 1994
28+
* Hewlett-Packard Company
29+
*
30+
* Permission to use, copy, modify, distribute and sell this software
31+
* and its documentation for any purpose is hereby granted without fee,
32+
* provided that the above copyright notice appear in all copies and
33+
* that both that copyright notice and this permission notice appear
34+
* in supporting documentation. Hewlett-Packard Company makes no
35+
* representations about the suitability of this software for any
36+
* purpose. It is provided "as is" without express or implied warranty.
37+
*
38+
*
39+
* Copyright (c) 1996,1997
40+
* Silicon Graphics Computer Systems, Inc.
41+
*
42+
* Permission to use, copy, modify, distribute and sell this software
43+
* and its documentation for any purpose is hereby granted without fee,
44+
* provided that the above copyright notice appear in all copies and
45+
* that both that copyright notice and this permission notice appear
46+
* in supporting documentation. Silicon Graphics makes no
47+
* representations about the suitability of this software for any
48+
* purpose. It is provided "as is" without express or implied warranty.
49+
*/
50+
51+
/** @file include/algorithm
52+
* This is a Standard C++ Library header.
53+
*/
54+
55+
#ifndef _GLIBCXX_ALGORITHM
56+
#define _GLIBCXX_ALGORITHM 1
57+
58+
#pragma GCC system_header
59+
60+
#include <bits/stl_algobase.h>
61+
#include <bits/stl_algo.h>
62+
#if __cplusplus > 201703L
63+
# include <bits/ranges_algo.h>
64+
#endif
65+
66+
#define __glibcxx_want_algorithm_default_value_type
67+
#define __glibcxx_want_algorithm_iterator_requirements
68+
#define __glibcxx_want_clamp
69+
#define __glibcxx_want_constexpr_algorithms
70+
#define __glibcxx_want_freestanding_algorithm
71+
#define __glibcxx_want_parallel_algorithm
72+
#define __glibcxx_want_ranges
73+
#define __glibcxx_want_ranges_contains
74+
#define __glibcxx_want_ranges_find_last
75+
#define __glibcxx_want_ranges_fold
76+
#define __glibcxx_want_ranges_starts_ends_with
77+
#define __glibcxx_want_robust_nonmodifying_seq_ops
78+
#define __glibcxx_want_sample
79+
#define __glibcxx_want_shift
80+
#include <bits/version.h>
81+
82+
#if __cpp_lib_parallel_algorithm // C++ >= 17 && HOSTED
83+
// Parallel STL algorithms
84+
# if _PSTL_EXECUTION_POLICIES_DEFINED
85+
// If <execution> has already been included, pull in implementations
86+
# include <pstl/glue_algorithm_impl.h>
87+
# else
88+
// Otherwise just pull in forward declarations
89+
# include <pstl/glue_algorithm_defs.h>
90+
# define _PSTL_ALGORITHM_FORWARD_DECLARED 1
91+
# endif
92+
#endif
93+
94+
#ifdef _GLIBCXX_PARALLEL
95+
# include <parallel/algorithm>
96+
#endif
97+
98+
#endif /* _GLIBCXX_ALGORITHM */

0 commit comments

Comments
 (0)