forked from riscv/sail-riscv
-
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.
Move extension scattered enum to single file
Having this distributed through the code can lead to slightly awkward dependency order issues. We need to keep it scattered though so e.g. CHERI can add its extensions.
- Loading branch information
Showing
30 changed files
with
99 additions
and
53 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
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,94 @@ | ||
/*=======================================================================================*/ | ||
/* This Sail RISC-V architecture model, comprising all files and */ | ||
/* directories except where otherwise noted is subject the BSD */ | ||
/* two-clause license in the LICENSE file. */ | ||
/* */ | ||
/* SPDX-License-Identifier: BSD-2-Clause */ | ||
/*=======================================================================================*/ | ||
|
||
scattered enum extension | ||
|
||
// Bit Manipulation | ||
enum clause extension = Ext_B | ||
// Compressed Instructions | ||
enum clause extension = Ext_C | ||
// Double-Precision Floating-Point | ||
enum clause extension = Ext_D | ||
// Single-Precision Floating-Point | ||
enum clause extension = Ext_F | ||
// Integer Multiplication and Division; not Machine! | ||
enum clause extension = Ext_M | ||
// Supervisor | ||
enum clause extension = Ext_S | ||
// Supervisor-mode Timer Interrupts | ||
enum clause extension = Ext_Sstc | ||
// Fine-Grained Address-Translation Cache Invalidation | ||
enum clause extension = Ext_Svinval | ||
// User | ||
enum clause extension = Ext_U | ||
// Vector Operations | ||
enum clause extension = Ext_V | ||
// Atomic Memory Operations | ||
enum clause extension = Ext_Zaamo | ||
// Byte and Halfword Atomic Memory Operations | ||
enum clause extension = Ext_Zabha | ||
// Load-Reserved/Store-Conditional Instructions | ||
enum clause extension = Ext_Zalrsc | ||
// Bit Manipulation: Address generation | ||
enum clause extension = Ext_Zba | ||
// Bit Manipulation: Basic bit-manipulation | ||
enum clause extension = Ext_Zbb | ||
// Bit Manipulation: Carry-less multiplication | ||
enum clause extension = Ext_Zbc | ||
// Bit Manipulation: Bit-manipulation for Cryptography | ||
enum clause extension = Ext_Zbkb | ||
// Bit Manipulation: Carry-less multiplication for Cryptography | ||
enum clause extension = Ext_Zbkc | ||
// Bit Manipulation: Crossbar permutations | ||
enum clause extension = Ext_Zbkx | ||
// Bit Manipulation: Single-bit instructions | ||
enum clause extension = Ext_Zbs | ||
// Code Size Reduction: compressed instructions excluding floating point loads and stores | ||
enum clause extension = Ext_Zca | ||
// Code Size Reduction: additional 16-bit aliases | ||
enum clause extension = Ext_Zcb | ||
// Core Size Reduction: compressed double precision floating point loads and stores | ||
enum clause extension = Ext_Zcd | ||
// Core Size Reduction: compressed single precision floating point loads and stores | ||
enum clause extension = Ext_Zcf | ||
// Floating-Point in Integer Registers (double precision) | ||
enum clause extension = Ext_Zdinx | ||
// Additional Floating-Point Instructions | ||
enum clause extension = Ext_Zfa | ||
// Half-Precision Floating-Point | ||
enum clause extension = Ext_Zfh | ||
// Minimal Half-Precision Floating-Point | ||
enum clause extension = Ext_Zfhmin | ||
// Floating-Point in Integer Registers (single precision) | ||
enum clause extension = Ext_Zfinx | ||
// Floating-Point in Integer Registers (half precision) | ||
enum clause extension = Ext_Zhinx | ||
// Cache-Block Management Instructions | ||
enum clause extension = Ext_Zicbom | ||
// Cache-Block Zero Instructions | ||
enum clause extension = Ext_Zicboz | ||
// Integer Conditional Operations | ||
enum clause extension = Ext_Zicond | ||
// Instruction-Fetch Fence | ||
enum clause extension = Ext_Zifencei | ||
// Hardware Performance Counters | ||
enum clause extension = Ext_Zihpm | ||
// Scalar & Entropy Source Instructions: NIST Suite: AES Decryption | ||
enum clause extension = Ext_Zknd | ||
// Scalar & Entropy Source Instructions: NIST Suite: AES Encryption | ||
enum clause extension = Ext_Zkne | ||
// Scalar & Entropy Source Instructions: NIST Suite: Hash Function Instructions | ||
enum clause extension = Ext_Zknh | ||
// Scalar & Entropy Source Instructions: Entropy Source Extension | ||
enum clause extension = Ext_Zkr | ||
// Scalar & Entropy Source Instructions: ShangMi Suite: SM4 Block Cipher Instructions | ||
enum clause extension = Ext_Zksed | ||
// Scalar & Entropy Source Instructions: ShangMi Suite: SM3 Hash Cipher Instructions | ||
enum clause extension = Ext_Zksh | ||
// Multiplication and Division: Multiplication only | ||
enum clause extension = Ext_Zmmul |
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.