For some TARGET, like ARM THUMB1, the offset in load/store should be nature
aligned. But in function get_address_cost, when computing max_offset, it
only tries byte-aligned offsets:
((unsigned HOST_WIDE_INT) 1 i) - 1
which can not meet thumb_legitimate_offset_p check called from
On February 4, 2015 11:32:54 AM CET, Eric Botcazou ebotca...@adacore.com
wrote:
For some TARGET, like ARM THUMB1, the offset in load/store should be
nature
aligned. But in function get_address_cost, when computing max_offset,
it
only tries byte-aligned offsets:
((unsigned HOST_WIDE_INT) 1
: gcc-patches List
Subject: Re: [PATCH, ivopt] Try aligned offset when get_address_cost
On Mon, Aug 4, 2014 at 2:28 PM, Zhenqiang Chen
zhenqiang.c...@arm.com wrote:
Hi,
For some TARGET, like ARM THUMB1, the offset in load/store should be
nature aligned. But in function get_address_cost, when
...@gmail.com]
Sent: Monday, August 04, 2014 4:41 PM
To: Zhenqiang Chen
Cc: gcc-patches List
Subject: Re: [PATCH, ivopt] Try aligned offset when get_address_cost
On Mon, Aug 4, 2014 at 2:28 PM, Zhenqiang Chen
zhenqiang.c...@arm.com wrote:
Hi,
For some TARGET, like ARM THUMB1, the offset
On Mon, Aug 4, 2014 at 11:09 AM, Zhenqiang Chen zhenqiang.c...@arm.com wrote:
-Original Message-
From: Bin.Cheng [mailto:amker.ch...@gmail.com]
Sent: Monday, August 04, 2014 4:41 PM
To: Zhenqiang Chen
Cc: gcc-patches List
Subject: Re: [PATCH, ivopt] Try aligned offset when
Hi,
For some TARGET, like ARM THUMB1, the offset in load/store should be nature
aligned. But in function get_address_cost, when computing max_offset, it
only tries byte-aligned offsets:
((unsigned HOST_WIDE_INT) 1 i) - 1
which can not meet thumb_legitimate_offset_p check called from
On Mon, Aug 4, 2014 at 2:28 PM, Zhenqiang Chen zhenqiang.c...@arm.com wrote:
Hi,
For some TARGET, like ARM THUMB1, the offset in load/store should be nature
aligned. But in function get_address_cost, when computing max_offset, it
only tries byte-aligned offsets:
((unsigned HOST_WIDE_INT)
-Original Message-
From: Bin.Cheng [mailto:amker.ch...@gmail.com]
Sent: Monday, August 04, 2014 4:41 PM
To: Zhenqiang Chen
Cc: gcc-patches List
Subject: Re: [PATCH, ivopt] Try aligned offset when get_address_cost
On Mon, Aug 4, 2014 at 2:28 PM, Zhenqiang Chen
zhenqiang.c