Storing 64-bit result on ARM using inline assembly
Leonitis
rubixqb@gmail.com
Thu Jul 2 15:54:00 GMT 2009
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.
Thanks!
--
View this message in context: http://www.nabble.com/Storing-64-bit-result-on-ARM-using-inline-assembly-tp24296951p24309318.html
Sent from the gcc - Help mailing list archive at Nabble.com.
More information about the Gcc-help
mailing list