summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdlib
diff options
context:
space:
mode:
authorMichael Frysinger <vapier@gentoo.org>2011-06-18 19:42:55 +0000
committerMichael Frysinger <vapier@gentoo.org>2011-06-18 19:42:55 +0000
commite70fc2f8ef726cd2ef60928045d402b6be7f3514 (patch)
tree957a6425654c672f4c7291bd4371d9fbf3809634 /newlib/libc/stdlib
parent787908c1731aeb56fe3a8a8e4caf396885146fff (diff)
downloadcygnal-e70fc2f8ef726cd2ef60928045d402b6be7f3514.tar.gz
cygnal-e70fc2f8ef726cd2ef60928045d402b6be7f3514.tar.bz2
cygnal-e70fc2f8ef726cd2ef60928045d402b6be7f3514.zip
sim: bfin: fix sign extension in dsp insns with MM flag
After testing the hardware with all the different dsp flags, the MM flag triggers sign extension in all modes. So drop the limited use of it, and the local custom helper that was also extending unsigned values. We also can see that the flag checks in the mult/mac insns have the same behavior with sign extending, so add a helper func to keep the logic the same in both places. Signed-off-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'newlib/libc/stdlib')
0 files changed, 0 insertions, 0 deletions