X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=cpu%2Fcris.cpu;fp=cpu%2Fcris.cpu;h=97b44581e78bba7f4832cf767b289b6393be90f3;hp=2bb74dde82fb9cc440e187fb4f2a2b8afda69c1b;hb=88750007d7869f178f0ba528f41efd3b74c424cf;hpb=6df9443a374e2b81278c61b8afc0a1eef7db280b diff --git a/cpu/cris.cpu b/cpu/cris.cpu index 2bb74dd..97b4458 100644 --- a/cpu/cris.cpu +++ b/cpu/cris.cpu @@ -1,6 +1,6 @@ ; CRIS CPU description. -*- Scheme -*- ; -; Copyright 2003, 2004, 2007 Free Software Foundation, Inc. +; Copyright 2003, 2004, 2007, 2009 Free Software Foundation, Inc. ; ; Contributed by Axis Communications AB. ; @@ -439,7 +439,7 @@ (define-pmacro (cris-implemented-writable-specregs-v32) "Special writable registers in v32 and their sizes" - ((QI 2) (QI 3) + ((SI 2) (QI 3) (SI 5) (SI 6) (SI 7) (SI 9) (SI 10) (SI 11) (SI 12) (SI 13) (SI 14) (SI 15)) ) @@ -2033,9 +2033,10 @@ (.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))) ) @@ -2060,9 +2061,10 @@ (.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))) )