Re: [PATCH 1/2] Match:Support signed imm SAT_ADD form1
On Wed, Nov 6, 2024 at 4:06 AM Li Xu wrote: > > From: xuli > > This patch would like to support .SAT_ADD when one of the op > is singed IMM. > > Form1: > T __attribute__((noinline)) \ > sat_s_add_imm_##T##_fmt_1##_##INDEX (T x) \ > {
[PATCH 1/2] Match:Support signed imm SAT_ADD form1
From: xuli This patch would like to support .SAT_ADD when one of the op is singed IMM. Form1: T __attribute__((noinline)) \ sat_s_add_imm_##T##_fmt_1##_##INDEX (T x) \ {\ T sum = (UT)x + (UT)IMM; \ r