Improve abs with overflow implementations
authorStefan Kanthak <stefan.kanthak@nexgo.de>
Wed, 25 Nov 2020 18:36:51 +0000 (11:36 -0700)
committerJeff Law <law@redhat.com>
Wed, 25 Nov 2020 18:38:46 +0000 (11:38 -0700)
commit4919ed711c1d02845f2843f6b0a70c27f9e6d434
treeb2c45f2a9b36fc5f99cb73928ae70bcd981aa037
parentdfc537e554afa98b42a4b203ffd08c0eddba746e
Improve abs with overflow implementations

libgcc/

* libgcc2.c (absvSI2): Simplify/improve implementation by using
builtin_add_overflow.
(absvsi2, absvDI2): Likewise.
libgcc/libgcc2.c