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

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

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

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