Re: [PATCH 4/4] Initial version of RTL frontend

2016-05-16 Thread Jeff Law
On 05/10/2016 08:13 AM, David Malcolm wrote: On Wed, 2016-05-04 at 16:49 -0400, David Malcolm wrote: [...snip...] I wrote this by compiling a test.c with -fdump-rtl-all on x86_64-pc-linux-gnu, and then attempting to load the state at each pass, and then trying to run just one pass, and fixing b

Re: [PATCH 4/4] Initial version of RTL frontend

2016-05-11 Thread Bernd Schmidt
On 05/11/2016 01:06 PM, Ramana Radhakrishnan wrote: Is there any reason why this framework cannot be used to replace a large number of scan-assembler tests in various target testsuites which are essentially testing for either a peephole, a transformation or the register allocator eliminating part

Re: [PATCH 4/4] Initial version of RTL frontend

2016-05-11 Thread Ramana Radhakrishnan
On 10/05/16 19:20, Bernd Schmidt wrote: > On 05/10/2016 08:05 PM, Richard Biener wrote: >> On May 10, 2016 7:02:33 PM GMT+02:00, Jeff Law >> wrote: >>> Well, not if we take Bernd's idea and create a new backend for >>> testing purposes. If we want to know/test what reload's doing, we >>> cons u

Re: [PATCH 4/4] Initial version of RTL frontend

2016-05-10 Thread Bernd Schmidt
On 05/10/2016 08:05 PM, Richard Biener wrote: On May 10, 2016 7:02:33 PM GMT+02:00, Jeff Law wrote: Well, not if we take Bernd's idea and create a new backend for testing purposes. If we want to know/test what reload's doing, we cons up the appropriate RTL for that testing backend, set the rig

Re: [PATCH 4/4] Initial version of RTL frontend

2016-05-10 Thread Richard Biener
On May 10, 2016 7:02:33 PM GMT+02:00, Jeff Law wrote: >On 05/10/2016 08:17 AM, Richard Biener wrote: >> On Tue, May 10, 2016 at 4:13 PM, David Malcolm >wrote: >>> On Wed, 2016-05-04 at 16:49 -0400, David Malcolm wrote: >>> [...snip...] I wrote this by compiling a test.c with -fdump-rtl-

Re: [PATCH 4/4] Initial version of RTL frontend

2016-05-10 Thread Jeff Law
On 05/10/2016 08:17 AM, Richard Biener wrote: On Tue, May 10, 2016 at 4:13 PM, David Malcolm wrote: On Wed, 2016-05-04 at 16:49 -0400, David Malcolm wrote: [...snip...] I wrote this by compiling a test.c with -fdump-rtl-all on x86_64-pc-linux-gnu, and then attempting to load the state at each

Re: [PATCH 4/4] Initial version of RTL frontend

2016-05-10 Thread Richard Biener
On Tue, May 10, 2016 at 4:13 PM, David Malcolm wrote: > On Wed, 2016-05-04 at 16:49 -0400, David Malcolm wrote: > [...snip...] >> >> I wrote this by compiling a test.c with -fdump-rtl-all on >> x86_64-pc-linux-gnu, and then attempting to load the state at each >> pass, and then trying to run just

Re: [PATCH 4/4] Initial version of RTL frontend

2016-05-10 Thread David Malcolm
On Wed, 2016-05-04 at 16:49 -0400, David Malcolm wrote: [...snip...] > > I wrote this by compiling a test.c with -fdump-rtl-all on > x86_64-pc-linux-gnu, and then attempting to load the state at each > pass, and then trying to run just one pass, and fixing bugs until the > dump output from each pa