What rules should be followed when passing values with libcall?

2020-11-08 Thread gengqi via Gcc
I’m woking on TARGET_PROMOTE_FUNCTION_MODE for csky, and now there’s some confusion. For csky, the “POMOTE_MODE” is: qi/hi -> si the code is #define PROMOTE_MODE(MODE, UNSIGNEDP, TYPE) \ if (GET_MODE_CLASS (MODE) == MODE_INT \ && GET_MODE_SIZE (MODE) < UNITS_PER_WORD) \ (MO

How about providing an interface to fusing instructions via scheduling

2021-09-03 Thread gengqi via Gcc
When I was adding pipeline to my backend, some instructions needed to be fused and I found that there was no suitable interface to implement my requirements. My hope is that 1. Do instruction scheduling and combine any two instructions, and sometimes the two instructions can be treated as 1 wh

答复: How about providing an interface to fusing instructions via scheduling

2021-09-06 Thread gengqi via Gcc
oviding an interface to fusing instructions via scheduling Hi, > -Original Message- > From: Gcc On Behalf > Of gengqi via Gcc > Sent: 03 September 2021 11:56 > To: gcc@gcc.gnu.org > Subject: How about providing an interface to fusing instructions via > scheduling >