Re: Scheduler:LLVM vs gcc, which is better

2014-03-12 Thread Renato Golin
On 12 March 2014 15:13, lin zuojian wrote: > Hi Chandler, > I have looked into their "Machine Instr Scheduler", and find out > that LLVM have not yet enable them by default.And further test find > they are still not yet working.(e.g,-mtune=cortex-a9,a15,a53 > generates the same cod

Re: Scheduler:LLVM vs gcc, which is better

2014-03-12 Thread lin zuojian
On Tue, Mar 11, 2014 at 11:30:28AM +0800, lin zuojian wrote: > Hi Chandler, > Thanks a lot for your answer.It is pretty misleading to find out > that DAG has schedule unit. > -- > Regards > lin zuojian Hi Chandler, I have looked into their "Machine Instr Scheduler", and find out th

Re: Scheduler:LLVM vs gcc, which is better

2014-03-10 Thread lin zuojian
Hi Chandler, Thanks a lot for your answer.It is pretty misleading to find out that DAG has schedule unit. -- Regards lin zuojian

Re: Scheduler:LLVM vs gcc, which is better

2014-03-10 Thread Chandler Carruth
On Mon, Mar 10, 2014 at 7:33 PM, lin zuojian wrote: > Hi, > I just ask for opinions.I think many GCC developers do familiar with > the opponent.If I ask in the LLVM mailing list, I have to worry > about If they are familiar with GCC, too(what's sched2 pass?). I suspect you will have t

Re: Scheduler:LLVM vs gcc, which is better

2014-03-10 Thread lin zuojian
On Mon, Mar 10, 2014 at 07:11:43PM -0700, Chandler Carruth wrote: > On Mon, Mar 10, 2014 at 6:59 PM, lin zuojian wrote: > > > > Hi, > > I read LLVM code for a while,and a question raise:Whose scheduler is > > better? > > LLVM brings in the DAG,and make it look important just like IR or

Re: Scheduler:LLVM vs gcc, which is better

2014-03-10 Thread Chandler Carruth
On Mon, Mar 10, 2014 at 6:59 PM, lin zuojian wrote: > > Hi, > I read LLVM code for a while,and a question raise:Whose scheduler is > better? > LLVM brings in the DAG,and make it look important just like IR or > MachineInst.But is that necessary?I don't see what kind of problem >

Scheduler:LLVM vs gcc, which is better

2014-03-10 Thread lin zuojian
Hi, I read LLVM code for a while,and a question raise:Whose scheduler is better? LLVM brings in the DAG,and make it look important just like IR or MachineInst.But is that necessary?I don't see what kind of problem it tries to solve. From the pipeline of the compiler, LLVM ca