"kernel coder" <[EMAIL PROTECTED]> writes: > But when i issued the make all-gcc command .Following error occured > > ../../gcc-4.1.0/gcc/config/ABC/ABC.md: unknown mode `V2SF' > > Would u please explain why this error is being generated.Also a bit of > explaination of 'V2SF' mode will helpful.
V2SF should normally be defined by ABC/ABC-modes.def. It is normally found by these lines in config.gcc when you run configure: if test -f ${srcdir}/config/${cpu_type}/${cpu_type}-modes.def then extra_modes=${cpu_type}/${cpu_type}-modes.def fi V2SF will be created by the line VECTOR_MODES (FLOAT, 8); in ABC-modes.def (as copied from mips-modes.def). > Then i removed the 'V2SF' mode from patterns in ABC.md file.But now > following error was generated. > > ../../gcc-4.1.0/gcc/config/ABC/ABC.md:228: unknown value > `<ANYF:UNITMODE>' for `mode' attribute > ../../gcc-4.1.0/gcc/config/ABC/ABC.md:228: unknown value > `<ANYF:UNITMODE>' for `mode' attribute > ../../gcc-4.1.0/gcc/config/ABC/ABC.md:228: unknown value `<UNITMODE>' > for `mode' attribute > ../../gcc-4.1.0/gcc/config/ABC/ABC.md:228: unknown value `<UNITMODE>' > for `mode' attribute > > > Would you please tell me why this error is being generated. Hard to say without knowing what you changed. Did you simply delete the ANYF macro, or forget to remove the V2SF case from it? MD file macros are documented here: http://gcc.gnu.org/onlinedocs/gccint/Macros.html Ian