Re: [PATCH 1/2] aarch64: Use standard names for saturating arithmetic

2024-10-23 Thread Richard Sandiford
Akram Ahmad writes: > On 23/10/2024 12:20, Richard Sandiford wrote: >> Thanks for doing this. The approach looks good. My main question is: >> are we sure that we want to use the Advanced SIMD instructions for >> signed saturating SI and DI arithmetic on GPRs? E.g. for addition, >> we only satu

Re: [PATCH 1/2] aarch64: Use standard names for saturating arithmetic

2024-10-23 Thread Akram Ahmad
On 23/10/2024 12:20, Richard Sandiford wrote: Thanks for doing this. The approach looks good. My main question is: are we sure that we want to use the Advanced SIMD instructions for signed saturating SI and DI arithmetic on GPRs? E.g. for addition, we only saturate at the negative limit if bot

Re: [PATCH 1/2] aarch64: Use standard names for saturating arithmetic

2024-10-23 Thread Richard Sandiford
Richard Sandiford writes: > Akram Ahmad writes: >> This renames the existing {s,u}q{add,sub} instructions to use the >> standard names {s,u}s{add,sub}3 which are used by IFN_SAT_ADD and >> IFN_SAT_SUB. >> >> The NEON intrinsics for saturating arithmetic and their corresponding >> builtins are cha

Re: [PATCH 1/2] aarch64: Use standard names for saturating arithmetic

2024-10-23 Thread Richard Sandiford
Akram Ahmad writes: > This renames the existing {s,u}q{add,sub} instructions to use the > standard names {s,u}s{add,sub}3 which are used by IFN_SAT_ADD and > IFN_SAT_SUB. > > The NEON intrinsics for saturating arithmetic and their corresponding > builtins are changed to use these standard names to

[PATCH 1/2] aarch64: Use standard names for saturating arithmetic

2024-10-18 Thread Akram Ahmad
This renames the existing {s,u}q{add,sub} instructions to use the standard names {s,u}s{add,sub}3 which are used by IFN_SAT_ADD and IFN_SAT_SUB. The NEON intrinsics for saturating arithmetic and their corresponding builtins are changed to use these standard names too. Using the standard names for