x86: fold two JMP templates
[deliverable/binutils-gdb.git] / opcodes / cr16-dis.c
index c40a07e2502e03ca63432066c677b68f4f4a78c7..1be67b21181d98fb882027b1b099075f2a76949c 100644 (file)
@@ -319,8 +319,7 @@ cr16_match_opcode (void)
 {
   unsigned long mask;
   /* The instruction 'constant' opcode doesn't exceed 32 bits.  */
-  unsigned long doubleWord = (cr16_words[1]
-                            + (cr16_words[0] << 16)) & 0xffffffff;
+  unsigned long doubleWord = cr16_words[1] + ((unsigned) cr16_words[0] << 16);
 
   /* Start searching from end of instruction table.  */
   instruction = &cr16_instruction[NUMOPCODES - 2];
This page took 0.023872 seconds and 4 git commands to generate.