[PATCH] - Use of powerpc 64bit instructions in 32bit ABI
Eric Botcazou
ebotcazou@libertysurf.fr
Tue Dec 2 18:50:00 GMT 2003
> I can try to look at the number of elements of the rtvec.
Thanks.
> Your second suggestion contradicts the purpose of the change
> explained in the comment: "Objects the size of a register can be combined
> in registers."
Then I'd suggest to clarify the comment, using....
> This specifically change is trying to optimize the case where a 64-bit or
> larger object is passed in multiple 32-bit blocks (due to the ABI), but
> will operate on the object within the function in a wider mode. The
> compiler should combine the blocks using register operations, not memory
> operations. Without the change, GCC would choose to use the
> stack to reconstitute the object, which is inefficient on modern
> architectures. The standard example is "long long", but this also can and
> should apply to 128-bit TImode on PPC64, as well as other architectures.
...this clear explanation as the basis.
--
Eric Botcazou
More information about the Gcc-patches
mailing list