[patch] Use straight-line sequence for signed overflow additive operation

Bernd Schmidt bschmidt@redhat.com
Fri Oct 28 10:49:00 GMT 2016


On 10/27/2016 05:26 PM, Eric Botcazou wrote:
> as suggested by Segher, this changes the generic signed-signed-signed case of
> expand_addsub_overflow to using a straight-line code sequence instead of a
> branchy one, the new sequence being also shorter.

> 	* dojump.c (do_jump_by_parts_greater_rtx): Invert probability when
> 	swapping the arms of the branch.
> 	* internal-fn.c (expand_addsub_overflow): Use a straight-line code
> 	sequence for the generic signed-signed-signed case.

Ok.


Bernd



More information about the Gcc-patches mailing list