projects
/
external
/
binutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update the openrisc previous program counter (ppc) when running code in the cgen...
[external/binutils.git]
/
cpu
/
cris.cpu
diff --git
a/cpu/cris.cpu
b/cpu/cris.cpu
index
18fa3fa
..
97b4458
100644
(file)
--- a/
cpu/cris.cpu
+++ b/
cpu/cris.cpu
@@
-1,6
+1,6
@@
; CRIS CPU description. -*- Scheme -*-
;
; CRIS CPU description. -*- Scheme -*-
;
-; Copyright 2003, 2004 Free Software Foundation, Inc.
+; Copyright 2003, 2004
, 2007, 2009
Free Software Foundation, Inc.
;
; Contributed by Axis Communications AB.
;
;
; Contributed by Axis Communications AB.
;
@@
-8,7
+8,7
@@
;
; 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
;
; 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
2
of the License, or
+; 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,
; (at your option) any later version.
;
; This program is distributed in the hope that it will be useful,
@@
-18,7
+18,8
@@
;
; You should have received a copy of the GNU General Public License
; along with this program; if not, write to the Free Software
;
; 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.
+; Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
+; MA 02110-1301, USA.
(include "simplify.inc")
(include "simplify.inc")
@@
-438,7
+439,7
@@
(define-pmacro (cris-implemented-writable-specregs-v32)
"Special writable registers in v32 and their sizes"
(define-pmacro (cris-implemented-writable-specregs-v32)
"Special writable registers in v32 and their sizes"
- ((
Q
I 2) (QI 3)
+ ((
S
I 2) (QI 3)
(SI 5) (SI 6) (SI 7) (SI 9)
(SI 10) (SI 11) (SI 12) (SI 13) (SI 14) (SI 15))
)
(SI 5) (SI 6) (SI 7) (SI 9)
(SI 10) (SI 11) (SI 12) (SI 13) (SI 14) (SI 15))
)
@@
-2032,9
+2033,10
@@
(.pmacro
(BW)
(sequence
(.pmacro
(BW)
(sequence
- ((BW newval))
- (set newval Rs)
- (set Rd (ext SI newval))
+ ((BW tmpops) (SI newval))
+ (set tmpops Rs)
+ (set newval (ext SI tmpops))
+ (set Rd newval)
(setf-move SI newval)))
)
(setf-move SI newval)))
)
@@
-2059,9
+2061,10
@@
(.pmacro
(BW)
(sequence
(.pmacro
(BW)
(sequence
- ((BW newval))
- (set newval Rs)
- (set Rd (zext SI newval))
+ ((BW tmpops) (SI newval))
+ (set tmpops Rs)
+ (set newval (zext SI tmpops))
+ (set Rd newval)
(setf-move SI newval)))
)
(setf-move SI newval)))
)