sim: sh: fix broken handling in DSR reg
authorMike Frysinger <vapier@gentoo.org>
Sat, 28 Mar 2015 18:55:11 +0000 (14:55 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sat, 28 Mar 2015 21:45:30 +0000 (17:45 -0400)
commit02131c7ff660a5ca08147899429e6e7780d737aa
treed5e5931419e6ebaed6ce1c76530a6b29be21332b
parented4d32c28adc5f00ee9bc0e4ac785eeff5e1dc74
sim: sh: fix broken handling in DSR reg

A missing */ caused a case statement to be incorrect masked out which
also hide an error where the wrong value was being checked.  Fix both.
sim/sh/ChangeLog
sim/sh/gencode.c