mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
intrinsic-test: update parsing for SVE intrinsics
With SVE intrinsics in the `arm_intrinsics.json`, the parsing needs to be updated to know to expect any new fields.
This commit is contained in:
@@ -12,6 +12,8 @@
|
||||
#[serde(deny_unknown_fields)]
|
||||
struct ReturnType {
|
||||
value: String,
|
||||
#[serde(rename = "element_bit_size")]
|
||||
_element_bit_size: Option<String>,
|
||||
}
|
||||
|
||||
#[derive(Deserialize, Debug)]
|
||||
@@ -50,6 +52,8 @@ struct JsonIntrinsic {
|
||||
args_prep: Option<HashMap<String, Value>>,
|
||||
#[serde(rename = "Architectures")]
|
||||
architectures: Vec<String>,
|
||||
#[serde(rename = "instructions")]
|
||||
_instructions: Option<Vec<Vec<String>>>,
|
||||
}
|
||||
|
||||
pub fn get_neon_intrinsics(
|
||||
|
||||
Reference in New Issue
Block a user