Skip to content

Commit f66add6

Browse files
MayneMeiklingaardkathlenemagnusarupc
authored
Merge master to my branch (#248)
Signed-off-by: Knute <56927209+klingaard@users.noreply.github.com> Co-authored-by: Knute <56927209+klingaard@users.noreply.github.com> Co-authored-by: Kathlene Magnus <kathlene.hurt@gmail.com> Co-authored-by: Arup <arupc@users.noreply.github.com> Co-authored-by: Knute Lingaard <klingaard@gmail.com>
1 parent 29ddbe3 commit f66add6

Some content is hidden

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

51 files changed

+1560
-1384
lines changed

.github/actions/build/entrypoint.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ echo "PWD:" `pwd`
1515
CXX_COMPILER=${COMPILER/clang/clang++}
1616
CXX_COMPILER=${CXX_COMPILER/gcc/g++}
1717

18+
NUM_CORES=$(nproc 2>/dev/null || sysctl -n hw.logicalcpu)
19+
20+
# Print the ulimits
21+
ulimit -a
22+
1823
#
1924
# Compile Sparta Infra (always build with release)
2025
# Have other build types point to release
@@ -28,7 +33,7 @@ if [ $? -ne 0 ]; then
2833
echo "ERROR: Cmake for Sparta framework failed"
2934
exit 1
3035
fi
31-
make -j$(nproc --all) install
36+
make -j$NUM_CORES install
3237
BUILD_SPARTA=$?
3338
if [ ${BUILD_SPARTA} -ne 0 ]; then
3439
echo "ERROR: build sparta FAILED!!!"
@@ -43,7 +48,7 @@ if [ $? -ne 0 ]; then
4348
echo "ERROR: Cmake for olympia failed"
4449
exit 1
4550
fi
46-
make -j$(nproc --all) regress
51+
make -j$NUM_CORES regress
4752
BUILD_OLYMPIA=$?
4853
if [ ${BUILD_OLYMPIA} -ne 0 ]; then
4954
echo "ERROR: build/regress of olympia FAILED!!!"
File renamed without changes.

.github/workflows/conda/macos_env.yml

Lines changed: 10 additions & 179 deletions
Large diffs are not rendered by default.

.github/workflows/macos-build.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
# Strategy is a matrix of debug and release builds/regression
1414
matrix:
15-
os: [macos-14]
15+
os: [macos-latest]
1616
BUILD_TYPE: [Debug]
1717
COMPILER: [clang]
1818

@@ -63,9 +63,8 @@ jobs:
6363
${{ matrix.os }}-${{ matrix.BUILD_TYPE }}-${{ matrix.COMPILER }}-ccache
6464
6565
- name: Setup Conda Environment
66-
uses: conda-incubator/setup-miniconda@v2
66+
uses: conda-incubator/setup-miniconda@v3
6767
with:
68-
miniforge-variant: Mambaforge
6968
channels: conda-forge,defaults
7069
channel-priority: true
7170
activate-environment: riscv_perf_model

.github/workflows/ubuntu-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
- name: Cache conda deps
5151
uses: actions/cache@v3
5252
with:
53-
key: ${{ matrix.os }}-${{ matrix.BUILD_TYPE }}-${{ matrix.COMPILER }}-conda-${{ hashFiles('conda/environment.yml') }}
53+
key: ${{ matrix.os }}-${{ matrix.BUILD_TYPE }}-${{ matrix.COMPILER }}-conda-${{ hashFiles('.github/workflows/conda/environment.yml') }}
5454
path: /usr/share/miniconda/envs/riscv_perf_model # Default path for conda
5555

5656
# Setup CCache to cache builds
@@ -66,7 +66,7 @@ jobs:
6666
run: |
6767
# $CONDA is an environment variable pointing to the root of the miniconda directory
6868
$CONDA/bin/conda config --set channel_priority strict
69-
$CONDA/bin/conda env update --file ${{ github.workspace }}/conda/environment.yml
69+
$CONDA/bin/conda env update --file ${{ github.workspace }}/.github/workflows/conda/environment.yml
7070
$CONDA/bin/conda init bash
7171
7272
# Build

CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ add_definitions(-DOLYMPIA_VERSION=\"${OLYMPIA_VERSION}\")
5858
# Profile build flags
5959
set(CMAKE_CXX_FLAGS_PROFILE "-O3 -pg -g -ftime-trace")
6060
set(CMAKE_CXX_FLAGS_FASTDEBUG "-O3 -g")
61-
set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g")
61+
set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g -U_FORTIFY_SOURCE")
6262

6363
# Include directories
6464
include_directories (core mss sim)
@@ -128,4 +128,3 @@ add_custom_target(clangformat-check
128128
COMMENT
129129
"Formatting ${prefix} with ${CLANGFORMAT_EXECUTABLE} ..."
130130
)
131-

CONTRIBUTING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
TBD: how to contribute to this project

CONTRIBUTORS.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to contribute to this project
2+
3+
The following people from multiple organizations have contributed to this project:
4+
5+
* (Ventana Micro Systems)[https://www.ventanamicro.com]
6+
* (Arup Chakraborty)[https://github.com/arupc]
7+
8+
* (MIPS)[https://mips.com]
9+
* (Knute Lingaard)[https://github.com/klingaard]
10+
* (Kathlene Magnus)[https://github.com/kathlenemagnus]
11+
12+
* (Condor Computing)[https://condorcomputing.com]
13+
* (Jeff Nye)[https://github.com/jeffnye-gh]
14+
15+
List is incomplete and more contributor names/organizations to be added.

arches/big_core.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ top.cpu.core0.extension.core_extensions:
2929
["int", "mul"], # exe2
3030
["int", "mul", "i2f", "cmov"], # exe3
3131
["int"], # exe4
32-
["int"], # exe5
32+
["int", "vset"], # exe5
3333
["float", "faddsub", "fmac"], # exe6
3434
["float", "f2i"], # exe7
3535
["br"], # exe8
3636
["br"], # exe9
37-
["vint", "vset", "vdiv", "vmul"]
37+
["vint", "vdiv", "vmul", "vfixed", "vmask", "vmv", "v2s", "vfloat", "vfdiv", "vfmul", "vpermute", "vload", "vstore"] # exe10
3838
]
3939
# this is used to set how many units per queue
4040
# ["0", "3"] means iq0 has exe0, exe1, exe2, and exe3, so it's inclusive

arches/isa_json/gen_uarch_rv64v_json.py

Lines changed: 322 additions & 234 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)