fix compilation on armebv7r-none-eabi
This commit is contained in:
parent
4efb6d5fd4
commit
6c0068d93f
3 changed files with 1748 additions and 1429 deletions
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -144,7 +144,7 @@ fn create_assigned_tuple_shuffle_call_fmt(
|
|||
array_lanes: &String,
|
||||
) -> String {
|
||||
format!(
|
||||
"{variable_name}.{idx} = simd_shuffle!({variable_name}.{idx}, {variable_name}.{idx}, {array_lanes});\n",
|
||||
"{variable_name}.{idx} = unsafe {{ simd_shuffle!({variable_name}.{idx}, {variable_name}.{idx}, {array_lanes}) }};\n",
|
||||
variable_name = variable_name,
|
||||
idx = idx,
|
||||
array_lanes = array_lanes
|
||||
|
|
@ -157,7 +157,7 @@ fn create_assigned_shuffle_call_fmt(
|
|||
array_lanes: &String,
|
||||
) -> String {
|
||||
format!(
|
||||
"let {variable_name}: {type_kind} = simd_shuffle!({variable_name}, {variable_name}, {array_lanes})",
|
||||
"let {variable_name}: {type_kind} = unsafe {{ simd_shuffle!({variable_name}, {variable_name}, {array_lanes}) }}",
|
||||
type_kind = type_kind.to_string(),
|
||||
variable_name = variable_name,
|
||||
array_lanes = array_lanes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue