(mbtoh): Replace input parameter to u-media-dual-expand and u-media-dual-btoh
authorNick Clifton <nickc@redhat.com>
Thu, 21 Aug 2003 13:37:01 +0000 (13:37 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 21 Aug 2003 13:37:01 +0000 (13:37 +0000)
with output parameter.
(cmbtoh): Add profiling hack.

cpu/ChangeLog
cpu/frv.cpu

index 5ac9160..14e5299 100644 (file)
@@ -1,3 +1,9 @@
+2003-08-21  Nick Clifton  <nickc@redhat.com>
+
+       * frv.cpu (mbtoh): Replace input parameter to u-media-dual-expand
+       and u-media-dual-btoh with output parameter.
+       (cmbtoh): Add profiling hack.
+
 2003-08-19  Michael Snyder  <msnyder@redhat.com>
 
        * frv.cpu: Fix typo, Frintkeven -> FRintkeven
index 312badd..86eb067 100644 (file)
               (set FRintkeven (c-raw-call SI "frv_ref_SI" FRintkeven))
               (mbtoh-semantics 1))
      ((fr400 (unit u-media-dual-expand
-                  (in FRinti FRintieven)))
+                  (out FRintk FRintkeven)))
       (fr500 (unit u-media-dual-btoh
-                  (in FRinti FRintieven))))
+                  (out FRintk FRintkeven))))
 )
 
 (dni cmbtoh
      ((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)))
+     (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