Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions spec/schemas/inst_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -330,8 +330,19 @@
"description": "Detailed description of the instruction"
},
"definedBy": {
"$ref": "schema_defs.json#/$defs/requires_entry",
"description": "Extension(s) that defines the instruction"
"description": "Extension(s) that define the instruction. Can be per-base (RV32/RV64) or a single set for both.",
"oneOf": [
{ "$ref": "schema_defs.json#/$defs/requires_entry" },
{
"type": "object",
"properties": {
"RV32": { "$ref": "schema_defs.json#/$defs/requires_entry" },
"RV64": { "$ref": "schema_defs.json#/$defs/requires_entry" }
},
"required": ["RV32", "RV64"],
"additionalProperties": false
}
]
},

"hints": {
Expand Down
Loading