Re: Rework constant subreg folds and handle more variable-length cases

2019-09-19 Thread Richard Sandiford
Jeff Law writes: > On 7/12/19 1:44 AM, Richard Sandiford wrote: >> Richard Sandiford writes: >>> This patch rewrites the way simplify_subreg handles constants. >>> It uses similar native_encode/native_decode routines to the >>> tree-level handling of VIEW_CONVERT_EXPR, meaning that we can >>> mov

Re: Rework constant subreg folds and handle more variable-length cases

2019-08-22 Thread Jeff Law
On 7/12/19 1:44 AM, Richard Sandiford wrote: > Richard Sandiford writes: >> This patch rewrites the way simplify_subreg handles constants. >> It uses similar native_encode/native_decode routines to the >> tree-level handling of VIEW_CONVERT_EXPR, meaning that we can >> move between rtx constants a

Re: Rework constant subreg folds and handle more variable-length cases

2019-07-12 Thread Richard Sandiford
Richard Sandiford writes: > This patch rewrites the way simplify_subreg handles constants. > It uses similar native_encode/native_decode routines to the > tree-level handling of VIEW_CONVERT_EXPR, meaning that we can > move between rtx constants and the target memory image of them. > > The main po

Re: Rework constant subreg folds and handle more variable-length cases

2019-07-11 Thread Richard Sandiford
Richard Biener writes: > On Thu, Jul 11, 2019 at 10:03 AM Richard Sandiford > wrote: >> >> This patch rewrites the way simplify_subreg handles constants. >> It uses similar native_encode/native_decode routines to the >> tree-level handling of VIEW_CONVERT_EXPR, meaning that we can >> move between

Re: Rework constant subreg folds and handle more variable-length cases

2019-07-11 Thread Richard Biener
On Thu, Jul 11, 2019 at 10:03 AM Richard Sandiford wrote: > > This patch rewrites the way simplify_subreg handles constants. > It uses similar native_encode/native_decode routines to the > tree-level handling of VIEW_CONVERT_EXPR, meaning that we can > move between rtx constants and the target mem

Rework constant subreg folds and handle more variable-length cases

2019-07-11 Thread Richard Sandiford
This patch rewrites the way simplify_subreg handles constants. It uses similar native_encode/native_decode routines to the tree-level handling of VIEW_CONVERT_EXPR, meaning that we can move between rtx constants and the target memory image of them. The main point of this patch is to support subreg