* v850-opc.c (extract_v8): Rearrange to make it obvious this
authorAlan Modra <amodra@gmail.com>
Mon, 27 Feb 2012 06:55:39 +0000 (06:55 +0000)
committerAlan Modra <amodra@gmail.com>
Mon, 27 Feb 2012 06:55:39 +0000 (06:55 +0000)
commit3f26eb3af95d6f59c98b1df1de4342bfd6523bfa
tree01f6937e3819ce623e9878b92fdcd3810d006886
parentb9fcee797cc69e256f174c6665e88125e4ecc06b
* v850-opc.c (extract_v8): Rearrange to make it obvious this
is the inverse of corresponding insert function.
(extract_d22, extract_u9, extract_r4): Likewise.
(extract_d9): Correct sign extension.
(extract_d16_15): Don't assume "long" is 32 bits, and don't
rely on implementation defined behaviour for shift right of
signed types.
(extract_d16_16, extract_d17_16, extract_i9): Likewise.
(extract_d23): Likewise, and correct mask.
opcodes/ChangeLog
opcodes/v850-opc.c