Re: [PATCH][3/3] Fix PR54733 Optimize endian independent load/store

2014-04-30 Thread Richard Biener
On Wed, Apr 30, 2014 at 8:23 AM, Thomas Preud'homme wrote: > Hi Richard, > > I addressed all your comments but the ones below. > >> From: Richard Biener [mailto:richard.guent...@gmail.com] >> >> + /* Convert the result of load if necessary. */ >> + if (!useless_typ

RE: [PATCH][3/3] Fix PR54733 Optimize endian independent load/store

2014-04-29 Thread Thomas Preud'homme
> From: gcc-patches-ow...@gcc.gnu.org [mailto:gcc-patches- > ow...@gcc.gnu.org] On Behalf Of Thomas Preud'homme > > > From: Richard Biener [mailto:richard.guent...@gmail.com] > > > > + /* Convert the result of load if necessary. */ > > + if (!useless_type_conversio

RE: [PATCH][3/3] Fix PR54733 Optimize endian independent load/store

2014-04-29 Thread Thomas Preud'homme
Hi Richard, I addressed all your comments but the ones below. > From: Richard Biener [mailto:richard.guent...@gmail.com] > > + /* Convert the result of load if necessary. */ > + if (!useless_type_conversion_p (TREE_TYPE (tgt), > +

Re: [PATCH][3/3] Fix PR54733 Optimize endian independent load/store

2014-04-29 Thread Richard Biener
On Thu, Apr 24, 2014 at 3:37 AM, Thomas Preud'homme wrote: > See updated part 3 of the patch in attachment. New ChangeLog are as follows > > *** gcc/ChangeLog *** > > 2014-04-23 Thomas Preud'homme > > PR tree-optimization/54733 > * tree-ssa-math-opts.c (find_bswap_load): Renamed

RE: [PATCH][3/3] Fix PR54733 Optimize endian independent load/store

2014-04-23 Thread Thomas Preud'homme
See updated part 3 of the patch in attachment. New ChangeLog are as follows *** gcc/ChangeLog *** 2014-04-23 Thomas Preud'homme PR tree-optimization/54733 * tree-ssa-math-opts.c (find_bswap_load): Renamed to ... (find_bswap_or_nop_load): This. (find_bswap_1): R

[PATCH][3/3] Fix PR54733 Optimize endian independent load/store

2014-04-01 Thread Thomas Preud'homme
Here is the third and last patch in the series. Its purpose is to add support for bitwise operation from a source operand that are equivalent to a load in the target's endianness. The ChangeLog are as follows: *** gcc/ChangeLog *** 2014-04-01 Thomas Preud'homme PR tree-optimization/5