[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] Incorrect function call code on ARMv6
From: |
Balazs Kezes |
Subject: |
Re: [Tinycc-devel] Incorrect function call code on ARMv6 |
Date: |
Thu, 25 Aug 2016 10:06:51 +0100 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
On 2016-08-11 09:24 +0100, Balazs Kezes wrote:
> I think it's just that that copy_params() never restores the spilled
> registers. Maybe it needs some extra code at the end to see if any
> parameters have been spilled to stack and then restore them?
I've spent some time on this and I've found an alternative solution.
Although I'm not entirely sure about it but I've attached a patch
nevertheless.
And while poking at that I've found another problem affecting the
unsigned long long division on arm and I've attached a patch for that
too.
More details in the patches themselves. Please review and consider them
for merging! Thank you!
--
Balazs
0001-Fix-slow-unsigned-long-long-division-on-ARM.patch
Description: Text Data
0002-Fix-long-long-dereference-during-argument-passing-on.patch
Description: Text Data