]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
sim/sh: use fabs instead of abs
authorAndrew Burgess <aburgess@redhat.com>
Wed, 19 Oct 2022 14:04:14 +0000 (15:04 +0100)
committerAndrew Burgess <aburgess@redhat.com>
Mon, 24 Oct 2022 16:00:49 +0000 (17:00 +0100)
commitffa2d048221147bad30dde3cfbcb535a824b203d
tree0a1ce7bfa11c8952af1eabfc8ab5ae6746e05e4f
parentb2829fcf9b594ad9933d649cb089efa5b63a2b89
sim/sh: use fabs instead of abs

The sh simulator incorrectly uses integer abs instead of the floating
point fabs on some floating point values, fixed in this commit.
sim/sh/interp.c