Re: [committed] Work around bug in powf function on HP-UX

2013-03-10 Thread John David Anglin
On 18-Feb-13, at 11:45 AM, John David Anglin wrote: 2013-02-18 John David Anglin PR target/56347 * config/pa/pa.c (pa_conditional_register_usage): On HP-UX, mark registers %fr12 and %fr12R as call used. I committed the attached change. It no longer unconditionally

[committed] Work around bug in powf function on HP-UX

2013-02-18 Thread John David Anglin
The powf function on HP-UX incorrectly clobbers floating point register %fr12. It is supposed to be saved and restored by callee. The patch marks the register(s) as call used on HP-UX. We still save and restore the register is the prologue/epilogue, so the runtime isn't changed. Tested on hppa2