http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50186
--- Comment #1 from SK santoshkumar.a at gmail dot com 2011-08-25 10:33:22
UTC ---
Created attachment 25099
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=25099
build errors
build errors
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50186
--- Comment #3 from SK santoshkumar.a at gmail dot com 2011-08-25 11:53:59
UTC ---
Created attachment 25101
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=25101
do_mounts_rd.s
assembly file
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50186
--- Comment #2 from SK santoshkumar.a at gmail dot com 2011-08-25 11:53:17
UTC ---
Created attachment 25100
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=25100
intermidate file
intermidate file do_mounts_rd.i
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50186
--- Comment #4 from SK santoshkumar.a at gmail dot com 2011-08-25 11:59:11
UTC ---
Created attachment 25102
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=25102
cross compile script
cross compile script
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50186
--- Comment #5 from SK santoshkumar.a at gmail dot com 2011-08-25 12:02:09
UTC ---
at line 665 in do_mounts_rd.s mfcr 27,1 is a wrong instruction generated. As
per Power ISA™ Version 2.05 mfcr take only one argument i.e mfcr RT. Let me
know if i
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50186
--- Comment #6 from Jakub Jelinek jakub at gcc dot gnu.org 2011-08-25
12:05:46 UTC ---
That seems like your gcc is assuming -mmfcrf for your CPU, yet your assembler
can't assemble it (or is assembling for a CPU which doesn't have the mfcrf
insn).
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50186
Jakub Jelinek jakub at gcc dot gnu.org changed:
What|Removed |Added
CC||jakub at gcc dot
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50186
--- Comment #8 from Jakub Jelinek jakub at gcc dot gnu.org 2011-08-25
12:10:26 UTC ---
And 476 CPU according to rs6000-cpus.def should support that:
RS6000_CPU (476, PROCESSOR_PPC476,
POWERPC_BASE_MASK | MASK_SOFT_FLOAT |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50186
--- Comment #9 from SK santoshkumar.a at gmail dot com 2011-08-25 15:01:26
UTC ---
Just for checking i changed the instruction in .s file from mfcr 27,1 to
mfcr 27 and used the assembler to generate the binary there was no error
reported. Now i