gas: fold IEEE encoding of -Inf with that of +Inf
authorJan Beulich <jbeulich@suse.com>
Wed, 11 Aug 2021 06:36:53 +0000 (08:36 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 11 Aug 2021 06:36:53 +0000 (08:36 +0200)
commit199bbc7a4c0d980d22bb7708be27ee383ef153d1
tree4623736102b516f11faba12e60182347bac8e6f5
parentf0dec3f488c12352f62aa8c3ef3adc22599cb1cb
gas: fold IEEE encoding of -Inf with that of +Inf

The respective results differ only by the sign bits - there's no need to
have basically identical (partially even arch-specific) logic twice.
Simply set the sign bit at the end of encoding the various formats.
gas/config/atof-ieee.c