Re: [PATCH] PR rtl-optimization/7061: Complex number arguments on x86_64-like ABIs.

2022-06-01 Thread Jeff Law via Gcc-patches
On 5/30/2022 4:06 AM, Roger Sayle wrote: This patch addresses the issue in comment #6 of PR rtl-optimization/7061 (a four digit PR number) from 2006 where on x86_64 complex number arguments are unconditionally spilled to the stack. For the test cases below: float re(float _Complex a) { return

[PATCH] PR rtl-optimization/7061: Complex number arguments on x86_64-like ABIs.

2022-05-30 Thread Roger Sayle
This patch addresses the issue in comment #6 of PR rtl-optimization/7061 (a four digit PR number) from 2006 where on x86_64 complex number arguments are unconditionally spilled to the stack. For the test cases below: float re(float _Complex a) { return __real__ a; } float im(float _Complex a) { r