summaryrefslogtreecommitdiffstats
path: root/cpu/cris.cpu
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/cris.cpu')
-rw-r--r--cpu/cris.cpu14
1 files changed, 8 insertions, 6 deletions
diff --git a/cpu/cris.cpu b/cpu/cris.cpu
index 2bb74dde82..633abc0e12 100644
--- a/cpu/cris.cpu
+++ b/cpu/cris.cpu
@@ -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)))
)
OpenPOWER on IntegriCloud