Re: [PATCH v1 5/5] RISC-V: Add testcases for scalar unsigned SAT_ADD form 5

2024-06-02 Thread juzhe.zh...@rivai.ai
LGTM. Thanks. juzhe.zh...@rivai.ai From: pan2.li Date: 2024-06-03 11:09 To: gcc-patches CC: juzhe.zhong; kito.cheng; Pan Li Subject: [PATCH v1 5/5] RISC-V: Add testcases for scalar unsigned SAT_ADD form 5 From: Pan Li After the middle-end support the form 5 of unsigned SAT_ADD and the RISC

[PATCH v1 5/5] RISC-V: Add testcases for scalar unsigned SAT_ADD form 5

2024-06-02 Thread pan2 . li
From: Pan Li After the middle-end support the form 5 of unsigned SAT_ADD and the RISC-V backend implement the scalar .SAT_ADD, add more test case to cover the form 5 of unsigned .SAT_ADD. Form 5: #define SAT_ADD_U_5(T) \ T sat_add_u_5_##T(T x, T y) \ { \ return (T)(x + y) < x ? -1 :