RE: [PATCH v1] Match: Support form 2 for the .SAT_TRUNC

2024-07-10 Thread Li, Pan2
Liu, Hongtao Subject: Re: [PATCH v1] Match: Support form 2 for the .SAT_TRUNC On Fri, Jul 5, 2024 at 2:48 PM wrote: > > From: Pan Li > > This patch would like to add form 2 support for the .SAT_TRUNC. Aka: > > Form 2: > #define DEF_SAT_U_TRUC_FMT_2(NT, WT) \ >

Re: [PATCH v1] Match: Support form 2 for the .SAT_TRUNC

2024-07-10 Thread Richard Biener
On Fri, Jul 5, 2024 at 2:48 PM wrote: > > From: Pan Li > > This patch would like to add form 2 support for the .SAT_TRUNC. Aka: > > Form 2: > #define DEF_SAT_U_TRUC_FMT_2(NT, WT) \ > NT __attribute__((noinline)) \ > sat_u_truc_##WT##_to_##NT##_fmt_2 (WT x) \ > {

[PATCH v1] Match: Support form 2 for the .SAT_TRUNC

2024-07-05 Thread pan2 . li
From: Pan Li This patch would like to add form 2 support for the .SAT_TRUNC. Aka: Form 2: #define DEF_SAT_U_TRUC_FMT_2(NT, WT) \ NT __attribute__((noinline)) \ sat_u_truc_##WT##_to_##NT##_fmt_2 (WT x) \ {\ bool overflow = x > (