[llvm-dev] TI 59 backend

Friedman, Eli via llvm-dev
Wed, 14 Mar 2018 19:10:55 -0000

On 3/14/2018 12:05 PM, philippe.tivolle at free.fr
wrote:
> Hello Bruce and Eli,
>
> Yes, you are definitely right: indirect access to registers is possible
through IND XX instruction. So, no worry on that side.

Oh, okay, I didn't look closely.
> My concern is about STO instruction description in TI59InstrInfo.td file.
It looks impossible to me to categorize this instruction as a
"classical" N-bytes long instruction (as N fully depends on the value
you want to store). Could it be a show stopper to implement a backend ?
It should be easy to handle: just treat it as three different
instructions, each of which has a fixed size.

-Eli

--
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux
Foundation Collaborative Project