This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/31249] pseudo-optimzation with sincos/cexpi



------- Comment #1 from pinskia at gcc dot gnu dot org  2007-03-18 09:49 -------
The only reason why cexp is slow on PPC darwin is because the ABI is stupid. 
Complex float arguments are passed via the GPR and returned also the same way
instead of via the FPRs.  So you will get a transfer of registers.  This is
also true of PPC64 darwin, why they made the same mistake twice I have no idea,
guess they did not expect people to use complex that much.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31249


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]