Multi-target support
[deliverable/binutils-gdb.git] / cpu / iq2000.cpu
index e186c7b515b339cdf581cd64d334abd2a9a5d2f2..cb9cfae1d43e173f8ea6401e6d96d757bc72c055 100644 (file)
@@ -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")
 
 (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.
 
 
 
 (if (keep-mach? (iq2000))
-(include "../../cpu/iq2000m.cpu"))
+(include "iq2000m.cpu"))
 
 (if (keep-mach? (iq10))
-(include "../../cpu/iq10.cpu"))
-
-
-
+(include "iq10.cpu"))
This page took 0.025899 seconds and 4 git commands to generate.