Re: -freg-struct-return?

From: H. Peter Anvin
Date: Thu Feb 22 2007 - 11:46:23 EST


Andi Kleen wrote:

I didn't think we had any that returned structures.


Sometimes returning small structures is really nice. If you can pass them in registers, it's often generates the fastest possible code; much better than using a pointer.

-hpa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/