[Bug target/15247] gas complains "There are only 32 single precision f registers; [0-31]" when compiling glibc-2.3.2/math/dosincos.c

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun May 2 00:15:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-02 00:15 -------
I want to say this is binutils bug from the sparc target header:
   SPARC has 32 integer registers and 32 floating point registers.
   64 bit SPARC has 32 additional fp regs, but the odd numbered ones are not
   accessible.  We still account for them to simplify register computations
   (eg: in CLASS_MAX_NREGS).  There are also 4 fp condition code registers, so
   32+32+32+4 == 100.
   Register 100 is used as the integer condition code register.
   Register 101 is used as the soft frame pointer register.  */

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |target
           Keywords|                            |wrong-code


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



More information about the Gcc-bugs mailing list