Re: Enable EBX for x86 in 32bits PIC code

2014-07-07 Thread Evgeny Stupachenko
l 7, 2014 at 12:00 PM, Evgeny Stupachenko > wrote: >> Hi All, >> >> Currently GCC permanently reserves EBX as the GOT register. >> >> (config/i386/i386.c:4289) >> >> /* The PIC register, if it exists, is fixed. */ >>

Enable EBX for x86 in 32bits PIC code

2014-07-07 Thread Evgeny Stupachenko
Hi All, Currently GCC permanently reserves EBX as the GOT register. (config/i386/i386.c:4289) /* The PIC register, if it exists, is fixed. */ j = PIC_OFFSET_TABLE_REGNUM; if (j != INVALID_REGNUM) fixed_regs[j] = call_used_regs[j] = 1; This leads to significant per