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

dank at kegel dot com gcc-bugzilla@gcc.gnu.org
Sun May 2 00:04:00 GMT 2004


Compile the attached file z.i with -O -fcall-used-g6 -save-temps,
and you should see
z.s:174: Error: Illegal operands: There are only 32 single precision f
registers; [0-31]
Here are lines 172 to 180 of the resulting z.s,
not sure which line it's complaining about (gas
seems to get line numbers wrong):

    172         fcmped  %fcc1, %f32, %f10
    173         fmovd   %f8, %f10
    174         fmovdg  %fcc1, %f32, %f10
    175         fzero   %f8
    176         fcmped  %fcc1, %f12, %f8
    177         fbule,pt %fcc1, .LL11
    178         fsubd   %f32, %f12, %f14
    179         fcmped  %fcc2, %f10, %f12
    180         fbg,a,pt %fcc2, .LL17

-- 
           Summary: gas complains "There are only 32 single precision f
                    registers; [0-31]"  when compiling glibc-
                    2.3.2/math/dosincos.c
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dank at kegel dot com
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: sparc64-linux


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



More information about the Gcc-bugs mailing list