mirror of
https://github.com/gcc-mirror/gcc.git
synced 2024-11-21 13:40:47 +00:00
arm: [MVE intrinsics] Add support for predicated contiguous loads and stores
This patch extends function_expander::use_contiguous_load_insn and function_expander::use_contiguous_store_insn functions to support predicated versions. 2024-09-11 Alfie Richards <Alfie.Richards@arm.com> Christophe Lyon <christophe.lyon@arm.com> gcc/ * config/arm/arm-mve-builtins.cc (function_expander::use_contiguous_load_insn): Add support for PRED_z. (function_expander::use_contiguous_store_insn): Add support for PRED_p.
This commit is contained in:
parent
52e36cde0f
commit
16ee5c64e6
@ -2327,6 +2327,8 @@ function_expander::use_contiguous_load_insn (insn_code icode)
|
||||
|
||||
add_output_operand (icode);
|
||||
add_mem_operand (mem_mode, get_contiguous_base ());
|
||||
if (pred == PRED_z)
|
||||
add_input_operand (icode, args[1]);
|
||||
return generate_insn (icode);
|
||||
}
|
||||
|
||||
@ -2339,6 +2341,8 @@ function_expander::use_contiguous_store_insn (insn_code icode)
|
||||
|
||||
add_mem_operand (mem_mode, get_contiguous_base ());
|
||||
add_input_operand (icode, args[1]);
|
||||
if (pred == PRED_p)
|
||||
add_input_operand (icode, args[2]);
|
||||
return generate_insn (icode);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user