question in generating rtl code

2005-05-30 Thread zouq
in gcc-3.4.1 rtl can be generated when parsing the source program, for example, stmt: compstmt { stmt_count++; $$ = $1; } | expr ';' { stmt_count++; $$ = c_expand_expr_stmt ($1); } while in c_expand_body, rtl can also be generated . what are they

Re: some question about gc

2005-05-16 Thread zouq
i am sorry for that. zouq [EMAIL PROTECTED] writes: Please don't start a new thread by replying to a message on an existing thread. Just send a new message, instead. Otherwise your message goes in the wrong place for people who use threaded e-mail readers. yes, as you have suggested, i

Re: some question about gc

2005-05-16 Thread zouq
1. in the gt-c-decl.h, three functions about lang_decl, gt_pch_nx_lang_decl(),gt_ggc_mx_lang_decl, gt_pch_g_9lang_decl(), what are the differences between the three functions? 2. i can find the prefixes in the gengtype.c, what are they setting for? static const struct write_types_data ggc_wtd =

some question about gc

2005-05-15 Thread zouq
i am trying to port a front end to gcc, and i am confused with the gc, i see from the file gengtype.c, it can generate many files automaticlly, but i don`t understand the rule to generate it, i can only understand firstly use the yacc to analysize the gtfiles, then output something , and this is

Re: a question about peephole2

2005-05-13 Thread zouq
en,i still have a problem, the MAX_INSNS_PER_PEEP2 is 3, when the program case is : mul.d $f1, $f1, $f0 add.d $f2, $f2, $f1 sub.d $f3, $f3, $f2 sdc1 $f3, 0(v0) addiu v0, v0, 1 add.d $f3, $f4, $f2 sdc1 On Fri, May 13, 2005 at 11:37:16PM +0800, zouq wrote: original program is: mul.d $f1, $f1

about madd instruction in mips instruction sets

2005-04-27 Thread zouq
i found madd instruction in mips.md, but why when i compiled it with my cross-compile mipsel-linux-gcc as follows, mipsel-linux-gcc -mips4 -O2 test.c -S i can`t find any madd instruction in test.s?? what else should i do?

some problem about cross-compile the gcc-2.95.3

2005-04-15 Thread zouq
first i download the release the version of gcc-2.95.3, binutils 2.15, and i use the o32 lib, include of gcc3.3.3 . 1. compile the binutils and install it mkdir binutils-build; cd binutils-build; ../../binutils-2.15/configure --prefix=/opt/gcc --target=mipsel-linux -v; make;make install; 2. cp -r

Re: about Alias Analysis for Intermediate Code

2005-04-05 Thread zouq
2005 10:09, zouq wrote: i can`t find it in current gcc version. pleas do me the favor to tell me about it. I can only guess that you probably mean the Debray alias analysis proposed at the GCC summit in 2003. Follow this link for the paper: http://gcc.fyxm.net/summit/2003/Alias analysis

about alias analysis

2005-04-05 Thread zouq
i wonder whether there exists or not alias analysis for scalar variable, array variable, even pointers. thank you.

about Alias Analysis for Intermediate Code

2005-04-04 Thread zouq
i can`t find it in current gcc version. pleas do me the favor to tell me about it.

Re: about gcc-4.1-20050327

2005-03-28 Thread zouq
- - : Re: about gcc-4.1-20050327 : zouq [EMAIL PROTECTED] : Tue, 29, 2005 8:21 am : James E Wilson [EMAIL PROTECTED] -- en, sorry, because i am not sure

about gcc-4.1-20050327

2005-03-27 Thread zouq
i build a crosscompiler for gcc, abi=n32 gcc-4.1-20050327/configure -target=mips64el-linux -prefix=/opt/gcc-4.1-20050327/ -enable-languages=c --disable-shared make it will error with config/mips/mips.c

[bug fmodulo-sched/gcc]

2005-03-27 Thread zouq
- - : [bug fmodulo-sched/gcc] : zouq [EMAIL PROTECTED] : Mon, 28, 2005 8:09 am : [EMAIL PROTECTED] -- 1.i build a cross-compiler for powerpc the version

about 4.0 swing modulo schedule

2005-03-23 Thread zouq
the application swim from the spec2000 can`t be scheduled, function calc1 can`t be scheduled, while i tries larger sms-max-ii-factor, it still can`t.