RE: help understanding behaviour of unsuffixed float constants

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Agree result is the same - just in a non-compliant-ey type of way. (opcodes are just my means of looking under the compiler hood to understand the compiler behaviour.) 

-----Original Message-----
From: Jonathan Wakely [mailto:jwakely.gcc@xxxxxxxxx] 
Sent: Wednesday, May 28, 2014 2:30 PM
To: Regan, Brian (EPC COE)
Cc: Jakub Jelinek; gcc-help@xxxxxxxxxxx
Subject: Re: help understanding behaviour of unsuffixed float constants

On 28 May 2014 19:10, Regan, Brian (EPC COE) wrote:
> (Note, at address 18000e4, objdump did not decode the SPE instruction 
> correctly. The opcode is the single precision less than in the ppc SPE 
> extension.)

The C standard doesn't say anything about which opcodes an expression must be compiled to.

Doesn't the single precision one give the same result for 100.f < 200.f as you would get for 100. < 200. ? If so, there is no "deviation" from the standard.





[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux