Re: added some assert checks in hard-reg-set.h

2011-07-25 Thread Paolo Bonzini
On Mon, Jul 25, 2011 at 21:03, Dimitrios Apostolou wrote: >        * hard-reg-set.h (TEST_HARD_REG_BIT, SET_HARD_REG_BIT, > CLEAR_HARD_REG_BIT): Added some assert checks for test, set and clear > operations of HARD_REG_SETs, enabled when RTL checks are on. Runtime > overhead was measured as neglig

added some assert checks in hard-reg-set.h

2011-07-25 Thread Dimitrios Apostolou
Hello list, the attached patch was tested on i386, and measured to have almost no overhead in runtime, when RTL checks are enabled: Instruction Count before: 2328.6 M Instruction Count after: 2334.4 M which translates to some milliseconds, well within noise area. Changelog: 2011-07-25 Di