Re: [PATCH v1 1/4] RISC-V: Add testcases for form 5 of scalar signed SAT_TRUNC

2024-10-10 Thread 钟居哲
lgtm juzhe.zh...@rivai.ai From: pan2.li Date: 2024-10-10 16:33 To: gcc-patches CC: juzhe.zhong; kito.cheng; jeffreyalaw; rdapp.gcc; Pan Li Subject: [PATCH v1 1/4] RISC-V: Add testcases for form 5 of scalar signed SAT_TRUNC From: Pan Li Form 5: #define DEF_SAT_S_TRUNC_FMT_5(NT, WT

[PATCH v1 1/4] RISC-V: Add testcases for form 5 of scalar signed SAT_TRUNC

2024-10-10 Thread pan2 . li
From: Pan Li Form 5: #define DEF_SAT_S_TRUNC_FMT_5(NT, WT, NT_MIN, NT_MAX) \ NT __attribute__((noinline)) \ sat_s_trunc_##WT##_to_##NT##_fmt_5 (WT x) \ { \ NT trunc = (NT)x;