This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc port based on MIPS
"kernel coder" <lhrkernelcoder@gmail.com> writes:
> > V2SF will be created by the line
> > VECTOR_MODES (FLOAT, 8);
>
> Yes you are absolutely right.When i changed the name of file
> ABC-modes.def to 1ABC-modes.def ,i got the following error
>
> make[1]: *** No rule to make target
> `../../gcc-4.1.0/gcc/config/ABC/ABC-modes.def', needed by
> `build/genmodes.o'. Stop.
> This shows that ABC-modes.def is being used and it has the required macro
>
> VECTOR_MODES (FLOAT, 8);
>
> Then why still the following error is being generated.
>
> > > ../../gcc-4.1.0/gcc/config/ABC/ABC.md: unknown mode `V2SF'
I don't know. You'll have to debug it.
> As far as my changes to ABC.md file are concerned .They are as fellows
>
> (define_mode_macro ANYF [(SF "TARGET_HARD_FLOAT")
> (DF "TARGET_HARD_FLOAT && TARGET_DOUBLE_FLOAT")])
> ;; (V2SF "TARGET_PAIRED_SINGLE_FLOAT")])
>
> - - - - - -- - - - - - - - - -
> -- - - - - - - - - -- - - - -
> (define_mode_attr divide_condition
> [DF (SF "!TARGET_FIX_SB1 || flag_unsafe_math_optimizations")])
> ;; (V2SF "TARGET_SB1 && (!TARGET_FIX_SB1 ||
> flag_unsafe_math_optimizations)")])
>
>
> As you can see i just omitted the entries of V2SF.
I hope that isn't really what you did, since that would comment out
the "])" close brackes in each case.
Ian