This is the mail archive of the gcc@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]

Re: PowerPC Floating Point compare bug?


David Edelsohn <dje@watson.ibm.com> writes:

> 	The difference is the use of the PowerPC Floating-Point Select
> instruction in combination with float/double.

Yes.  Specifically, it's the code sequence fsel/fneg/fsel that gets
emitted for a comparison; GCC is emitting it wrongly.

-- 
- Geoffrey Keating <geoffk@geoffk.org>


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