Re: [PATCH v1 1/2] Match: Support form 2 for scalar signed integer SAT_TRUNC

2024-10-11 Thread Richard Biener
On Wed, Oct 9, 2024 at 5:30 AM wrote: > > From: Pan Li > > This patch would like to support the form 2 of the scalar signed > integer SAT_TRUNC. Aka below example: > > Form 2: > #define DEF_SAT_S_TRUNC_FMT_2(NT, WT, NT_MIN, NT_MAX) \ > NT __attribute__((noinline)) \

[PATCH v1 1/2] Match: Support form 2 for scalar signed integer SAT_TRUNC

2024-10-08 Thread pan2 . li
From: Pan Li This patch would like to support the form 2 of the scalar signed integer SAT_TRUNC. Aka below example: Form 2: #define DEF_SAT_S_TRUNC_FMT_2(NT, WT, NT_MIN, NT_MAX) \ NT __attribute__((noinline)) \ sat_s_trunc_##WT##_to_##NT##_fmt_2 (WT x)