aboutsummaryrefslogtreecommitdiff
path: root/cpu/frv.cpu
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2003-06-03 17:15:25 +0000
committerNick Clifton <nickc@redhat.com>2003-06-03 17:15:25 +0000
commit7579829884ab4340f4b6980e10c3797d9ed30294 (patch)
treef2d691642d399adbf6b7e9d7389ba66bd664e555 /cpu/frv.cpu
parent27b1cc72b802ba6055e2c2929f7089375568939f (diff)
downloadgdb-7579829884ab4340f4b6980e10c3797d9ed30294.zip
gdb-7579829884ab4340f4b6980e10c3797d9ed30294.tar.gz
gdb-7579829884ab4340f4b6980e10c3797d9ed30294.tar.bz2
FRV: Use a signed 6-bit immediate value not unsigned for mdrotli insn.
Use maintainer mode to regenerate ports.
Diffstat (limited to 'cpu/frv.cpu')
-rw-r--r--cpu/frv.cpu8
1 files changed, 4 insertions, 4 deletions
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)))
)
)