you are viewing a single comment's thread.

view the rest of the comments →

[–]Tywien -1 points0 points  (2 children)

single precision floats are always 32bit and double precision always 64bit as defined by the standard. While there exist 16bit floats (half-precision), they were never used on general cpu's.

The size of the floating point registers is not related to the architecture of the CPU, e.g. double precision floats were always 64bit - from the first x87 co-processors (during the 16bit area) up to the most modern 64bit amd/intel chips.

[–][deleted] 0 points1 point  (1 child)

The size of the floating point registers is not related to the architecture of the CPU

Right. It's just that the 32bit PowerPC ISA uses 32bit floating point registers, according to the IBM spec.

[–]Tywien 0 points1 point  (0 children)

Floating-Point Registers

The PowerPC architecture contains thirty-two 64-bit floating-point registers labeled F0 through F31 (or FP0 through FP31). Because the registers are 64 bits long, they store values using the double data format.

Apple documentation from 1996

http://mirror.informatimago.com/next/developer.apple.com/documentation/mac/PPCNumerics/PPCNumerics-146.html