X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=cpu%2Fiq2000.cpu;h=cb9cfae1d43e173f8ea6401e6d96d757bc72c055;hb=e822f2cda9bc484adb5f8860050640a5c6f1ced9;hp=acb2648e0ae733544933b3b1a363e57c26a9bc52;hpb=b497d0b0272d9955fbe5704d693518989f3b66d9;p=deliverable%2Fbinutils-gdb.git diff --git a/cpu/iq2000.cpu b/cpu/iq2000.cpu index acb2648e0a..cb9cfae1d4 100644 --- a/cpu/iq2000.cpu +++ b/cpu/iq2000.cpu @@ -1,7 +1,24 @@ ; IQ2000/IQ10 Common CPU description. -*- Scheme -*- -; Copyright (C) 2000, 2001, 2002 Red Hat, Inc. -; This file is part of CGEN. -; See file COPYING.CGEN for details. +; Copyright 2001, 2002, 2007, 2009 Free Software Foundation, Inc. +; +; Contributed by Red Hat Inc; developed under contract from Fujitsu. +; +; This file is part of the GNU Binutils. +; +; This program 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 of the License, or +; (at your option) any later version. +; +; This program 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 program; if not, write to the Free Software +; Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, +; MA 02110-1301, USA. (include "simplify.inc") @@ -190,7 +207,7 @@ (df f-offset "pc offset field" (PCREL-ADDR) 15 16 INT ; Actually, this is relative to the address of the delay slot. ((value pc) (sra SI (sub SI value pc) 2)) - ((value pc) (add SI (sll SI value 2) (add pc 4)))) + ((value pc) (add SI (mul SI value 4) (add pc 4)))) ; Instruction fields that scarcely appear in instructions.