Left-shift data in register

I have trouble when compiling my p4 program in tna.
I want to left-shift data and write the result into the register. But I got the error information as follows.
“expression too complex for register action: reg_data = reg_data << LEFT_SHIFT;”

Can anyone give me some advice, please?
Thank you so much for your attention and participation.

Hello Kathy,

Welcome to the forum! You can find a lot of useful information here, especially if you use it search function. For example, a simple search on the “tna” keyword will immediately produce this post, that contains the necessary recommendations.

Happy hacking,
Vladimir

I also faced this issue. Have you solved it?

I think the answer is the same, which is to follow the link given by Vladimir in his answer, where you can find places on-line to ask for support on Tofino development.