sh: make constant unsigned to avoid narrowing
authorTrevor Saunders <tbsaunde+binutils@tbsaunde.org>
Sun, 29 May 2016 00:29:54 +0000 (20:29 -0400)
committerTrevor Saunders <tbsaunde+binutils@tbsaunde.org>
Wed, 1 Jun 2016 03:12:22 +0000 (23:12 -0400)
commita2b5fccc630a7cb7e1c241e5249bf6e8917d917d
tree053024154c26f63351702f2ce88f0828c01562e3
parentc799dec78a78240678e591bb7b849c071bc814af
sh: make constant unsigned to avoid narrowing

Shifting into the sign bit of a 32 bit int and then converting to a unsigned
type is less straight forward than just shifting an unsigned value.

opcodes/ChangeLog:

2016-05-31  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>

* sh-opc.h (ARCH_SH_HAS_DSP): Make the shifted value an unsigned
constant.
opcodes/ChangeLog
opcodes/sh-opc.h