Re: extending constants in rtl

2014-03-20 Thread Mike Stump
On Mar 17, 2014, at 8:36 PM, Mike Stump wrote: > So, to support things like this: > > (define_constants > (C1_TEMP_REGNUM PROLOGUE_SCRATCH_1) > (C1_TEMP2_REGNUM PROLOGUE_SCRATCH_2) > Absent a better solution, I’d like to pursue this. So, it turns out the patch won’

Re: extending constants in rtl

2014-03-18 Thread Richard Biener
On Tue, Mar 18, 2014 at 4:36 AM, Mike Stump wrote: > So, to support things like this: > > (define_constants >(C1_TEMP_REGNUM PROLOGUE_SCRATCH_1) >(C1_TEMP2_REGNUM PROLOGUE_SCRATCH_2) > > I need the rtl reader to do less checking. We we turn off int validation, >

extending constants in rtl

2014-03-17 Thread Mike Stump
So, to support things like this: (define_constants (C1_TEMP_REGNUM PROLOGUE_SCRATCH_1) (C1_TEMP2_REGNUM PROLOGUE_SCRATCH_2) I need the rtl reader to do less checking. We we turn off int validation, this then works, and we get: #define C1_TEMP_REGNUM PROLOGUE_SC