HW subregs in machine description

2017-01-24 Thread Dimitar Dimitrov
Hello, I'm a newbie working on a GCC port [1] for PRU [2]. In order to achieve ABI compatibility with the proprietary TI toolchain, I need my Machine Description to support HW register subfields as indipendent first-class registers. I could not find a relevant example in the GCC source. Looks l

Re: HW subregs in machine description

2017-01-24 Thread Nathan Sidwell
On 01/24/2017 03:24 PM, Dimitar Dimitrov wrote: Currently I'm attempting to describe the 8-bit PRU subregisters as the "real" target register set, and then work on defining 16-bit and 32-bit ALU operations. But I'm not sure if that would be efficient for a 32-bit PRU target, or feasible at al