diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-03-29 01:41:49 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-03-29 01:41:49 +0000 |
commit | 1a3af0bfc3b53c392923b62275c9ca72bee46f7b (patch) | |
tree | 2b361ef14e07d47c408ad814b1a9e84376ae4539 /opcodes/arc-opc.c | |
parent | f4a2f576d439afac300134257b3d9fcfc7e15fd3 (diff) | |
download | gdb-1a3af0bfc3b53c392923b62275c9ca72bee46f7b.zip gdb-1a3af0bfc3b53c392923b62275c9ca72bee46f7b.tar.gz gdb-1a3af0bfc3b53c392923b62275c9ca72bee46f7b.tar.bz2 |
sim: bfin: fix sign extension with 16bit acc add insns
The current implementation attempts to handle the 16bit sign extension
itself. Unfortunately, it gets it right in some cases. So rather than
fix that logic, just drop it in favor of using 16bit signed casts. Now
gcc will take care of getting the logic right.
Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'opcodes/arc-opc.c')
0 files changed, 0 insertions, 0 deletions