Re: [patch, arm] fix bug in long long divide-by-zero handling

2015-02-17 Thread Ramana Radhakrishnan
On Fri, Jan 23, 2015 at 2:07 AM, Sandra Loosemore wrote: > The ARM run-time ABI says that long long division by zero should return the > result of calling __aeabi_ldiv0 with an argument that is either zero if the > numerator is zero, the largest value of the type if the numerator is > positive, or

Re: [patch, arm] fix bug in long long divide-by-zero handling

2015-01-23 Thread Sandra Loosemore
On 01/23/2015 10:06 AM, Mike Stump wrote: On Jan 22, 2015, at 6:07 PM, Sandra Loosemore wrote: The ARM run-time ABI says that long long division by zero should return the result This isn't a regression (AFAICT, this has never worked properly), so I don't know if it's appropriate to consider

Re: [patch, arm] fix bug in long long divide-by-zero handling

2015-01-23 Thread Mike Stump
On Jan 22, 2015, at 6:07 PM, Sandra Loosemore wrote: > The ARM run-time ABI says that long long division by zero should return the > result > This isn't a regression (AFAICT, this has never worked properly), so I don't > know if it's appropriate to consider this for trunk at this time. So, the

[patch, arm] fix bug in long long divide-by-zero handling

2015-01-22 Thread Sandra Loosemore
The ARM run-time ABI says that long long division by zero should return the result of calling __aeabi_ldiv0 with an argument that is either zero if the numerator is zero, the largest value of the type if the numerator is positive, or the smallest value of the type if the numerator is negative.