This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[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
- From: "dank at kegel dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 May 2004 00:04:25 -0000
- Subject: [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
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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