+2007-10-22 Hans-Peter Nilsson <hp@axis.com>
+
+ * cris.cpu (movs, movu): Use result of extension operation when
+ updating flags.
+
2007-07-04 Nick Clifton <nickc@redhat.com>
* cris.cpu: Update copyright notice to refer to GPLv3.
(.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)))
)
(.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)))
)