X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=opcodes%2Fmmix-opc.c;h=6158d8f139c074f23cf67545f5cf52162f48850c;hb=db4cc66567397498a9e9eaedb8d0bb8889744ef7;hp=ecd3cb4ef0853664e8faf5b09d4311e39b7c8f76;hpb=e493ab45b14a1970aa89dedd408aaf12645a278b;p=deliverable%2Fbinutils-gdb.git diff --git a/opcodes/mmix-opc.c b/opcodes/mmix-opc.c index ecd3cb4ef0..6158d8f139 100644 --- a/opcodes/mmix-opc.c +++ b/opcodes/mmix-opc.c @@ -1,22 +1,23 @@ /* mmix-opc.c -- MMIX opcode table - Copyright (C) 2001, 2003 Free Software Foundation, Inc. + Copyright (C) 2001-2018 Free Software Foundation, Inc. Written by Hans-Peter Nilsson (hp@bitrange.com) -This file is part of GDB, GAS, and the GNU binutils. + This file is part of the GNU opcodes library. -GDB, GAS, and the GNU binutils are free software; you can redistribute -them and/or modify them under the terms of the GNU General Public -License as published by the Free Software Foundation; either version 2, -or (at your option) any later version. + This library is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. -GDB, GAS, and the GNU binutils are distributed in the hope that they -will be useful, but WITHOUT ANY WARRANTY; without even the implied -warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See -the GNU General Public License for more details. + It is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public + License for more details. -You should have received a copy of the GNU General Public License -along with this file; see the file COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + You should have received a copy of the GNU General Public License + along with this file; see the file COPYING. If not, write to the + Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, + MA 02110-1301, USA. */ #include #include "opcode/mmix.h" @@ -67,11 +68,11 @@ const struct mmix_spec_reg mmix_spec_regs[] = /* All bits in the opcode-byte are significant. Add "| ..." expressions to add zero-bits. */ #undef O -#define O(m) ((unsigned long) (m) << 24UL), ((~(unsigned long) (m) & 255) << 24UL) +#define O(m) ((unsigned long) (m) << 24UL), ((~(unsigned long) (m) & 255) << 24) /* Bits 7..1 of the opcode are significant. */ #undef Z -#define Z(m) ((unsigned long) (m) << 24UL), ((~(unsigned long) (m) & 254) << 24UL) +#define Z(m) ((unsigned long) (m) << 24), ((~(unsigned long) (m) & 254) << 24) /* For easier overview of the table. */ #define N mmix_type_normal