[BACK]Return to v850-opc.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / external / gpl3 / binutils.old / dist / opcodes

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/external/gpl3/binutils.old/dist/opcodes/v850-opc.c between version 1.6 and 1.7

version 1.6, 2020/04/03 17:51:18 version 1.7, 2022/12/23 17:09:29
Line 1 
Line 1 
 /* Assemble V850 instructions.  /* Assemble V850 instructions.
    Copyright (C) 1996-2018 Free Software Foundation, Inc.     Copyright (C) 1996-2020 Free Software Foundation, Inc.
   
    This file is part of the GNU opcodes library.     This file is part of the GNU opcodes library.
   
Line 693  extract_WIDTH_L (unsigned long insn, int
Line 693  extract_WIDTH_L (unsigned long insn, int
 static unsigned long  static unsigned long
 insert_SELID (unsigned long insn, long selid, const char ** errmsg)  insert_SELID (unsigned long insn, long selid, const char ** errmsg)
 {  {
   unsigned long ret;    if ((unsigned long) selid > 0x1f)
   
   if (selid > 0x1f || selid < 0)  
     * errmsg = _(selid_out_of_range);      * errmsg = _(selid_out_of_range);
   
   ret = (insn | ((selid & 0x1f) << 27));    return insn | ((selid & 0x1fUL) << 27);
   
   return ret;  
 }  }
   
 static unsigned long  static unsigned long

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

CVSweb <webmaster@jp.NetBSD.org>