RE: [PATCH v1] Vect: Support IFN SAT_TRUNC for unsigned vector int

2024-07-02 Thread Li, Pan2
...@gmail.com; rdapp@gmail.com Subject: RE: [PATCH v1] Vect: Support IFN SAT_TRUNC for unsigned vector int Hi Pan, Ah so this is doing the same code as in match_unsigned_saturation_trunc inside the vectorizer? Looks good to me but can't approve, could you however also place the same comment about

RE: [PATCH v1] Vect: Support IFN SAT_TRUNC for unsigned vector int

2024-07-02 Thread Tamar Christina
Li > Subject: [PATCH v1] Vect: Support IFN SAT_TRUNC for unsigned vector int > > From: Pan Li > > This patch would like to support the .SAT_TRUNC for the unsigned > vector int. Given we have below example code: > > Form 1 > #define VEC_DEF_SAT_U_TRUC_FMT_1(NT, WT)

[PATCH v1] Vect: Support IFN SAT_TRUNC for unsigned vector int

2024-07-02 Thread pan2 . li
From: Pan Li This patch would like to support the .SAT_TRUNC for the unsigned vector int. Given we have below example code: Form 1 #define VEC_DEF_SAT_U_TRUC_FMT_1(NT, WT) \ void __attribute__((noinline)) \ vec_sat_u_truc_#