Displaying 9 results from an estimated 9 matches for "fsr16".
Did you mean:
fsr1
2008 Oct 18
2
[LLVMdev] INSERT_SUBREG node.
...around.
> >
> > We have 16-bit registers class and want to set both the lo and high
> > parts using INSERT_SUBREG.
> >
> > The workaround is to declare the same SubRegClass twice while
> > declaring
> > the SuperRegisterClass. i.e.
> >
> > def FSR16: RegisterClass <"PIC16", [i16], 8, [FSR0, FSR1]> {
> > let SubRegClassList = [FSR8, FSR8]; // HERE.
> > }
>
> This is a bug, probably in tablegen. Unfortunately I don't have the
> time to fix it. But please file a bug about this. Hopefully someone
&g...
2008 Oct 20
0
[LLVMdev] INSERT_SUBREG node.
...>> We have 16-bit registers class and want to set both the lo and high
>>> parts using INSERT_SUBREG.
>>>
>>> The workaround is to declare the same SubRegClass twice while
>>> declaring
>>> the SuperRegisterClass. i.e.
>>>
>>> def FSR16: RegisterClass <"PIC16", [i16], 8, [FSR0, FSR1]> {
>>> let SubRegClassList = [FSR8, FSR8]; // HERE.
>>> }
>>
>> This is a bug, probably in tablegen. Unfortunately I don't have the
>> time to fix it. But please file a bug about this. Hopefull...
2008 Oct 20
2
[LLVMdev] INSERT_SUBREG node.
...gt; > > > high
> > > > parts using INSERT_SUBREG.
> > > >
> > > > The workaround is to declare the same SubRegClass twice while
> > > > declaring
> > > > the SuperRegisterClass. i.e.
> > > >
> > > > def FSR16: RegisterClass <"PIC16", [i16], 8, [FSR0, FSR1]> {
> > > > let SubRegClassList = [FSR8, FSR8]; // HERE.
> > > > }
> > >
> > > This is a bug, probably in tablegen. Unfortunately I don't have
> > > the
> > > time to...
2008 Oct 15
3
[LLVMdev] INSERT_SUBREG node.
...aking
> use of insert_subreg, no?
>
> Evan
>
it is, though we have a workaround.
We have 16-bit registers class and want to set both the lo and high
parts using INSERT_SUBREG.
The workaround is to declare the same SubRegClass twice while declaring
the SuperRegisterClass. i.e.
def FSR16: RegisterClass <"PIC16", [i16], 8, [FSR0, FSR1]> {
let SubRegClassList = [FSR8, FSR8]; // HERE.
}
SubRegSet : <1, [FSR0, FSR1], [FSR0L, FSR0H]>;
SubRegSet : <2, [FSR0, FSR1], [FSR0H, FSR0L]>;
I think the fundamental problem we have there is that we are using
SubId...
2008 Oct 20
0
[LLVMdev] INSERT_SUBREG node.
...id not quite understand why this could be a tablegen bug?
>>
>>
>> Based on your comments. :-) It should be possible to specify two FSR0
>> sub-registers (FSR0L, FSR0H of the same register class FSR8) with the
>> workaround you described:
>>
>>
>> def FSR16: RegisterClass <"PIC16", [i16], 8, [FSR0, FSR1]> {
>> let SubRegClassList = [FSR8, FSR8]; // HERE.
>> }
>>
> It is currently possible.
I am confused. Is what you described in PR2916 an issue or not?
Evan
>
>
> - Sanjiv
>
>>
>> Evan
&...
2008 Oct 20
1
[LLVMdev] INSERT_SUBREG node.
...e a tablegen bug?
> >>
> >>
> >> Based on your comments. :-) It should be possible to specify two FSR0
> >> sub-registers (FSR0L, FSR0H of the same register class FSR8) with the
> >> workaround you described:
> >>
> >>
> >> def FSR16: RegisterClass <"PIC16", [i16], 8, [FSR0, FSR1]> {
> >> let SubRegClassList = [FSR8, FSR8]; // HERE.
> >> }
> >>
> > It is currently possible.
>
> I am confused. Is what you described in PR2916 an issue or not?
>
is specifying the same s...
2008 Oct 16
0
[LLVMdev] INSERT_SUBREG node.
...an
>>
> it is, though we have a workaround.
>
> We have 16-bit registers class and want to set both the lo and high
> parts using INSERT_SUBREG.
>
> The workaround is to declare the same SubRegClass twice while
> declaring
> the SuperRegisterClass. i.e.
>
> def FSR16: RegisterClass <"PIC16", [i16], 8, [FSR0, FSR1]> {
> let SubRegClassList = [FSR8, FSR8]; // HERE.
> }
This is a bug, probably in tablegen. Unfortunately I don't have the
time to fix it. But please file a bug about this. Hopefully someone
will fix it soon.
Thanks,...
2008 Oct 15
0
[LLVMdev] INSERT_SUBREG node.
...WithSubRegs<"FSR0", [FSR0H, FSR0L]>;
>>> def FSR1 : RegisterWithSubRegs<"FSR1", [FSR1H, FSR1L]>;
>>>
>>> def FSR8RC : RegisterClass<"PIC16", [i8], 8, [FSR0L, FSR0H, FSR0L,
>>> FSR1H]>;
>>>
>>> def FSR16RC : RegisterClass<"PIC16", [i16], 8, [FSR0, FSR1]> {
>>> let SubRegClassList = [FSR8RC];
>>> }
>>>
>>> in my case I want to insert two values, which are available in
>>> register
>>> types of FSR8RC, into a register type of FS...
2008 Oct 15
2
[LLVMdev] INSERT_SUBREG node.
...FSR0 : RegisterWithSubRegs<"FSR0", [FSR0H, FSR0L]>;
> > def FSR1 : RegisterWithSubRegs<"FSR1", [FSR1H, FSR1L]>;
> >
> > def FSR8RC : RegisterClass<"PIC16", [i8], 8, [FSR0L, FSR0H, FSR0L,
> > FSR1H]>;
> >
> > def FSR16RC : RegisterClass<"PIC16", [i16], 8, [FSR0, FSR1]> {
> > let SubRegClassList = [FSR8RC];
> > }
> >
> > in my case I want to insert two values, which are available in
> > register
> > types of FSR8RC, into a register type of FSR16RC.
> &g...