X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=opcodes%2Falpha-opc.c;h=94a023cdfe86522e76e7d31dd5b76d1753558204;hb=2480b6fa946bb2d2dc993b1c4a83a8e1258a75e8;hp=4785e7b21d588f3bb4bcfceeec6ac7982eb5e519;hpb=2571583aed598dd3f9651b53434e5f177a0e3cf7;p=deliverable%2Fbinutils-gdb.git diff --git a/opcodes/alpha-opc.c b/opcodes/alpha-opc.c index 4785e7b21d..94a023cdfe 100644 --- a/opcodes/alpha-opc.c +++ b/opcodes/alpha-opc.c @@ -1,5 +1,5 @@ /* alpha-opc.c -- Alpha AXP opcode list - Copyright (C) 1996-2017 Free Software Foundation, Inc. + Copyright (C) 1996-2019 Free Software Foundation, Inc. Contributed by Richard Henderson , patterned after the PPC opcode handling written by Ian Lance Taylor. @@ -332,7 +332,7 @@ const unsigned alpha_num_operands = sizeof(alpha_operands)/sizeof(*alpha_operand /* Macros used to form opcodes. */ /* The main opcode. */ -#define OP(x) (((x) & 0x3F) << 26) +#define OP(x) (((x) & 0x3Fu) << 26) #define OP_MASK 0xFC000000 /* Branch format instructions. */