Another frv.cpu update
Nick Clifton
nickc@redhat.com
Thu Aug 21 13:35:00 GMT 2003
Hi Guys,
Attached is another frv.cpu update. This time to allow the
generated simulator sources to compile. I will apply it to both
copies of the file this time!
Cheers
Nick
cpu/ChangeLog & cgen/ChangeLog
2003-08-21 Nick Clifton <nickc@redhat.com>
* cpu/frv.cpu (mbtoh): Replace input parameter to
u-media-dual-expand and u-media-dual-btoh with output parameter.
(cmbtoh): Add profiling hack.
Index: cpu/frv.cpu
===================================================================
RCS file: /cvs/src/src/cpu/frv.cpu,v
retrieving revision 1.5
diff -c -3 -p -r1.5 frv.cpu
*** cpu/frv.cpu 20 Aug 2003 15:40:02 -0000 1.5
--- cpu/frv.cpu 21 Aug 2003 13:29:32 -0000
***************
*** 7962,7970 ****
(set FRintkeven (c-raw-call SI "frv_ref_SI" FRintkeven))
(mbtoh-semantics 1))
((fr400 (unit u-media-dual-expand
! (in FRinti FRintieven)))
(fr500 (unit u-media-dual-btoh
! (in FRinti FRintieven))))
)
(dni cmbtoh
--- 7962,7970 ----
(set FRintkeven (c-raw-call SI "frv_ref_SI" FRintkeven))
(mbtoh-semantics 1))
((fr400 (unit u-media-dual-expand
! (out FRintk FRintkeven)))
(fr500 (unit u-media-dual-btoh
! (out FRintk FRintkeven))))
)
(dni cmbtoh
***************
*** 7972,7978 ****
((UNIT FM01) (FR500-MAJOR M-2) (FR400-MAJOR M-2) CONDITIONAL)
"cmbtoh$pack $FRintj,$FRintkeven,$CCi,$cond"
(+ pack FRintkeven OP_77 (FRi-null) CCi cond OPE4_0 FRintj)
! (mbtoh-semantics (eq CCi (or cond 2)))
((fr400 (unit u-media-dual-expand
(out FRintk FRintkeven)))
(fr500 (unit u-media-dual-btoh
--- 7972,7982 ----
((UNIT FM01) (FR500-MAJOR M-2) (FR400-MAJOR M-2) CONDITIONAL)
"cmbtoh$pack $FRintj,$FRintkeven,$CCi,$cond"
(+ pack FRintkeven OP_77 (FRi-null) CCi cond OPE4_0 FRintj)
! (sequence ()
! ; hack to get these referenced for profiling
! (set FRintj (c-raw-call SI "frv_ref_SI" FRintj))
! (set FRintkeven (c-raw-call SI "frv_ref_SI" FRintkeven))
! (mbtoh-semantics (eq CCi (or cond 2))))
((fr400 (unit u-media-dual-expand
(out FRintk FRintkeven)))
(fr500 (unit u-media-dual-btoh
More information about the Binutils
mailing list