Re: oddities in the moxie gcc backend

2017-01-16 Thread Anthony Green
Mikael Pettersson writes: > I have a toy backend based on the moxie backend as a template. During its > development I found some oddities in the moxie backend that may be bugs. > > 1. The REGNO_OK_FOR_INDEX_P(NUM) macro in moxie.h is: > > #define REGNO_OK_FOR_INDEX_P(NUM) MOXIE_FP > > Since MOXI

oddities in the moxie gcc backend

2017-01-15 Thread Mikael Pettersson
I have a toy backend based on the moxie backend as a template. During its development I found some oddities in the moxie backend that may be bugs. 1. The REGNO_OK_FOR_INDEX_P(NUM) macro in moxie.h is: #define REGNO_OK_FOR_INDEX_P(NUM) MOXIE_FP Since MOXIE_FP is 0, this returns false for every r