Re: [PATCH 204/236] final.c: Use rtx_sequence

2014-08-25 Thread Jeff Law
On 08/15/14 16:38, Trevor Saunders wrote: On Fri, Aug 15, 2014 at 04:24:49PM -0600, Jeff Law wrote: On 08/06/14 11:23, David Malcolm wrote: gcc/ * final.c (get_attr_length_1): Replace GET_CODE check with a dyn_cast, introducing local seq and the use of methods of

Re: [PATCH 204/236] final.c: Use rtx_sequence

2014-08-25 Thread Jeff Law
On 08/15/14 18:56, David Malcolm wrote: On Fri, 2014-08-15 at 18:38 -0400, Trevor Saunders wrote: i.e. back to just a GET_CODE check again (albeit with a new local, of the subclass ptr type; I don't know how well our optimizations handle that yet: the idea that a local ptr X is either equal to

Re: [PATCH 204/236] final.c: Use rtx_sequence

2014-08-15 Thread Jeff Law
On 08/06/14 11:23, David Malcolm wrote: gcc/ * final.c (get_attr_length_1): Replace GET_CODE check with a dyn_cast, introducing local seq and the use of methods of rtx_sequence. (shorten_branches): Likewise, introducing local body_seq. Strengthen local

Re: [PATCH 204/236] final.c: Use rtx_sequence

2014-08-15 Thread Trevor Saunders
On Fri, Aug 15, 2014 at 04:24:49PM -0600, Jeff Law wrote: On 08/06/14 11:23, David Malcolm wrote: gcc/ * final.c (get_attr_length_1): Replace GET_CODE check with a dyn_cast, introducing local seq and the use of methods of rtx_sequence. (shorten_branches): Likewise,

Re: [PATCH 204/236] final.c: Use rtx_sequence

2014-08-15 Thread David Malcolm
On Fri, 2014-08-15 at 18:38 -0400, Trevor Saunders wrote: On Fri, Aug 15, 2014 at 04:24:49PM -0600, Jeff Law wrote: On 08/06/14 11:23, David Malcolm wrote: gcc/ * final.c (get_attr_length_1): Replace GET_CODE check with a dyn_cast, introducing local seq and the use of methods of

[PATCH 204/236] final.c: Use rtx_sequence

2014-08-06 Thread David Malcolm
gcc/ * final.c (get_attr_length_1): Replace GET_CODE check with a dyn_cast, introducing local seq and the use of methods of rtx_sequence. (shorten_branches): Likewise, introducing local body_seq. Strengthen local inner_insn from rtx to rtx_insn *.