-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable RISC-V bitmanip extensions for OpenTitan
Ibex in OpenTitan supports the bitmanip extensions in addition to IMC. The ratified set of these are supported upstream in LLVM, but not exposed in any of the default Rust targets. We can manually enable them by adding this flag.
- Loading branch information
Showing
2 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Licensed under the Apache License, Version 2.0 or the MIT License. | ||
# SPDX-License-Identifier: Apache-2.0 OR MIT | ||
# Copyright Tock Contributors 2024. | ||
|
||
# bitmanip instruction support for RISC-V. | ||
|
||
[build] | ||
rustflags = [ | ||
# These are the ratified bitmanip extensions supported by LLVM. | ||
"-Ctarget-feature=+zba,+zbb,+zbc,+zbs", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters