* cris.cpu (movs, movu): Use result of extension operation when
updating flags.
This commit is contained in:
parent
f88e9fd315
commit
a69f60de1a
@ -1,3 +1,8 @@
|
||||
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.
|
||||
|
14
cpu/cris.cpu
14
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)))
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user