Google
  Web www.spinics.net

Can a C function return TWO integers in registers on MIPS?

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


Hi All,

I'm writing code in C language for MIPS execption handler.
There is a function which returns two integers. For optimizing
the performance, I want gcc to generate code where these two integers
are returned in registers v0 & v1, instead of in memory.
Can gcc do this?

-------------
Best Regards,
PRC
Aug 28, 2008

[Linux C Programming]     [C Programming]     [Kernel List]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]     [C++ How to Program]

Add to Google