Re: Storing 64-bit result on ARM using inline assembly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Leonitis wrote:
> 
> Andrew Haley wrote:
>> Please send a test case that displays the problem.
>> The test you just sent doesn't even compile for me.
>>
> 
> Sorry about that. While typing the post, I was changing some variable names
> to avoid confusion and the edit to the mistake was not submitted to the
> mailing list.
> 
> I ran the test that you wrote up and here's what happens:
> 
> For no optimization, -O2, and -O3:
> 3fffffff
> 3fffffff00000001
> 
> For -O:
> 3fffffff00000001
> 3fffffff00000001
> 
> With the test I was running before, -O2 was the only one that didn't work.
> 
> I'm beginning to suspect an alignment issue. Again, STRD requires the target
> address to be 8-byte aligned.

Could be.  Was this with exactly the test code I posted, no changes?

Andrew.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux