[aarch64-port-dev ] Weird thing in c1 compiler code

Andrew Dinn adinn at redhat.com
Mon Aug 18 13:49:43 UTC 2014


On 08/08/14 10:08, Andrew Haley wrote:
> On 07/08/14 21:59, Andrew Haley wrote:
>>> Specifically, why is the else if branch testing for T_DOUBLE?
>> It shouldn't be: AFAICS that case is unreachable.
> 
> Ah, but it might not be: it is possible to stash a double in an
> integer register.  That might be why it's there.

Ok, that does indeed make sense -- although the same case is not present
in the x86 code yet the same possibility is there with x86, no? (also,
mutatis mutandis, with a float value and an integer register).

I was just wondering if whoever added this case had a good reason why.
Ed, maybe?

regards,


Andrew Dinn
-----------



More information about the aarch64-port-dev mailing list