aboutsummaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
Diffstat (limited to 'cpu')
-rw-r--r--cpu/ChangeLog5
-rw-r--r--cpu/frv.cpu8
2 files changed, 9 insertions, 4 deletions
diff --git a/cpu/ChangeLog b/cpu/ChangeLog
index bef4ff8..36bbc29 100644
--- a/cpu/ChangeLog
+++ b/cpu/ChangeLog
@@ -1,3 +1,8 @@
+2003-06-03 Nick Clifton <nickc@redhat.com>
+
+ * frv.cpu (media-dual-word-rotate-r-r): Use a signed 6-bit
+ immediate value not unsigned.
+
2003-06-03 Andrew Cagney <cagney@redhat.com>
Contributed by Red Hat.
diff --git a/cpu/frv.cpu b/cpu/frv.cpu
index 82a8817..6367737 100644
--- a/cpu/frv.cpu
+++ b/cpu/frv.cpu
@@ -6660,16 +6660,16 @@
(dni name
(comment)
((UNIT FM0) (MACH fr400) (FR400-MAJOR M-2))
- (.str name "$pack $FRinti,$u6,$FRintk")
- (+ pack FRintk op FRinti ope u6)
+ (.str name "$pack $FRinti,$s6,$FRintk")
+ (+ pack FRintk op FRinti ope s6)
(if (orif (register-unaligned FRinti 2)
(register-unaligned FRintk 2))
(c-call VOID "@cpu@_media_register_not_aligned")
(sequence ()
- (set FRintk (operation FRinti (and u6 #x1f)))
+ (set FRintk (operation FRinti (and s6 #x1f)))
(set (nextreg h-fr_int FRintk 1)
(operation (nextreg h-fr_int FRinti 1)
- (and u6 #x1f)))))
+ (and s6 #x1f)))))
((fr400 (unit u-media-3-quad)))
)
)