Skip to content

Commit be07539

Browse files
authored
arch/inst: Add SPDX snippet to YAML files containing sail() function. (#549)
* arch/inst: Add SPDX snippet to YAML files containing sail() function. Mentored-by: Derek Hower <[email protected]> Mentored-by: Paul A. Clarke <[email protected]> Signed-off-by: Usman Akinyemi <[email protected]> * arch/inst: Update the SPDX license to point to SPDX-FileCopyrightText. Mentored-by: Derek Hower <[email protected]> Mentored-by: Paul A. Clarke <[email protected]> Signed-off-by: Usman Akinyemi <[email protected]> * arch/inst: fix pre-commit EOF newline complaints Mentored-by: Derek Hower <[email protected]> Mentored-by: Paul A. Clarke <[email protected]> Signed-off-by: Usman Akinyemi <[email protected]> --------- Signed-off-by: Usman Akinyemi <[email protected]> Co-authored-by: Derek Hower <[email protected]>
2 parents d51cb12 + 9a60fc4 commit be07539

File tree

592 files changed

+2960
-0
lines changed

Some content is hidden

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

592 files changed

+2960
-0
lines changed

arch/inst/A/amoadd.d.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ operation(): |
4444
4545
X[rd] = amo<64>(virtual_address, X[rs2], AmoOperation::Add, aq, rl, $encoding);
4646
47+
# SPDX-SnippetBegin
48+
# SPDX-FileCopyrightText: 2017-2025 Contributors to the RISCV Sail Model <https://github.com/riscv/sail-riscv/blob/master/LICENCE>
49+
# SPDX-License-Identifier: BSD-2-Clause
4750
sail(): |
4851
{
4952
if extension("A") then {
@@ -134,3 +137,5 @@ sail(): |
134137
RETIRE_FAIL
135138
}
136139
}
140+
141+
# SPDX-SnippetEnd

arch/inst/A/amoadd.w.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ operation(): |
4343
4444
X[rd] = amo<32>(virtual_address, X[rs2][31:0], AmoOperation::Add, aq, rl, $encoding);
4545
46+
# SPDX-SnippetBegin
47+
# SPDX-FileCopyrightText: 2017-2025 Contributors to the RISCV Sail Model <https://github.com/riscv/sail-riscv/blob/master/LICENCE>
48+
# SPDX-License-Identifier: BSD-2-Clause
4649
sail(): |
4750
{
4851
if extension("A") then {
@@ -133,3 +136,5 @@ sail(): |
133136
RETIRE_FAIL
134137
}
135138
}
139+
140+
# SPDX-SnippetEnd

arch/inst/A/amoand.d.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ operation(): |
4444
4545
X[rd] = amo<64>(virtual_address, X[rs2], AmoOperation::And, aq, rl, $encoding);
4646
47+
# SPDX-SnippetBegin
48+
# SPDX-FileCopyrightText: 2017-2025 Contributors to the RISCV Sail Model <https://github.com/riscv/sail-riscv/blob/master/LICENCE>
49+
# SPDX-License-Identifier: BSD-2-Clause
4750
sail(): |
4851
{
4952
if extension("A") then {
@@ -134,3 +137,5 @@ sail(): |
134137
RETIRE_FAIL
135138
}
136139
}
140+
141+
# SPDX-SnippetEnd

arch/inst/A/amoand.w.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ operation(): |
4343
4444
X[rd] = amo<32>(virtual_address, X[rs2][31:0], AmoOperation::And, aq, rl, $encoding);
4545
46+
# SPDX-SnippetBegin
47+
# SPDX-FileCopyrightText: 2017-2025 Contributors to the RISCV Sail Model <https://github.com/riscv/sail-riscv/blob/master/LICENCE>
48+
# SPDX-License-Identifier: BSD-2-Clause
4649
sail(): |
4750
{
4851
if extension("A") then {
@@ -133,3 +136,5 @@ sail(): |
133136
RETIRE_FAIL
134137
}
135138
}
139+
140+
# SPDX-SnippetEnd

arch/inst/A/amomax.d.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ operation(): |
4444
4545
X[rd] = amo<64>(virtual_address, X[rs2], AmoOperation::Max, aq, rl, $encoding);
4646
47+
# SPDX-SnippetBegin
48+
# SPDX-FileCopyrightText: 2017-2025 Contributors to the RISCV Sail Model <https://github.com/riscv/sail-riscv/blob/master/LICENCE>
49+
# SPDX-License-Identifier: BSD-2-Clause
4750
sail(): |
4851
{
4952
if extension("A") then {
@@ -134,3 +137,5 @@ sail(): |
134137
RETIRE_FAIL
135138
}
136139
}
140+
141+
# SPDX-SnippetEnd

arch/inst/A/amomax.w.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ operation(): |
4343
4444
X[rd] = amo<32>(virtual_address, X[rs2][31:0], AmoOperation::Max, aq, rl, $encoding);
4545
46+
# SPDX-SnippetBegin
47+
# SPDX-FileCopyrightText: 2017-2025 Contributors to the RISCV Sail Model <https://github.com/riscv/sail-riscv/blob/master/LICENCE>
48+
# SPDX-License-Identifier: BSD-2-Clause
4649
sail(): |
4750
{
4851
if extension("A") then {
@@ -133,3 +136,5 @@ sail(): |
133136
RETIRE_FAIL
134137
}
135138
}
139+
140+
# SPDX-SnippetEnd

arch/inst/A/amomaxu.d.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ operation(): |
4343
4444
X[rd] = amo<64>(virtual_address, X[rs2], AmoOperation::Maxu, aq, rl, $encoding);
4545
46+
# SPDX-SnippetBegin
47+
# SPDX-FileCopyrightText: 2017-2025 Contributors to the RISCV Sail Model <https://github.com/riscv/sail-riscv/blob/master/LICENCE>
48+
# SPDX-License-Identifier: BSD-2-Clause
4649
sail(): |
4750
{
4851
if extension("A") then {
@@ -133,3 +136,5 @@ sail(): |
133136
RETIRE_FAIL
134137
}
135138
}
139+
140+
# SPDX-SnippetEnd

arch/inst/A/amomaxu.w.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ operation(): |
4343
4444
X[rd] = amo<32>(virtual_address, X[rs2][31:0], AmoOperation::Maxu, aq, rl, $encoding);
4545
46+
# SPDX-SnippetBegin
47+
# SPDX-FileCopyrightText: 2017-2025 Contributors to the RISCV Sail Model <https://github.com/riscv/sail-riscv/blob/master/LICENCE>
48+
# SPDX-License-Identifier: BSD-2-Clause
4649
sail(): |
4750
{
4851
if extension("A") then {
@@ -133,3 +136,5 @@ sail(): |
133136
RETIRE_FAIL
134137
}
135138
}
139+
140+
# SPDX-SnippetEnd

arch/inst/A/amomin.d.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ operation(): |
4444
4545
X[rd] = amo<64>(virtual_address, X[rs2], AmoOperation::Min, aq, rl, $encoding);
4646
47+
# SPDX-SnippetBegin
48+
# SPDX-FileCopyrightText: 2017-2025 Contributors to the RISCV Sail Model <https://github.com/riscv/sail-riscv/blob/master/LICENCE>
49+
# SPDX-License-Identifier: BSD-2-Clause
4750
sail(): |
4851
{
4952
if extension("A") then {
@@ -134,3 +137,5 @@ sail(): |
134137
RETIRE_FAIL
135138
}
136139
}
140+
141+
# SPDX-SnippetEnd

arch/inst/A/amomin.w.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ operation(): |
4343
4444
X[rd] = amo<32>(virtual_address, X[rs2][31:0], AmoOperation::Min, aq, rl, $encoding);
4545
46+
# SPDX-SnippetBegin
47+
# SPDX-FileCopyrightText: 2017-2025 Contributors to the RISCV Sail Model <https://github.com/riscv/sail-riscv/blob/master/LICENCE>
48+
# SPDX-License-Identifier: BSD-2-Clause
4649
sail(): |
4750
{
4851
if extension("A") then {
@@ -133,3 +136,5 @@ sail(): |
133136
RETIRE_FAIL
134137
}
135138
}
139+
140+
# SPDX-SnippetEnd

0 commit comments

Comments
 (0)