Re: Looking for some help with GCC 6 and bad code generation

2016-04-21 Thread Zan Lynx
This is kind of stream-of-conciousness but I swear there's an interesting new bit about 8 paragraphs down. :) On 04/20/2016 07:18 PM, Andrew Pinski wrote: > On Thu, Apr 21, 2016 at 9:11 AM, Zan Lynx wrote: >> > I would like someone to look at this and tell me this is an already >> > fixed bug. Or

Re: Looking for some help with GCC 6 and bad code generation

2016-04-21 Thread Jonathan Wakely
This is the wrong mailing list for such questions, the gcc-help list would be appropriate. On 21 April 2016 at 02:11, Zan Lynx wrote: > I would like someone to look at this and tell me this is an already > fixed bug. Or that recent GCC patches may have fixed it. :-) > > Or it would also be great

Re: Looking for some help with GCC 6 and bad code generation

2016-04-20 Thread Zan Lynx
On 4/20/2016 7:18 PM, Andrew Pinski wrote: On Thu, Apr 21, 2016 at 9:11 AM, Zan Lynx wrote: I would like someone to look at this and tell me this is an already fixed bug. Or that recent GCC patches may have fixed it. :-) Or it would also be great to get some advice on building a reproducer wit

Re: Looking for some help with GCC 6 and bad code generation

2016-04-20 Thread Andrew Pinski
On Thu, Apr 21, 2016 at 9:11 AM, Zan Lynx wrote: > I would like someone to look at this and tell me this is an already > fixed bug. Or that recent GCC patches may have fixed it. :-) > > Or it would also be great to get some advice on building a reproducer > without needing to include many megabyte

Looking for some help with GCC 6 and bad code generation

2016-04-20 Thread Zan Lynx
I would like someone to look at this and tell me this is an already fixed bug. Or that recent GCC patches may have fixed it. :-) Or it would also be great to get some advice on building a reproducer without needing to include many megabytes of proprietary code plus Boost. I've been using Fedora 2

Re: Help with gcc-plugin (Traverse all loops inside function)

2015-09-15 Thread Mikhail Maltsev
On 09/15/2015 03:38 PM, Aditya K wrote: > I started with one of the test cases in the plugin testsuite "def_plugin.c". > Pasted the code for convenience. > I want to traverse all the loops in a function. > > Maybe use, loops_for_fn (DECL_STRUCT_FUNCTION (fndef)), but this does not > seem to work

Help with gcc-plugin (Traverse all loops inside function)

2015-09-15 Thread Aditya K
I started with one of the test cases in the plugin testsuite "def_plugin.c". Pasted the code for convenience. I want to traverse all the loops in a function. Maybe use, loops_for_fn (DECL_STRUCT_FUNCTION (fndef)), but this does not seem to work. /* Callback function to invoke after GCC finishe

Re: Help with GCC on Cygwin

2008-03-05 Thread Ian Lance Taylor
"Balaji V. Iyer" <[EMAIL PROTECTED]> writes: > Thank you Ian. I did the modification you mentioned...now I am running > into more problems. Again: gcc@gcc.gnu.org is the wrong mailing list. Please do not send any more e-mail about this to [EMAIL PROTECTED] Please take any followups to [EMAIL PR

RE: Help with GCC on Cygwin

2008-03-04 Thread Balaji V. Iyer
y help is highly appreciated! Yours Sincerely, Balaji V. Iyer. -- Balaji V. Iyer PhD Student, Center for Efficient, Scalable and Reliable Computing, Department of Electrical and Computer Engineering, North Carolina State University. -Original Message- From: Ian Lance Taylor [mailto:[EM

Re: Help with GCC on Cygwin

2008-03-04 Thread Ian Lance Taylor
"Balaji V. Iyer" <[EMAIL PROTECTED]> writes: > I am trying to do some development on the C Compiler in Cygwin and I > am doing the following to build it: gcc@gcc.gnu.org is the wrong mailing list. Please send any further e-mail to [EMAIL PROTECTED] Thanks. > $ ../gcc-4.0.2/gcc/configure R

Help with GCC on Cygwin

2008-03-04 Thread Balaji V. Iyer
Hello Everyone, I am trying to do some development on the C Compiler in Cygwin and I am doing the following to build it: $ ../gcc-4.0.2/gcc/configure --prefix=/home/Balaji/Software_Tools/install --enable-languages="c" The problem i am getting is this: $ make all install TARGET_CPU_DEFAULT

RE: Request For Help with GCC Tests

2008-02-11 Thread Dave Korn
On 11 February 2008 16:53, Joel Sherrill wrote: > Is there someone out there who can walk me through > the steps necessary to run them cross on a simulator? > I will need to test an installed toolset and > will have to be able to specify: > > + an extra object file to link with. > + target CFLAGS

Request For Help with GCC Tests

2008-02-11 Thread Joel Sherrill
Hi, I can now run the ACATS reasonably automatically and test powerpc, sparc, and i386 RTEMS targets. I would like to keep my momentum going and get some results on the non-Ada tests. Is there someone out there who can walk me through the steps necessary to run them cross on a simulator? I will

Help with GCC RTL and Register Allocator

2008-01-28 Thread Balaji V. Iyer
Hello Everyone, I have a question regarding GCC RTL. I am currently modifying the OpenRISC backend to partition the register files. Here is an example of my add function: (define_insn "addsi3" [(set (match_operand:SI 0 "register_operand" "=a,b,a,b") (plus:SI (match_operand:

Re: Help with GCC functions.

2007-03-02 Thread Ian Lance Taylor
Balaji Viswanathan Iyer <[EMAIL PROTECTED]> writes: > I am trying to understand GCC further, and I would like to know how > GCC calls the parser from the main function in gcc.c. The gcc driver execs another program, which for C is called cc1. The main function in cc1 winds up calling the pa

Help with GCC functions.

2007-03-02 Thread Balaji Viswanathan Iyer
Hello Everyone, I am trying to understand GCC further, and I would like to know how GCC calls the parser from the main function in gcc.c. I looked at the YACC/BISON file and found that c_parse_file called yyparse(). Can anyone please tell me which function calls c_parse_file and how I can get

Re: Help with GCC

2005-08-17 Thread James E Wilson
Balaji V. Iyer wrote: > Pass this "live/not-live" flag to the register allocation process so that > it can output instruction in such a way (please see example below) (I want > this information to be passed into .md stage) You can't get cycle-accurate life time info in the register allocator unles

Help with GCC

2005-08-15 Thread Balaji V. Iyer
Hello Everyone, Greetings! I apologize ahead for asking an non-specific question. I have a question about the liveness analysis. This is what I wanted to do. I want to check to see if an instruction is live after a certain number of stage. (eg. 3 cycles) if (INSN is not live for more than 3 c