This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]