https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121624

--- Comment #4 from Kaloian Doganov <kaloian at doganov dot org> ---
Just sent the copyright assignment form to ass...@gnu.org.

Regarding the implementation, I expect it to work only for simple single-value
floating point types.  This is definitely less than what's required by the
Objective-C method invocation semantics, but it is still better than before.

Ideally, to support structures that are passed via registers, nil_method should
be implemented in assembly for each target architecture.

Alternatively, if it is easier to do it in C, I imagine one could rework
clear_fp_result_register to return a specially crafted struct type that employs
all registers used to pass small structs for the target architecture.  Since
this is architecture-specific, the fields of this struct would be heavily
#ifdef'ed for each architecture.

Reply via email to