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

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

 




Ian Lance Taylor-3 wrote:
> 
> How about this:
> 
> long long
> foo(int i, int j)
> {
>   return (long long) i * (long long) j;
> }
> 
> Seems to work for me, when optimizing.
> 
> Ian
> 

I did do that before going this route. The problem is that the compiler
branches to a set of instructions called __muldi3 during the multiplication
and I don't know how to view these instructions. I was going to create an
optimized instruction routine, as described in my original post, and then
run tests to see how the two compare.

Is there a way I can view __muldi3?

Thanks!
-- 
View this message in context: http://www.nabble.com/Storing-64-bit-result-on-ARM-using-inline-assembly-tp24296951p24305865.html
Sent from the gcc - Help mailing list archive at Nabble.com.


[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