Re: gcc port based on MIPS

2006-06-29 Thread Ian Lance Taylor
"kernel coder" <[EMAIL PROTECTED]> writes: > thanks,There is a macro LEGITIMIZE_RELOAD_ADDRESS.Accroding to gcc internals > "It is a C compound statement that attempts to replace x, which is an > address that needs > reloading, with a valid memory address for an operand of mode mode. > win will be

Re: gcc port based on MIPS

2006-06-27 Thread kernel coder
thanks,There is a macro LEGITIMIZE_RELOAD_ADDRESS.Accroding to gcc internals "It is a C compound statement that attempts to replace x, which is an address that needs reloading, with a valid memory address for an operand of mode mode. win will be a C statement label elsewhere in the code". I'm not

Re: gcc port based on MIPS

2006-06-20 Thread Ian Lance Taylor
"kernel coder" <[EMAIL PROTECTED]> writes: > > ../../gcc-4.1.0/gcc/config/ABC/ABC.md:228: unknown value > > `' for `mode' attribute > > ../../gcc-4.1.0/gcc/config/ABC/ABC.md:228: unknown value > > `' for `mode' attribute > > Sorry,these errors were just my mistake.I mistakenly comminted out the >

Re: gcc port based on MIPS

2006-06-20 Thread kernel coder
../../gcc-4.1.0/gcc/config/ABC/ABC.md:228: unknown value `' for `mode' attribute ../../gcc-4.1.0/gcc/config/ABC/ABC.md:228: unknown value `' for `mode' attribute Sorry,these errors were just my mistake.I mistakenly comminted out the following line in ABC.md file (define_mode_attr UNITMODE [(SF

Re: gcc port based on MIPS

2006-06-19 Thread Andrew Pinski
> > "kernel coder" <[EMAIL PROTECTED]> writes: > > > (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 en

Re: gcc port based on MIPS

2006-06-19 Thread Ian Lance Taylor
"kernel coder" <[EMAIL PROTECTED]> 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.

Re: gcc port based on MIPS

2006-06-19 Thread kernel coder
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'.

Re: gcc port based on MIPS

2006-06-19 Thread Ian Lance Taylor
"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.