Hi.
This patch optimises the choice of immediates in integer comparisons. Integer
comparisons allow for different choices (e.g. a > b is equivalent to a >= b+1)
and there are cases where an incremented/decremented immediate can be loaded
into a
register in fewer instructions. The cases are as fo
Hi Vlad,
Thanks for the patch.
Vlad Lazar writes:
> Hi.
>
> This patch optimises the choice of immediates in integer comparisons. Integer
> comparisons allow for different choices (e.g. a > b is equivalent to a >= b+1)
> and there are cases where an incremented/decremented immediate can be loade
On 08/07/2018 02:11 PM, Richard Sandiford wrote:
> Hi Vlad,
>
> Thanks for the patch.
>
> Vlad Lazar writes:
>> Hi.
>>
>> This patch optimises the choice of immediates in integer comparisons. Integer
>> comparisons allow for different choices (e.g. a > b is equivalent to a >=
>> b+1)
>> and the
On 09/08/18 06:48, Jeff Law wrote:
On 08/07/2018 02:11 PM, Richard Sandiford wrote:
Hi Vlad,
Thanks for the patch.
Vlad Lazar writes:
Hi.
This patch optimises the choice of immediates in integer comparisons. Integer
comparisons allow for different choices (e.g. a > b is equivalent to a >= b
Vlad Lazar writes:
> diff --git a/gcc/expmed.h b/gcc/expmed.h
> index
> 2890d9c9bbd034f01030dd551d544bf73e73b784..86a32a643fdd0fc9f396bd2c7904244bd484df16
> 100644
> --- a/gcc/expmed.h
> +++ b/gcc/expmed.h
> @@ -702,6 +702,10 @@ extern rtx emit_store_flag (rtx, enum rtx_code, rtx,
> rtx, machin
On 13/08/18 15:00, Richard Sandiford wrote:
Vlad Lazar writes:
diff --git a/gcc/expmed.h b/gcc/expmed.h
index
2890d9c9bbd034f01030dd551d544bf73e73b784..86a32a643fdd0fc9f396bd2c7904244bd484df16
100644
--- a/gcc/expmed.h
+++ b/gcc/expmed.h
@@ -702,6 +702,10 @@ extern rtx emit_store_flag (rtx, e
Vlad Lazar writes:
> On 13/08/18 15:00, Richard Sandiford wrote:
>> Vlad Lazar writes:
>>> diff --git a/gcc/expmed.h b/gcc/expmed.h
>>> index
>>> 2890d9c9bbd034f01030dd551d544bf73e73b784..86a32a643fdd0fc9f396bd2c7904244bd484df16
>>> 100644
>>> --- a/gcc/expmed.h
>>> +++ b/gcc/expmed.h
>>> @@ -7
On 08/14/2018 11:01 AM, Vlad Lazar wrote:
> On 13/08/18 15:00, Richard Sandiford wrote:
>> Vlad Lazar writes:
>>> diff --git a/gcc/expmed.h b/gcc/expmed.h
>>> index
>>> 2890d9c9bbd034f01030dd551d544bf73e73b784..86a32a643fdd0fc9f396bd2c7904244bd484df16
>>> 100644
>>> --- a/gcc/expmed.h
>>> +++ b/gc
On 16/08/18 17:35, Jeff Law wrote:
On 08/14/2018 11:01 AM, Vlad Lazar wrote:
On 13/08/18 15:00, Richard Sandiford wrote:
Vlad Lazar writes:
diff --git a/gcc/expmed.h b/gcc/expmed.h
index
2890d9c9bbd034f01030dd551d544bf73e73b784..86a32a643fdd0fc9f396bd2c7904244bd484df16
100644
--- a/gcc/expmed
On 08/16/2018 10:46 AM, Vlad Lazar wrote:
>> Thanks. I fixed up the ChangeLog entry and installed this on the trunk.
>>
>> Richard S -- thanks for working with Vlad to push this forward.
>>
>> jeff
>>
> Thanks for committing. Sorry about the ChangeLog.
No worries. Just trivial stuff that we deal
Hello!
>> gcc/testsuite/
>> Changelog for gcc/testsuite/Changelog
>> 2018-08-14 Vlad Lazar
>>
>> * gcc.target/aarch64/imm_choice_comparison.c: New.
>>
>> gcc/
>> Changelog for gcc/Changelog
>> 2018-08-14 Vlad Lazar
>> * expmed.h (canonicalize_comparison): New declaration.
>> * ex
Uros Bizjak writes:
> Hello!
>>> gcc/testsuite/
>>> Changelog for gcc/testsuite/Changelog
>>> 2018-08-14 Vlad Lazar
>>>
>>> * gcc.target/aarch64/imm_choice_comparison.c: New.
>>>
>>> gcc/
>>> Changelog for gcc/Changelog
>>> 2018-08-14 Vlad Lazar
>>> * expmed.h (canonicalize_compariso
12 matches
Mail list logo