aboutsummaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2003-08-21 13:37:01 +0000
committerNick Clifton <nickc@redhat.com>2003-08-21 13:37:01 +0000
commit6d9ab561ef765487e380bbee76fc4f6d5a3a2299 (patch)
treec12e845c1d29b1f7f7f83017fa80f14148ad0781 /cpu
parentd2cc0e0dd38f7a103a1aa5fb21ef57d4f6bb4792 (diff)
downloadfsf-binutils-gdb-6d9ab561ef765487e380bbee76fc4f6d5a3a2299.zip
fsf-binutils-gdb-6d9ab561ef765487e380bbee76fc4f6d5a3a2299.tar.gz
fsf-binutils-gdb-6d9ab561ef765487e380bbee76fc4f6d5a3a2299.tar.bz2
(mbtoh): Replace input parameter to u-media-dual-expand and u-media-dual-btoh
with output parameter. (cmbtoh): Add profiling hack.
Diffstat (limited to 'cpu')
-rw-r--r--cpu/ChangeLog6
-rw-r--r--cpu/frv.cpu10
2 files changed, 13 insertions, 3 deletions
diff --git a/cpu/ChangeLog b/cpu/ChangeLog
index 5ac9160..14e5299 100644
--- a/cpu/ChangeLog
+++ b/cpu/ChangeLog
@@ -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
diff --git a/cpu/frv.cpu b/cpu/frv.cpu
index 312badd..86eb067 100644
--- a/cpu/frv.cpu
+++ b/cpu/frv.cpu
@@ -7962,9 +7962,9 @@
(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
@@ -7972,7 +7972,11 @@
((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